From 9d34fa02dfcba2c8b9e14a7f19f196c36a9a8751 Mon Sep 17 00:00:00 2001 From: danji90 Date: Mon, 1 Sep 2025 18:01:04 +0200 Subject: [PATCH 1/5] chore: update config.yml --- public/config.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/public/config.yml b/public/config.yml index de6a9a79..06315ab1 100644 --- a/public/config.yml +++ b/public/config.yml @@ -637,3 +637,48 @@ collections: widget: "number" required: true hint: "Position im Karussell." + + - label: "Cases" + name: "cases" + description: "Bilder und Texte für die Referenzprojekte, unter geops.com/cases zu finden." + folder: "content/cases" + media_folder: "/public/images/cases/{{slug}}" + public_folder: "/images/cases/{{slug}}" + preview_path: "en/cases" + create: true + i18n: true + slug: "{{fields.slug}}" + fields: + - label: "Title" + name: "title" + widget: "string" + i18n: true + - label: "Customer" + name: "customer" + widget: "string" + i18n: true + - label: "Service" + name: "service" + widget: "string" + i18n: true + - label: "Timeline" + name: "timeline" + widget: "string" + - label: "Content" + name: "body" + hint: 'Text für den Artikel. Bitte H2 für die erste und H3 für weitere Überschriften verwenden. Bilder die auf Desktop oder Mobil (Bildschirm kleiner 1024 Pixel) unterschiedlich dargestellt werden sollen, können mit **** eingebunden werden.' + widget: "markdown" + i18n: true + - name: 'testimonial' + label: 'Testimonial' + description: 'Author descriptions' + required: false + widget: object + fields: + - name: testimonials + label: Testimonials + label_singular: 'Testimonial' + widget: list + fields: + - { label: 'Name', name: 'name', widget: 'string', hint: 'First and Last' } + - { label: 'Text', name: 'text', widget: 'markdown' } \ No newline at end of file From b8036f96fdcda099c5950a29eef26e3de7b7d9c6 Mon Sep 17 00:00:00 2001 From: danji90 Date: Tue, 2 Sep 2025 10:25:50 +0200 Subject: [PATCH 2/5] chore: try use preview url in config.yml --- public/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/config.yml b/public/config.yml index 06315ab1..8cef4e97 100644 --- a/public/config.yml +++ b/public/config.yml @@ -2,7 +2,7 @@ backend: name: github repo: geops/website branch: main - base_url: https://geops.com/ + base_url: https://website-git-daniel-addcmsforcases-geops.vercel.app/ auth_endpoint: api/auth #name: git-gateway From e62771badd8215c4f6c7d33729b2c82f8a98bbbe Mon Sep 17 00:00:00 2001 From: danji90 Date: Tue, 2 Sep 2025 12:07:07 +0200 Subject: [PATCH 3/5] chore: revert auth url --- public/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/config.yml b/public/config.yml index 8cef4e97..06315ab1 100644 --- a/public/config.yml +++ b/public/config.yml @@ -2,7 +2,7 @@ backend: name: github repo: geops/website branch: main - base_url: https://website-git-daniel-addcmsforcases-geops.vercel.app/ + base_url: https://geops.com/ auth_endpoint: api/auth #name: git-gateway From 49271313b110ee2ba74e7e2174b89dd188d0ec82 Mon Sep 17 00:00:00 2001 From: danji90 Date: Wed, 3 Sep 2025 11:36:02 +0200 Subject: [PATCH 4/5] chore: try ommitting base_url param --- public/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/config.yml b/public/config.yml index 06315ab1..2617bc80 100644 --- a/public/config.yml +++ b/public/config.yml @@ -2,7 +2,7 @@ backend: name: github repo: geops/website branch: main - base_url: https://geops.com/ + # base_url: https://geops.com/ auth_endpoint: api/auth #name: git-gateway From 737df19b53bff9492d375440fa6e6984c5fb870c Mon Sep 17 00:00:00 2001 From: danji90 Date: Thu, 4 Sep 2025 13:26:47 +0200 Subject: [PATCH 5/5] chore: readd base_url --- public/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/config.yml b/public/config.yml index 2617bc80..06315ab1 100644 --- a/public/config.yml +++ b/public/config.yml @@ -2,7 +2,7 @@ backend: name: github repo: geops/website branch: main - # base_url: https://geops.com/ + base_url: https://geops.com/ auth_endpoint: api/auth #name: git-gateway