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:
@@ -6,6 +6,10 @@ Text: Bei der Jahreshauptversammlung am 05.04.2025 wurden in den aktuellen Vorst
|
||||
|
||||
----
|
||||
|
||||
Bildbeschreibung: Auf dem Bild von links: Dominik Döge, Tobias Feigel, Bernd Haberzettl, Jürgen Franz, Alexander Döge und Tanja Wolfrum.
|
||||
|
||||
----
|
||||
|
||||
Vorstandschaft:
|
||||
|
||||
-
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 509 KiB |
@@ -10,6 +10,9 @@ columns:
|
||||
text:
|
||||
type: textarea
|
||||
size: small
|
||||
bildbeschreibung:
|
||||
type: textarea
|
||||
size: small
|
||||
vorstandschaft:
|
||||
label: Vorstandschaft
|
||||
type: structure
|
||||
@@ -37,4 +40,4 @@ columns:
|
||||
type: text
|
||||
image:
|
||||
label: Bild der Vorstandschaft
|
||||
type: files
|
||||
type: files
|
||||
|
||||
@@ -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(); ?>
|
||||
|
||||
Reference in New Issue
Block a user