Merge pull request 'Updates Vorstand page with current information' (#21) from develop into main
Reviewed-on: https://git.feigel.it/SFBadSteben/schachfreunde-badsteben/pulls/21
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:
|
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:
|
text:
|
||||||
type: textarea
|
type: textarea
|
||||||
size: small
|
size: small
|
||||||
|
bildbeschreibung:
|
||||||
|
type: textarea
|
||||||
|
size: small
|
||||||
vorstandschaft:
|
vorstandschaft:
|
||||||
label: Vorstandschaft
|
label: Vorstandschaft
|
||||||
type: structure
|
type: structure
|
||||||
@@ -37,4 +40,4 @@ columns:
|
|||||||
type: text
|
type: text
|
||||||
image:
|
image:
|
||||||
label: Bild der Vorstandschaft
|
label: Bild der Vorstandschaft
|
||||||
type: files
|
type: files
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
$vorstand = $page->vorstandschaft()->toStructure();
|
$vorstand = $page->vorstandschaft()->toStructure(); ?>
|
||||||
?>
|
|
||||||
|
|
||||||
<?php snippet('layout', slots: true) ?>
|
<?php snippet('layout', slots: true); ?>
|
||||||
<section class="py-8">
|
<section class="py-8">
|
||||||
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-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() ?>">
|
<img src="<?= $page->image()->url() ?>" alt="<?= $page->title()->html() ?>">
|
||||||
|
<p class="text-xl pt-4"><?= $page->bildbeschreibung() ?></p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-4">
|
<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>
|
<p class="text-2xl pt-4"><?= $page->text() ?></p>
|
||||||
<ul class="pt-6">
|
<ul class="pt-6">
|
||||||
<?php foreach($vorstand as $vorstand): ?>
|
<?php foreach ($vorstand as $vorstand): ?>
|
||||||
<li>
|
<li>
|
||||||
<p class="font-semibold text-xl">
|
<p class="font-semibold text-xl">
|
||||||
<?= $vorstand->name() ?>
|
<?= $vorstand->name() ?>
|
||||||
@@ -22,8 +22,8 @@
|
|||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<?php endsnippet() ?>
|
<?php endsnippet(); ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user