The HTML for this page is generated by the template agency-company.php.
All templates can be found in the /site/templates folder.
To learn more about Kirby’s templates, please check out our docs: https://getkirby.com/docs
Back to the page
<?php snippet('agency/header') ?> <?php if ($cover = $page->cover()->toFile()): ?> <figure> <a href="<?= $cover->url() ?>" data-lightbox class="img" style="--w: 2; --h:1"> <?= $cover->crop(1200, 600) ?> </a> </figure> <hr> <?php endif ?> <header class="intro"> <h1><?= $page->heading()->escape() ?></h1> <?= $page->intro()->permalinksToUrls() ?> </header> <hr> <h2 class="h1" id="team"><?= $page->teamHeading()->escape() ?></h2> <ul class="grid"> <?php foreach (collection('agency/team') as $member): ?> <?php if ($image = $member->image()): ?> <li class="column" style="--columns: <?= (12 / $page->teamColumns()->or(3)->toInt()) ?>"> <figure> <a href="<?= $image->url() ?>" class="img" data-lightbox> <?= $image->html([ 'alt' => 'A picture of ' . $member->title() . ' - ' . $member->position() ]) ?> </a> <figcaption class="img-caption"> <p><strong><?= $member->title()->escape() ?></strong></p> <p><small><?= $member->position()->escape() ?></small></p> </figcaption> </figure> </li> <?php endif ?> <?php endforeach ?> </ul> <hr> <h2 class="h1" id="values"><?= $page->valuesHeading()->escape() ?></h2> <div class="grid"> <?php foreach ($page->values()->toStructure() as $value): ?> <div class="column text" style="--columns: <?= (12 / $page->valuesColumns()->or(3)->toInt()) ?>"> <h2><?= $value->heading()->escape() ?></h2> <?= $value->text()->permalinksToUrls() ?> </div> <?php endforeach ?> </div> <?php snippet('agency/footer') ?>