From 8b5d699c7cff5f42ee8cff9903a5e047f1c1c7fc Mon Sep 17 00:00:00 2001 From: Tobias Feigel Date: Sun, 6 Jul 2025 17:30:32 +0200 Subject: [PATCH] feat: enhance hero section with contact button and updated text content Added a new hero button ("Kontakt") with a link to the contact page. Redesigned and enriched hero section text with a friendly message and call-to-action for recruiting new members. Incorporated conditional rendering for the button based on page content. --- content/1_home/home.txt | 8 ++++++++ site/snippets/hero.php | 31 ++++++++++++++++++++++++------- 2 files changed, 32 insertions(+), 7 deletions(-) diff --git a/content/1_home/home.txt b/content/1_home/home.txt index f0a1245..638bb61 100644 --- a/content/1_home/home.txt +++ b/content/1_home/home.txt @@ -2,4 +2,12 @@ Title: Home ---- +Herobutton: Kontakt + +---- + +Buttonlink: /kontakt.html + +---- + Uuid: N7ZiykL2AQxWubuT \ No newline at end of file diff --git a/site/snippets/hero.php b/site/snippets/hero.php index 0f65d82..77e4b5c 100644 --- a/site/snippets/hero.php +++ b/site/snippets/hero.php @@ -14,13 +14,30 @@
-
-

title() ?>

-

- Ihr Text kommt hier. Lorem ipsum dolor sit amet, - consectetur - adipiscing elit. -

+
+
+
+

q

+
+ +
+

Nette Leute spielen Schach!

+

Seien Sie nett! Spielen Sie mit?

+

Wir sind immer auf der Suche nach neuen Mitgliedern. Bitte kontaktieren Sie unseren Vorstand für weitere Informationen.

+
+ + heroButton()->isNotEmpty()): ?> + + +