From 16ac893b666290cdb1b830b5e8294fb0268d30af Mon Sep 17 00:00:00 2001 From: Fabian Pahl Date: Sat, 26 Oct 2024 17:43:01 +0200 Subject: [PATCH] refactor: remove partials --- app/Data/LayoutModules/TestimonialsData.php | 2 +- .../Components/LayoutModules/LogoWall.php | 2 +- app/View/Components/LayoutModules/Quote.php | 2 +- content/collections/clients/a-cold-wall.md | 3 +- content/collections/clients/avacon.md | 1 - content/collections/clients/bayer.md | 1 - content/collections/clients/butlers.md | 1 - .../collections/clients/deutsche-telekom.md | 1 - content/collections/clients/elbjazz.md | 1 - .../collections/clients/ensemble-resonanz.md | 1 - content/collections/clients/fiege-logistik.md | 1 - content/collections/clients/gruner-jahr.md | 1 - content/collections/clients/hb-fuller.md | 3 +- content/collections/clients/kumi-health.md | 3 +- content/collections/clients/maklaro.md | 3 +- content/collections/clients/mercedes-benz.md | 1 - .../clients/miniatur-wunderland.md | 1 - content/collections/clients/peta.md | 1 - content/collections/clients/prokon.md | 1 - .../clients/reeperbahn-festival.md | 1 - content/collections/clients/schaeffler.md | 1 - content/collections/clients/snap-inc.md | 1 - content/collections/clients/sportfive.md | 1 - content/collections/clients/thalia-theater.md | 1 - content/collections/clients/upsolut-sports.md | 1 - content/collections/pages/home.md | 178 +----------------- content/trees/collections/pages.yaml | 4 +- .../collections/clients/client.yaml | 7 +- resources/fieldsets/page_header.yaml | 16 +- resources/views/components/layout.blade.php | 14 +- .../components/layout/page-header.blade.php | 15 +- resources/views/partials/_head.antlers.html | 15 -- resources/views/partials/_tail.blade.php | 1 - .../views/partials/head/_styles.antlers.html | 5 - 34 files changed, 49 insertions(+), 242 deletions(-) delete mode 100644 resources/views/partials/_head.antlers.html delete mode 100644 resources/views/partials/_tail.blade.php delete mode 100644 resources/views/partials/head/_styles.antlers.html diff --git a/app/Data/LayoutModules/TestimonialsData.php b/app/Data/LayoutModules/TestimonialsData.php index c7af0bcc..a5ed5c89 100644 --- a/app/Data/LayoutModules/TestimonialsData.php +++ b/app/Data/LayoutModules/TestimonialsData.php @@ -34,7 +34,7 @@ public static function fromContext(Values $context): self author_name: $testimonial->author->title, author_job_title: $testimonial->author->job_title, client_logo: $testimonial->author->client->augmentedValue('logo'), - client_url: $testimonial->author->client->client_url, + client_url: $testimonial->author->client->url, ); } diff --git a/app/View/Components/LayoutModules/LogoWall.php b/app/View/Components/LayoutModules/LogoWall.php index cb47462a..f278160e 100644 --- a/app/View/Components/LayoutModules/LogoWall.php +++ b/app/View/Components/LayoutModules/LogoWall.php @@ -67,7 +67,7 @@ private function convertClient(Entry $client): array { // dd($client->get('title'), $client->get('logo'), $client->augmentedValue('logo')->value(), $client->logo); $title = $client->get('title'); - $url = $client->get('client_url'); + $url = $client->get('url'); // $logo = $client->augmentedValue('logo')->value(); $logo = $client->get('logo'); diff --git a/app/View/Components/LayoutModules/Quote.php b/app/View/Components/LayoutModules/Quote.php index 4ad0a214..cc73c394 100644 --- a/app/View/Components/LayoutModules/Quote.php +++ b/app/View/Components/LayoutModules/Quote.php @@ -19,7 +19,7 @@ public function augmentData(): array if ($client = $this->context['author']->client) { $quote_data = array_merge($quote_data, [ - 'client_url' => $client->client_url, + 'client_url' => $client->url, 'client_logo' => '/icons/logos/'.$client->get('logo'), 'client' => $client, ]); diff --git a/content/collections/clients/a-cold-wall.md b/content/collections/clients/a-cold-wall.md index f00c87b3..acc2a873 100644 --- a/content/collections/clients/a-cold-wall.md +++ b/content/collections/clients/a-cold-wall.md @@ -3,8 +3,7 @@ id: 825ad067-352d-4721-9adf-3fd577facc0b blueprint: client title: 'A-COLD-WALL*' url: 'https://a-cold-wall.com' +logo: a-cold-wall updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081447 -logo: a-cold-wall -client_url: 'https://a-cold-wall.com/' --- diff --git a/content/collections/clients/avacon.md b/content/collections/clients/avacon.md index 54c33865..38bafcf2 100644 --- a/content/collections/clients/avacon.md +++ b/content/collections/clients/avacon.md @@ -6,5 +6,4 @@ url: 'https://www.avacon.de' logo: avacon updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081481 -client_url: 'https://www.avacon.de/de.html' --- diff --git a/content/collections/clients/bayer.md b/content/collections/clients/bayer.md index 2a0ca3d3..9a743d5d 100644 --- a/content/collections/clients/bayer.md +++ b/content/collections/clients/bayer.md @@ -6,5 +6,4 @@ url: 'https://www.bayer.com' logo: bayer updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081507 -client_url: 'https://www.bayer.com' --- diff --git a/content/collections/clients/butlers.md b/content/collections/clients/butlers.md index 9ce2a695..7091b169 100644 --- a/content/collections/clients/butlers.md +++ b/content/collections/clients/butlers.md @@ -6,5 +6,4 @@ url: 'https://www.butlers.com' logo: butlers updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081526 -client_url: 'https://www.butlers.com/' --- diff --git a/content/collections/clients/deutsche-telekom.md b/content/collections/clients/deutsche-telekom.md index 1cd07204..e627dc2c 100644 --- a/content/collections/clients/deutsche-telekom.md +++ b/content/collections/clients/deutsche-telekom.md @@ -6,5 +6,4 @@ url: 'https://www.telekom.com' logo: deutsche-telekom updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081547 -client_url: 'https://www.electronicbeats.net/' --- diff --git a/content/collections/clients/elbjazz.md b/content/collections/clients/elbjazz.md index 9b0e41a4..9e1de79d 100644 --- a/content/collections/clients/elbjazz.md +++ b/content/collections/clients/elbjazz.md @@ -6,5 +6,4 @@ url: 'https://elbjazz.de' logo: elbjazz updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081568 -client_url: 'https://elbjazz.de/en/' --- diff --git a/content/collections/clients/ensemble-resonanz.md b/content/collections/clients/ensemble-resonanz.md index c100850d..741efa02 100644 --- a/content/collections/clients/ensemble-resonanz.md +++ b/content/collections/clients/ensemble-resonanz.md @@ -6,5 +6,4 @@ url: 'https://www.ensembleresonanz.com' logo: ensemble-resonanz updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081581 -client_url: 'https://www.ensembleresonanz.com/' --- diff --git a/content/collections/clients/fiege-logistik.md b/content/collections/clients/fiege-logistik.md index e7771808..299aedd2 100644 --- a/content/collections/clients/fiege-logistik.md +++ b/content/collections/clients/fiege-logistik.md @@ -6,5 +6,4 @@ url: 'https://www.fiege.com' logo: fiege updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081596 -client_url: 'https://fiege.com' --- diff --git a/content/collections/clients/gruner-jahr.md b/content/collections/clients/gruner-jahr.md index 1c69eafe..b1bc00ab 100644 --- a/content/collections/clients/gruner-jahr.md +++ b/content/collections/clients/gruner-jahr.md @@ -6,5 +6,4 @@ url: 'https://guj.de' logo: gruner-und-jahr updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081636 -client_url: 'https://company.rtl.com/de/business-units/overview/rtl-deutschland/unternehmen/gruner-jahr-deutschland-gmbh/' --- diff --git a/content/collections/clients/hb-fuller.md b/content/collections/clients/hb-fuller.md index 858a3678..a4e54fee 100644 --- a/content/collections/clients/hb-fuller.md +++ b/content/collections/clients/hb-fuller.md @@ -3,8 +3,7 @@ id: 57eaf692-c94c-454d-a9cf-aabc4a920c0f blueprint: client title: 'H.B. Fuller' url: 'https://www.hbfuller.com' +logo: hb-fuller updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081658 -logo: hb-fuller -client_url: 'https://www.hbfuller.com' --- diff --git a/content/collections/clients/kumi-health.md b/content/collections/clients/kumi-health.md index aa3d4dd1..26344219 100644 --- a/content/collections/clients/kumi-health.md +++ b/content/collections/clients/kumi-health.md @@ -3,8 +3,7 @@ id: 3e0b26d9-b68f-4142-b994-f160926abd98 blueprint: client title: 'Kumi Health' url: 'https://kumihealth.de' +logo: kumi updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081679 -logo: kumi -client_url: 'https://kumihealth.de/' --- diff --git a/content/collections/clients/maklaro.md b/content/collections/clients/maklaro.md index 96e7de36..12517975 100644 --- a/content/collections/clients/maklaro.md +++ b/content/collections/clients/maklaro.md @@ -3,8 +3,7 @@ id: e1cf77b6-0d15-4dc7-ba94-ac019d078672 blueprint: client title: Maklaro url: 'https://www.maklaro.de' +logo: maklaro updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081700 -logo: maklaro -client_url: 'https://www.maklaro.de/' --- diff --git a/content/collections/clients/mercedes-benz.md b/content/collections/clients/mercedes-benz.md index bde00f0d..60f5fa55 100644 --- a/content/collections/clients/mercedes-benz.md +++ b/content/collections/clients/mercedes-benz.md @@ -6,5 +6,4 @@ url: 'https://www.mercedes-benz.com' logo: mercedes-benz updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081716 -client_url: 'https://mercedes-benz.com' --- diff --git a/content/collections/clients/miniatur-wunderland.md b/content/collections/clients/miniatur-wunderland.md index 13f53613..0e05f2f9 100644 --- a/content/collections/clients/miniatur-wunderland.md +++ b/content/collections/clients/miniatur-wunderland.md @@ -6,5 +6,4 @@ url: 'https://www.miniatur-wunderland.de' logo: miniatur-wunderland updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081800 -client_url: 'https://www.miniatur-wunderland.de/' --- diff --git a/content/collections/clients/peta.md b/content/collections/clients/peta.md index 65e8d944..c0a08b13 100644 --- a/content/collections/clients/peta.md +++ b/content/collections/clients/peta.md @@ -6,5 +6,4 @@ url: 'https://www.peta.org' logo: peta updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081822 -client_url: 'https://www.gemeinsam-fuer-tierrechte.de/' --- diff --git a/content/collections/clients/prokon.md b/content/collections/clients/prokon.md index 270343c7..57eaa2aa 100644 --- a/content/collections/clients/prokon.md +++ b/content/collections/clients/prokon.md @@ -6,5 +6,4 @@ url: 'https://www.prokon.net' logo: prokon updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081841 -client_url: 'https://www.prokon.energy/' --- diff --git a/content/collections/clients/reeperbahn-festival.md b/content/collections/clients/reeperbahn-festival.md index cd82bab0..2874a51a 100644 --- a/content/collections/clients/reeperbahn-festival.md +++ b/content/collections/clients/reeperbahn-festival.md @@ -6,5 +6,4 @@ url: 'https://www.reeperbahnfestival.com' logo: reeperbahn-festival updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081866 -client_url: 'https://www.reeperbahnfestival.com/' --- diff --git a/content/collections/clients/schaeffler.md b/content/collections/clients/schaeffler.md index 0f62458b..ee2a0bfb 100644 --- a/content/collections/clients/schaeffler.md +++ b/content/collections/clients/schaeffler.md @@ -6,5 +6,4 @@ url: 'https://www.schaeffler.com' logo: schaeffler updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081890 -client_url: 'https://www.schaeffler.de/de/' --- diff --git a/content/collections/clients/snap-inc.md b/content/collections/clients/snap-inc.md index 3798dcad..71917306 100644 --- a/content/collections/clients/snap-inc.md +++ b/content/collections/clients/snap-inc.md @@ -6,5 +6,4 @@ url: 'https://snap.com' logo: snap-inc updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081919 -client_url: 'https://snap.com' --- diff --git a/content/collections/clients/sportfive.md b/content/collections/clients/sportfive.md index b5009cf5..851956df 100644 --- a/content/collections/clients/sportfive.md +++ b/content/collections/clients/sportfive.md @@ -6,5 +6,4 @@ url: 'https://sportfive.com' logo: sportfive updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1727776310 -client_url: 'https://sportfive.com' --- diff --git a/content/collections/clients/thalia-theater.md b/content/collections/clients/thalia-theater.md index 0ebb09c8..1d617476 100644 --- a/content/collections/clients/thalia-theater.md +++ b/content/collections/clients/thalia-theater.md @@ -6,5 +6,4 @@ url: 'https://www.thalia-theater.de' logo: thalia-theater updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081941 -client_url: 'https://www.thalia-theater.de/' --- diff --git a/content/collections/clients/upsolut-sports.md b/content/collections/clients/upsolut-sports.md index d5616b62..7e6c9d5b 100644 --- a/content/collections/clients/upsolut-sports.md +++ b/content/collections/clients/upsolut-sports.md @@ -6,5 +6,4 @@ url: 'https://upsolut.de/' logo: upsolut-sports updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 updated_at: 1729081971 -client_url: 'https://upsolut.de/' --- diff --git a/content/collections/pages/home.md b/content/collections/pages/home.md index 6bf2dc41..3fd3ee5d 100644 --- a/content/collections/pages/home.md +++ b/content/collections/pages/home.md @@ -1,177 +1,19 @@ --- -id: 763e6082-7a1f-4da4-994b-68f51aff53e5 +id: fef89197-da0b-444e-bd11-fdc1fabe9820 blueprint: page -title: Startseite -updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37 -updated_at: 1729267674 -layout_modules: - - - id: m2ew1zy2 - overline: 'Meine Overline' - headline: Testimonials - intro_text: 'Die Meinungen unserer Kunden' - testimonials: - - - id: m2ew2fhe - quote: 'Cras justo odio, dapibus ac facilisis in, egestas eget quam. Sed posuere consectetur est at lobortis. Sed posuere consectetur est at lobortis. Etiam porta sem malesuada magna mollis euismod. Maecenas sed diam eget risus varius blandit sit amet non magna. Etiam porta sem malesuada magna mollis euismod.' - author: 2ff9bd4f-9237-40df-9903-bae68767d41d - type: testimonial - enabled: true - - - id: m2ew2rcm - quote: 'Donec ullamcorper nulla non metus auctor fringilla. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vestibulum id ligula porta felis euismod semper. Cras mattis consectetur purus sit amet fermentum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Etiam porta sem malesuada magna mollis euismod.' - author: c876f808-0ea0-4b97-b220-2d0aa5cda863 - type: testimonial - enabled: true - type: testimonials - enabled: true - - - id: m2budkfk - overline: 'Unsere Kunden' - headline: 'Vertrauen und Zusammenarbeit' - intro_text: 'Diese Unternehmen vertrauen auf unsere Expertise, um ihre digitalen Visionen erfolgreich umzusetzen.' - clients: - - 825ad067-352d-4721-9adf-3fd577facc0b - - 65f4bec1-f1bd-4392-8304-02bfd76c84a6 - - 623ec2e5-d971-4c78-ba91-88131f4ed049 - - 9b11926e-08b3-4061-a987-e61a34739051 - - 5ea2dcd9-ba69-46c9-b80d-05cc1ee39f3e - - 397f19e7-0fae-4b86-99c7-2f5da703730d - - b2c34847-17a9-487f-bdaa-cc513aba2e04 - - dfed226e-6457-4bb2-b5b6-98b32fb7eaf6 - - 3fb97b78-7ff5-4ace-9bd8-b2037668b440 - - 57eaf692-c94c-454d-a9cf-aabc4a920c0f - - 3e0b26d9-b68f-4142-b994-f160926abd98 - - e1cf77b6-0d15-4dc7-ba94-ac019d078672 - - f1352951-8235-4e2c-8814-9848530a9698 - - 9485c457-26e6-4e52-bf32-e951b5c2079a - - c8a78e94-5afc-4424-8734-1ff97e9fa716 - type: logo_wall - enabled: true - - - id: m1hwi1k4 - quote: 'Wir brauchten eine Lösung, die es unseren Standortleitern ermöglicht, ohne umständliche Suchprozesse die besten Dienstleister für unsere spezifischen Bedürfnisse schnell und einfach zu finden und zu beauftragen. Da andere Unternehmen vor den gleichen Herausforderungen standen, wurde OPTICERT geschaffen, um genau diese Lücke zu schließen.' - author: 2614919e-60e0-4a09-9b61-c91d78ecccc4 - type: quote - enabled: true - logo: avacon - - - id: m1glzvry - overline: 'Case Studies' - headline: 'Erfolgsgeschichten unserer Kunden' - presentation: sticky_column - enable_head_section: false - enable_tail_section: true - text: - - - type: paragraph - content: - - - type: text - text: 'Erfahre mehr über unsere Projekte und wie wir Unternehmen dabei unterstützt haben, ihre digitalen Herausforderungen zu meistern und innovative Lösungen zu finden.' - tail_elements: - - - id: m1gm0ycg - compilation: all - type: case_study_teaser - enabled: true - type: adaptive_split - enabled: true - - - id: m1hp8kx3 - overline: 'Get the help you need' - headline: 'Support center' - intro_text: 'Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.' - items: - - - id: m1hpapam - headline: 'Sicherheit für Dein Projekt' - icon: lock-closed - text: - - - type: paragraph - content: - - - type: text - text: 'Vermeide Unsicherheiten und gehe mit klaren, durchdachten Projektplänen voran. Unsere Beratung gibt Dir die Sicherheit, dass Dein Projekt von Anfang an auf dem richtigen Weg ist.' - type: info_item - enabled: true - - - id: m1hpbl6t - headline: 'Fokus auf Deine Ziele' - icon: viewfinder-circle - text: - - - type: paragraph - content: - - - type: text - text: 'Wir richten uns nach Deinen Nutzerbedürfnissen und Geschäftsanforderungen, um eine Strategie zu entwickeln, die Dein Team vereint und Produkte schafft, die Deine Kunden begeistern.' - type: info_item - enabled: true - - - id: m1hpdhc2 - headline: 'Nutze unsere Erfahrung' - icon: user-group - text: - - - type: paragraph - content: - - - type: text - text: 'Profitiere von über einem Jahrzehnt Erfahrung in der Gestaltung, Entwicklung und Bereitstellung maßgeschneiderter Softwarelösungen. Mit uns an Deiner Seite bist Du bestens gerüstet, um Deine digitalen Projekte erfolgreich umzusetzen.' - type: info_item - enabled: true - - - id: m1htqgvh - headline: 'Nutzerzentrierte Lösungen' - icon: arrow-down-on-square - text: - - - type: paragraph - content: - - - type: text - text: 'Durch fundierte Nutzerforschung und detaillierte Erkenntnisse stellen wir sicher, dass wir die richtigen Probleme für die richtigen Menschen lösen. So erreichst Du mit Deinem Produkt genau Deine Zielgruppe.' - type: info_item - enabled: true - - - id: m1htsbfv - headline: 'Klare Vision' - icon: fire - text: - - - type: paragraph - content: - - - type: text - text: 'Mit einer klaren Vision kannst Du Dein Team von Anfang bis Ende ausrichten. So entstehen großartige Funktionen und Ideen, die in die Design- und Entwicklungsproduktion umgesetzt werden.' - type: info_item - enabled: true - - - id: m1htt048 - headline: 'Effiziente Priorisierung' - icon: numbered-list - text: - - - type: paragraph - content: - - - type: text - text: 'Wir unterstützen Dich bei der Priorisierung von Kundenanforderungen und Stakeholder-Ideen. So stellst Du sicher, dass die wichtigsten Aspekte Deines Projekts im Fokus stehen und optimal umgesetzt werden.' - type: info_item - enabled: true - type: item_list - enabled: true -page_title: 'Von Deiner Vision zur digitalen Erfolgsgeschichte' -intro_text: '21st digital ist Dein Partner für die Entwicklung innovativer digitaler Produkte. Wir begleiten Dich durch die digitale Transformation, hinterfragen bestehende Prozesse und entwickeln maßgeschneiderte Strategien, um sowohl digitale Produkte als auch Geschäftsmodelle erfolgreich zu gestalten.' -cta: 'https://calendly.com/21stdigital/meeting?month=2024-09' -cta_label: 'Sprich mit uns' -enable_cta_box: true +title: Home +headline: 'Von Deiner Vision zur digitalen Erfolgsgeschichte' +copy: |- + 21st digital ist Dein erfahrener Partner für innovative digitale Produkte. Gemeinsam + gestalten wir Deine digitale Transformation und schaffen Lösungen, die messbaren + Mehrwert bringen und Deine Kunden begeistern. +enable_cta_box: false cta_box: override_defaults: false cta_box: headline: null text: null expert: null +updated_by: b258a222-c96c-45d3-912e-ded135d7b24f +updated_at: 1729956886 --- diff --git a/content/trees/collections/pages.yaml b/content/trees/collections/pages.yaml index bef88b51..f7bcb871 100644 --- a/content/trees/collections/pages.yaml +++ b/content/trees/collections/pages.yaml @@ -1,3 +1 @@ -tree: - - - entry: 763e6082-7a1f-4da4-994b-68f51aff53e5 +{ } \ No newline at end of file diff --git a/resources/blueprints/collections/clients/client.yaml b/resources/blueprints/collections/clients/client.yaml index ad703a6e..9d1c3215 100644 --- a/resources/blueprints/collections/clients/client.yaml +++ b/resources/blueprints/collections/clients/client.yaml @@ -24,10 +24,10 @@ tabs: localizable: true validate: 'max:200' - - handle: client_url + handle: url field: common.url config: - display: 'Client URL' + display: URL validate: - required - url @@ -35,3 +35,6 @@ tabs: - handle: logo field: common.logo + config: + validate: + - required diff --git a/resources/fieldsets/page_header.yaml b/resources/fieldsets/page_header.yaml index bd21a360..acc3de98 100644 --- a/resources/fieldsets/page_header.yaml +++ b/resources/fieldsets/page_header.yaml @@ -5,15 +5,19 @@ fields: field: type: text display: Overline + instructions: 'Enter a short overline text.' + validate: 'max:50' - - handle: page_title + handle: headline field: type: text - display: 'Page Title' + display: Headline + instructions: 'Enter the main headline.' + validate: 'required|max:100' - - handle: intro_text + handle: copy field: type: textarea - display: 'Intro Text' - - - import: element_link + display: Copy + instructions: 'Enter the main content.' + validate: required diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index e727c83d..b4e3d8fc 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -3,7 +3,17 @@ - @include('partials._head') + + + + {{ $title }} + + @vite(['resources/js/site.ts', 'resources/css/site.css']) @@ -16,7 +26,7 @@ - @include('partials._tail') + @stack('tail_scripts') diff --git a/resources/views/components/layout/page-header.blade.php b/resources/views/components/layout/page-header.blade.php index 58a86995..f5312d21 100644 --- a/resources/views/components/layout/page-header.blade.php +++ b/resources/views/components/layout/page-header.blade.php @@ -1,4 +1,4 @@ -@cascade(['overline', 'page_title', 'intro_text', 'cta', 'cta_label']) +@cascade(['overline', 'headline', 'copy'])

- {{ $page_title ?? $title }} + {{ $headline ?? $title }}

- {{ $intro_text }} + class="text-c1 col-start-1 -col-end-1 mt-32 text-center sm:col-start-2 sm:-col-end-2 xl:col-start-4 xl:-col-end-4"> + {{ $copy }}

- @if ($cta) -

- -

- @endif
diff --git a/resources/views/partials/_head.antlers.html b/resources/views/partials/_head.antlers.html deleted file mode 100644 index 875ae244..00000000 --- a/resources/views/partials/_head.antlers.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - -{{ title ?? site:name }} - {{ config:app:name }} - - -{{ partial:head/styles }} - -{{ vite src="resources/js/site.ts|resources/css/site.css" }} diff --git a/resources/views/partials/_tail.blade.php b/resources/views/partials/_tail.blade.php deleted file mode 100644 index 5920060e..00000000 --- a/resources/views/partials/_tail.blade.php +++ /dev/null @@ -1 +0,0 @@ -@stack('tail_scripts') diff --git a/resources/views/partials/head/_styles.antlers.html b/resources/views/partials/head/_styles.antlers.html deleted file mode 100644 index 1925e332..00000000 --- a/resources/views/partials/head/_styles.antlers.html +++ /dev/null @@ -1,5 +0,0 @@ -