1
0
This commit is contained in:
Philip Wagner
2024-08-31 10:01:49 +02:00
commit 78b6c0d381
1169 changed files with 235103 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php snippet('header') ?>
<div class="bg-white-green container" style="padding-left: 179pt; padding-bottom: 79pt">
<h4 class="uppercase font-kobata leading-none"><?= $page->title() ?></h4>
</div>
<?php $colors = [
'bg-pink-green',
'bg-green-white',
'bg-white-green',
'bg-orange-white',
'bg-lila-pink',
'bg-white-green',
]; $index = 0; ?>
<?php foreach ($page->children()->listed() as $page): ?>
<?php $color = $colors[$index++ % 6] ; remember($color); ?>
<section class="container calendar-entry <?= $color ?>">
<div><?= $page->date()->text() ?></div>
<?php $entry = $page->page()->toPage() ?>
<a href="<?= $entry ? $entry->url() : '' ?>" class="link">
<?= $page->description()->text() ?>
</a>
</section>
<?php endforeach ?>
<?php snippet('footer') ?>