Merge pull request 'WEB-9: Homepage anpassen' (#7) from develop into main

Reviewed-on: https://git.feigel.it/SFBadSteben/schachfreunde-badsteben/pulls/7
This commit is contained in:
2025-07-06 17:45:15 +02:00
2 changed files with 32 additions and 7 deletions
+8
View File
@@ -2,4 +2,12 @@ Title: Home
---- ----
Herobutton: Kontakt
----
Buttonlink: /kontakt.html
----
Uuid: N7ZiykL2AQxWubuT Uuid: N7ZiykL2AQxWubuT
+24 -7
View File
@@ -14,13 +14,30 @@
<div class="flex flex-col lg:flex-row items-center gap-8 lg:gap-16"> <div class="flex flex-col lg:flex-row items-center gap-8 lg:gap-16">
<!-- Linke Spalte - Text --> <!-- Linke Spalte - Text -->
<div class="w-full lg:w-1/2"> <div class="w-full lg:w-1/2">
<div class="prose prose-invert"> <div class="flex items-center justify-center p-2">
<h2 class="text-4xl font-bold text-sf_blau-500 mb-6"><?= $page->title() ?></h2> <div class="relative w-full max-w-m bg-sf_grau-50 rounded-lg shadow-lg p-6">
<p class="text-lg text-white"> <div class="absolute -top-20 left-1/2 transform -translate-x-1/2 px-2 py-2">
Ihr Text kommt hier. Lorem ipsum dolor sit amet, <h3 style="font-family: Case;" class="text-9xl text font-light text-sf_gelb-500 whitespace-nowrap">q</h3>
consectetur </div>
adipiscing elit.
</p> <div class="flex flex-col justify-center h-full pt-16">
<h1>Nette Leute spielen Schach!</h1>
<h2>Seien Sie nett! Spielen Sie mit?</h2>
<p>Wir sind immer auf der Suche nach neuen Mitgliedern. Bitte kontaktieren Sie unseren Vorstand für weitere Informationen.</p>
</div>
<?php if ($page->heroButton()->isNotEmpty()): ?>
<div class="mt-6 flex flex-wrap gap-4 md:mt-8 pt-8">
<a href="<?= $page->buttonLink() ?>" class="hover:cursor-pointer hover:text-sf_gelb-500"
target="_blank">
<button class="hover:cursor-pointer inline-flex gap-3 items-center justify-center whitespace-nowrap transition-all duration-200 ease-in-out disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none border border-border-primary text-text-primary bg-background-primary px-6 py-3"
title="Kontakt" type="button">
<?= $page->heroButton() ?>
</button>
</a>
</div>
<?php endif ?>
</div>
</div> </div>
</div> </div>