Skip to content

Commit

Permalink
cleanup stuff and add styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ewangler committed Apr 7, 2024
1 parent 5b7231f commit fa5f390
Show file tree
Hide file tree
Showing 27 changed files with 61 additions and 24 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ yarn-error.log*

# vercel
.vercel

dist/
2 changes: 1 addition & 1 deletion .tina/__generated__/client.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Akomj
key: AKom
name: 'AKom, CoFor, CommForm'
type: organization
links:
- url: 'https://db.scout.ch/de/groups/9292'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: BKom
key: BKom
name: 'BKom, CoEnc, CommAcc'
type: organization
links:
- url: 'https://db.scout.ch/de/groups/9293'
Expand Down
1 change: 1 addition & 0 deletions content/party/Cosinus.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
key: Cosinus
name: Cosinus
pbsNumber: 9415
type: person
3 changes: 2 additions & 1 deletion content/party/Digio-AG.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
name: Digio AG
name: Digio
key: 'Digio AG'
type: organization
2 changes: 0 additions & 2 deletions content/party/Entwicklungsteam-eCamp-v3.yaml

This file was deleted.

1 change: 1 addition & 0 deletions content/party/Filou.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Filou
key: Filou
pbsNumber: 9422
type: person
links:
Expand Down
1 change: 1 addition & 0 deletions content/party/Folletta.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
key: Folletta
name: Folletta
pbsNumber: 15778
type: person
3 changes: 3 additions & 0 deletions content/party/GSPBS.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
key: GSPBS
name: 'Geschäftsstelle PBS, Secrétariat général, Segretariato generale MSS '
type: organization
2 changes: 0 additions & 2 deletions content/party/Geschftsstelle-PBS-.yaml

This file was deleted.

1 change: 1 addition & 0 deletions content/party/ITKom.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
key: ITKom
name: ITKom
type: organization
1 change: 1 addition & 0 deletions content/party/Kodack.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
key: Kodack
name: Kodack
pbsNumber: 13400
type: person
1 change: 1 addition & 0 deletions content/party/Olipo.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
key: Olipo
name: Olipo
pbsNumber: 64310
type: person
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: ProjektgruppKursundLagerplanungstool
key: PGKursundLagerplanungstool
name: 'Projektgruppe: Kurs- und Lagerplanungstool'
pbsNumber: 9856
type: organization
links:
Expand Down
3 changes: 2 additions & 1 deletion content/party/Puzzle-ITC.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: PuzzleITC
key: PuzzleITC
name: 'Puzzle ITC'
type: organization
links:
- url: 'https://github.com/puzzle'
Expand Down
1 change: 1 addition & 0 deletions content/party/Qube.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
key: Qube
name: Qube
type: organization
links:
Expand Down
1 change: 1 addition & 0 deletions content/party/Safari.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
key: Safari
name: Safari
pbsNumber: 94518
type: person
3 changes: 2 additions & 1 deletion content/party/Team-MiData.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
name: TeamMiData
key: TeamMiData
name: 'Team MiData'
type: organization
3 changes: 3 additions & 0 deletions content/party/eCampv3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
key: eCampv3
name: 'Entwicklungsteam eCamp v3'
type: organization
2 changes: 1 addition & 1 deletion content/service/Cudeschin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ has_sla: false
product_owner: content/party/Kodack.yaml
additional_information: ''
involved_parties:
- party: content/party/AKom--CoFor--CommForm.yaml
- party: content/party/AKom.yaml
description: Betreuung
lifecycle:
- state: in_production
Expand Down
2 changes: 1 addition & 1 deletion content/service/HealthCheck.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: HealthCheck
product_owner: ''
involved_parties:
- party: content/party/BKom--CoEnc--CommAcc.yaml
- party: content/party/BKom.yaml
description: Betreuung
has_sla: true
description: >
Expand Down
2 changes: 1 addition & 1 deletion content/service/Hering.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ links:
has_sla: false
additional_information: ''
involved_parties:
- party: content/party/Geschftsstelle-PBS-.yaml
- party: content/party/GSPBS.yaml
description: Inhaltliche Verantwortung
- party: content/party/Folletta.yaml
description: Umsetzung
Expand Down
2 changes: 1 addition & 1 deletion content/service/eCamp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ strategy_reference: |
involved_parties:
- party: content/party/ITKom.yaml
description: Betreuung
- party: content/party/Projektgruppe-Kurs--und-Lagerplanungstool.yaml
- party: content/party/eCampv3.yaml
description: Betreuung
has_sla: false
tech_stack:
Expand Down
16 changes: 12 additions & 4 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,22 @@ const services = serviceEdges.map((service: ServiceConnectionEdges) => {
}
});
---
<style>
tr:nth-child(even) {
background-color: rgba(82, 29, 58, 0.2);
}
</style>

<Layout title="Services">
<main class="container mx-auto p-5 text-lg">
<h1 class="mb-4 mt-5 text-4xl font-extrabold leading-none tracking-tight md:text-5xl lg:text-6xl text-neutral-800">
Services
</h1>
<table cellpadding="5">
<thead>
<table cellpadding="7" class="w-full table-auto">
<thead style={{
fontWeight: 'bolder',
borderBottom: '2px solid',
}}>
<tr>
<td>Name</td>
<td>Status</td>
Expand All @@ -40,8 +48,8 @@ const services = serviceEdges.map((service: ServiceConnectionEdges) => {
{services?.map((service) => <tr>
<td>
<a class="text-brombeer hover:underscore" href={`/it-landscape/services/${service.name}`}>
{service.name}
</a>
{service.name}
</a>
</td>
<td>
<span class="bg-green-100 text-green-800 text-xs font-medium mr-2 px-2.5 py-0.5 rounded">{service.status}</span>
Expand Down
3 changes: 3 additions & 0 deletions src/pages/services/[name].astro
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ const lastUpdatedValue: string = service?.last_updated ? new Date(service.last_u

<Layout title={service?.name || ""}>
<main class="container mx-auto py-10">
<a class="text-brombeer hover:underscore" href={'/it-landscape/'}>
back
</a>
<article class="bg-white shadow-md rounded-xl p-10 max-w-4xl mx-auto">
<h1 class="text-5xl font-extrabold">{service?.name}</h1>
<span class="block text-sm mb-3"
Expand Down
18 changes: 13 additions & 5 deletions src/pages/services/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,22 @@ const services = serviceEdges.map((service: ServiceConnectionEdges) => {
}
});
---
<style>
tr:nth-child(even) {
background-color: rgba(82, 29, 58, 0.2);
}
</style>

<Layout title="Services">
<main class="container mx-auto p-5 text-lg">
<h1 class="mb-4 mt-5 text-4xl font-extrabold leading-none tracking-tight md:text-5xl lg:text-6xl text-neutral-800">
Services
</h1>
<table cellpadding="5">
<thead>
<table cellpadding="7" class="w-full table-auto">
<thead style={{
fontWeight: 'bolder',
borderBottom: '2px solid',
}}>
<tr>
<td>Name</td>
<td>Status</td>
Expand All @@ -40,11 +48,11 @@ const services = serviceEdges.map((service: ServiceConnectionEdges) => {
{services?.map((service) => <tr>
<td>
<a class="text-brombeer hover:underscore" href={`/it-landscape/services/${service.name}`}>
{service.name}
</a>
{service.name}
</a>
</td>
<td>
{service.status}
<span class="bg-green-100 text-green-800 text-xs font-medium mr-2 px-2.5 py-0.5 rounded">{service.status}</span>
</td>
<td>
{service.product_owner}
Expand Down

0 comments on commit fa5f390

Please sign in to comment.