<?php snippet('header') ?>
<?php /** @var Kirby\Cms\App $kirby */
/** @var Kirby\Cms\Site $site */
/** @var Kirby\Cms\Page $page */ ?>

<div class="bg-orange-white container headline">
    <h4 class="uppercase font-kobata leading-none"><?= $page->title() ?></h4>
</div>

<div class="bg-orange-white container project-list">
    <?php foreach ($page->children()->listed() as $project): ?>
        <a href="<?= $project->url() ?>" class="link" style="line-height: 57pt">
            <span class="font-kobata"><?= $project->start_date()->toDate('d.m.') ?>-<?= $project->end_date()->toDate('d.m.') ?></span>
            <span class="text-40 leading-none"><?= $project->title() ?></span>
        </a>
    <?php endforeach ?>
</div>

<div class="container bg-white-lila headline">
    <h4 class="uppercase font-kobata leading-none">ART RESIDENCIES + INTERMISSIONS</h4>
</div>

<?php snippet('layouts', ['layouts' => $page->layout()->toLayouts()]) ?>

<?php snippet('footer') ?>