View source: Template

The HTML for this page is generated by the template agency.php.

All templates can be found in the /site/templates folder.

To learn more about Kirby’s templates, please check out our docs:

Back to the page

<?php snippet('agency/header') ?>

<h1 class="intro">We are a digital product agency that focuses on strategy and design.</h1>

<?php if ($cover = $page->cover()): ?>
  <a href="<?= $cover->url() ?>" data-lightbox class="img" style="--w:2;--h:1">
    <?= $cover->crop(1200, 600) ?>
<?php endif ?>


<?php if ($projects->count()): ?>
<h2 class="h1" id="projects">Featured work</h2>
<?php snippet('agency/projects', ['projects' => $projects, 'columns' => 4]) ?>
<?php endif ?>

<?php if ($clients->count()): ?>
<h2 class="h1" id="clients">Our clients</h2>
<?php snippet('agency/clients', ['clients' => $clients]) ?>
<?php endif ?>

<section class="section grid">
  <div class="column" style="--columns: 4">
    <h2 class="intro"><?= $home->contactHeading()->escape() ?></h2>
    <div class="text">
      <?= $home->contactText()->kt() ?>
      <p><?= Html::email($home->contactAddress()) ?></p>

<?php snippet('agency/footer') ?>