From fa5f3902c28cc2e20834c0ad398ae3d398fdcc31 Mon Sep 17 00:00:00 2001 From: Emily Wangler Date: Sun, 7 Apr 2024 12:03:33 +0200 Subject: [PATCH] cleanup stuff and add styling --- .gitignore | 2 ++ .tina/__generated__/client.d.ts | 2 +- .../{AKom--CoFor--CommForm.yaml => AKom.yaml} | 3 ++- .../{BKom--CoEnc--CommAcc.yaml => BKom.yaml} | 3 ++- content/party/Cosinus.yaml | 1 + content/party/Digio-AG.yaml | 3 ++- content/party/Entwicklungsteam-eCamp-v3.yaml | 2 -- content/party/Filou.yaml | 1 + content/party/Folletta.yaml | 1 + content/party/GSPBS.yaml | 3 +++ content/party/Geschftsstelle-PBS-.yaml | 2 -- content/party/ITKom.yaml | 1 + content/party/Kodack.yaml | 1 + content/party/Olipo.yaml | 1 + ...ol.yaml => PGKursundLagerplanungstool.yaml} | 3 ++- content/party/Puzzle-ITC.yaml | 3 ++- content/party/Qube.yaml | 1 + content/party/Safari.yaml | 1 + content/party/Team-MiData.yaml | 3 ++- content/party/eCampv3.yaml | 3 +++ content/service/Cudeschin.yaml | 2 +- content/service/HealthCheck.yaml | 2 +- content/service/Hering.yaml | 2 +- content/service/eCamp.yaml | 2 +- src/pages/index.astro | 16 ++++++++++++---- src/pages/services/[name].astro | 3 +++ src/pages/services/index.astro | 18 +++++++++++++----- 27 files changed, 61 insertions(+), 24 deletions(-) rename content/party/{AKom--CoFor--CommForm.yaml => AKom.yaml} (75%) rename content/party/{BKom--CoEnc--CommAcc.yaml => BKom.yaml} (75%) delete mode 100644 content/party/Entwicklungsteam-eCamp-v3.yaml create mode 100644 content/party/GSPBS.yaml delete mode 100644 content/party/Geschftsstelle-PBS-.yaml rename content/party/{Projektgruppe-Kurs--und-Lagerplanungstool.yaml => PGKursundLagerplanungstool.yaml} (62%) create mode 100644 content/party/eCampv3.yaml diff --git a/.gitignore b/.gitignore index 74b7586..6a38e16 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ yarn-error.log* # vercel .vercel + +dist/ \ No newline at end of file diff --git a/.tina/__generated__/client.d.ts b/.tina/__generated__/client.d.ts index c19a678..e352cc9 100644 --- a/.tina/__generated__/client.d.ts +++ b/.tina/__generated__/client.d.ts @@ -1,5 +1,5 @@ import { createClient } from "tinacms/dist/client"; import { queries } from "./types"; -export const client = createClient({ url: 'http://localhost:4001/graphql', token: '524c9323c760147cbd9b3b7be2bff0c88ee26ac7', queries, }); +export const client = createClient({ url: 'http://localhost:4001/graphql', token: 'unknown', queries, }); export default client; \ No newline at end of file diff --git a/content/party/AKom--CoFor--CommForm.yaml b/content/party/AKom.yaml similarity index 75% rename from content/party/AKom--CoFor--CommForm.yaml rename to content/party/AKom.yaml index 7705450..66633b6 100644 --- a/content/party/AKom--CoFor--CommForm.yaml +++ b/content/party/AKom.yaml @@ -1,4 +1,5 @@ -name: Akomj +key: AKom +name: 'AKom, CoFor, CommForm' type: organization links: - url: 'https://db.scout.ch/de/groups/9292' diff --git a/content/party/BKom--CoEnc--CommAcc.yaml b/content/party/BKom.yaml similarity index 75% rename from content/party/BKom--CoEnc--CommAcc.yaml rename to content/party/BKom.yaml index 3b234fd..5f77032 100644 --- a/content/party/BKom--CoEnc--CommAcc.yaml +++ b/content/party/BKom.yaml @@ -1,4 +1,5 @@ -name: BKom +key: BKom +name: 'BKom, CoEnc, CommAcc' type: organization links: - url: 'https://db.scout.ch/de/groups/9293' diff --git a/content/party/Cosinus.yaml b/content/party/Cosinus.yaml index 8eae94e..7add5d6 100644 --- a/content/party/Cosinus.yaml +++ b/content/party/Cosinus.yaml @@ -1,3 +1,4 @@ +key: Cosinus name: Cosinus pbsNumber: 9415 type: person diff --git a/content/party/Digio-AG.yaml b/content/party/Digio-AG.yaml index a4af7e9..5b1115e 100644 --- a/content/party/Digio-AG.yaml +++ b/content/party/Digio-AG.yaml @@ -1,2 +1,3 @@ -name: Digio AG +name: Digio +key: 'Digio AG' type: organization diff --git a/content/party/Entwicklungsteam-eCamp-v3.yaml b/content/party/Entwicklungsteam-eCamp-v3.yaml deleted file mode 100644 index 7b79e10..0000000 --- a/content/party/Entwicklungsteam-eCamp-v3.yaml +++ /dev/null @@ -1,2 +0,0 @@ -name: eCampv3 -type: organization diff --git a/content/party/Filou.yaml b/content/party/Filou.yaml index dbe80b0..4cdacaf 100644 --- a/content/party/Filou.yaml +++ b/content/party/Filou.yaml @@ -1,4 +1,5 @@ name: Filou +key: Filou pbsNumber: 9422 type: person links: diff --git a/content/party/Folletta.yaml b/content/party/Folletta.yaml index 9b0790c..33fdfeb 100644 --- a/content/party/Folletta.yaml +++ b/content/party/Folletta.yaml @@ -1,3 +1,4 @@ +key: Folletta name: Folletta pbsNumber: 15778 type: person diff --git a/content/party/GSPBS.yaml b/content/party/GSPBS.yaml new file mode 100644 index 0000000..6d3d5da --- /dev/null +++ b/content/party/GSPBS.yaml @@ -0,0 +1,3 @@ +key: GSPBS +name: 'Geschäftsstelle PBS, Secrétariat général, Segretariato generale MSS ' +type: organization diff --git a/content/party/Geschftsstelle-PBS-.yaml b/content/party/Geschftsstelle-PBS-.yaml deleted file mode 100644 index 3d7615b..0000000 --- a/content/party/Geschftsstelle-PBS-.yaml +++ /dev/null @@ -1,2 +0,0 @@ -name: GeschäftsstellePBS -type: organization diff --git a/content/party/ITKom.yaml b/content/party/ITKom.yaml index b46a30b..d87ec7f 100644 --- a/content/party/ITKom.yaml +++ b/content/party/ITKom.yaml @@ -1,2 +1,3 @@ +key: ITKom name: ITKom type: organization diff --git a/content/party/Kodack.yaml b/content/party/Kodack.yaml index 4a681f6..17bc792 100644 --- a/content/party/Kodack.yaml +++ b/content/party/Kodack.yaml @@ -1,3 +1,4 @@ +key: Kodack name: Kodack pbsNumber: 13400 type: person diff --git a/content/party/Olipo.yaml b/content/party/Olipo.yaml index 6009790..e613768 100644 --- a/content/party/Olipo.yaml +++ b/content/party/Olipo.yaml @@ -1,3 +1,4 @@ +key: Olipo name: Olipo pbsNumber: 64310 type: person diff --git a/content/party/Projektgruppe-Kurs--und-Lagerplanungstool.yaml b/content/party/PGKursundLagerplanungstool.yaml similarity index 62% rename from content/party/Projektgruppe-Kurs--und-Lagerplanungstool.yaml rename to content/party/PGKursundLagerplanungstool.yaml index 5bc573f..cb15831 100644 --- a/content/party/Projektgruppe-Kurs--und-Lagerplanungstool.yaml +++ b/content/party/PGKursundLagerplanungstool.yaml @@ -1,4 +1,5 @@ -name: ProjektgruppKursundLagerplanungstool +key: PGKursundLagerplanungstool +name: 'Projektgruppe: Kurs- und Lagerplanungstool' pbsNumber: 9856 type: organization links: diff --git a/content/party/Puzzle-ITC.yaml b/content/party/Puzzle-ITC.yaml index a3acc02..e792def 100644 --- a/content/party/Puzzle-ITC.yaml +++ b/content/party/Puzzle-ITC.yaml @@ -1,4 +1,5 @@ -name: PuzzleITC +key: PuzzleITC +name: 'Puzzle ITC' type: organization links: - url: 'https://github.com/puzzle' diff --git a/content/party/Qube.yaml b/content/party/Qube.yaml index 5bf5588..825e22a 100644 --- a/content/party/Qube.yaml +++ b/content/party/Qube.yaml @@ -1,3 +1,4 @@ +key: Qube name: Qube type: organization links: diff --git a/content/party/Safari.yaml b/content/party/Safari.yaml index 14b9847..45992c8 100644 --- a/content/party/Safari.yaml +++ b/content/party/Safari.yaml @@ -1,3 +1,4 @@ +key: Safari name: Safari pbsNumber: 94518 type: person diff --git a/content/party/Team-MiData.yaml b/content/party/Team-MiData.yaml index 1029342..d2657c1 100644 --- a/content/party/Team-MiData.yaml +++ b/content/party/Team-MiData.yaml @@ -1,2 +1,3 @@ -name: TeamMiData +key: TeamMiData +name: 'Team MiData' type: organization diff --git a/content/party/eCampv3.yaml b/content/party/eCampv3.yaml new file mode 100644 index 0000000..1127456 --- /dev/null +++ b/content/party/eCampv3.yaml @@ -0,0 +1,3 @@ +key: eCampv3 +name: 'Entwicklungsteam eCamp v3' +type: organization diff --git a/content/service/Cudeschin.yaml b/content/service/Cudeschin.yaml index 961a177..f05c06f 100644 --- a/content/service/Cudeschin.yaml +++ b/content/service/Cudeschin.yaml @@ -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 diff --git a/content/service/HealthCheck.yaml b/content/service/HealthCheck.yaml index af2517b..e61962d 100644 --- a/content/service/HealthCheck.yaml +++ b/content/service/HealthCheck.yaml @@ -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: > diff --git a/content/service/Hering.yaml b/content/service/Hering.yaml index 5044829..e930a94 100644 --- a/content/service/Hering.yaml +++ b/content/service/Hering.yaml @@ -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 diff --git a/content/service/eCamp.yaml b/content/service/eCamp.yaml index 0182eaf..2a37b69 100644 --- a/content/service/eCamp.yaml +++ b/content/service/eCamp.yaml @@ -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: diff --git a/src/pages/index.astro b/src/pages/index.astro index a77a759..c1cc7c4 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -22,14 +22,22 @@ const services = serviceEdges.map((service: ServiceConnectionEdges) => { } }); --- +

Services

- - +
+ @@ -40,8 +48,8 @@ const services = serviceEdges.map((service: ServiceConnectionEdges) => { {services?.map((service) =>
Name Status
- {service.name} - + {service.name} + {service.status} diff --git a/src/pages/services/[name].astro b/src/pages/services/[name].astro index 34d8524..b8bce93 100644 --- a/src/pages/services/[name].astro +++ b/src/pages/services/[name].astro @@ -74,6 +74,9 @@ const lastUpdatedValue: string = service?.last_updated ? new Date(service.last_u
+ + back +

{service?.name}

{ } }); --- +

Services

- - +
+ @@ -40,11 +48,11 @@ const services = serviceEdges.map((service: ServiceConnectionEdges) => { {services?.map((service) =>
Name Status
- {service.name} - + {service.name} + - {service.status} + {service.status} {service.product_owner}