Updates Vorstand page with current information

Updates the Vorstand page to reflect the current board members.

Replaces the old Vorstand image with the new one for 2025
Adds a field for image description to provide context for the image.
This commit is contained in:
2025-09-06 13:00:47 +02:00
parent 15de43a2b5
commit 38c24ef11a
6 changed files with 14 additions and 7 deletions
+6 -6
View File
@@ -1,11 +1,11 @@
<?php
$vorstand = $page->vorstandschaft()->toStructure();
?>
$vorstand = $page->vorstandschaft()->toStructure(); ?>
<?php snippet('layout', slots: true) ?>
<?php snippet('layout', slots: true); ?>
<section class="py-8">
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<img src="<?= $page->image()->url() ?>" alt="<?= $page->title()->html() ?>">
<p class="text-xl pt-4"><?= $page->bildbeschreibung() ?></p>
</div>
</section>
@@ -13,7 +13,7 @@
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-4">
<p class="text-2xl pt-4"><?= $page->text() ?></p>
<ul class="pt-6">
<?php foreach($vorstand as $vorstand): ?>
<?php foreach ($vorstand as $vorstand): ?>
<li>
<p class="font-semibold text-xl">
<?= $vorstand->name() ?>
@@ -22,8 +22,8 @@
</span>
</p>
</li>
<?php endforeach ?>
<?php endforeach; ?>
</ul>
</div>
</section>
<?php endsnippet() ?>
<?php endsnippet(); ?>