<?php snippet('header') ?>

<div class="bg-white-green container headline" style="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') ?>