You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
633 B
PHP
11 lines
633 B
PHP
<article class="text">
|
|
<h1><?= html($page->title()) ?></h1>
|
|
|
|
<?php foreach($page->services()->toStructure() as $service): ?>
|
|
<?php $illustration = ($illustration = $service->illustration()->toFile())? $illustration->url() : false ?>
|
|
<?php pattern('codesignd/2-blocks/service', ['illustration' => $illustration, 'title' => $service->title(), 'coloredTitle' => ($site->language()->code() === 'de'), 'text' => $service->text()->kt()]) ?>
|
|
<?php endforeach ?>
|
|
</article>
|
|
<hr>
|
|
<?php pattern('shared/2-blocks/cta', ['text' => $page->cta()->kirbytext(), 'button' => l::get('go.contact', '➪ Contact'), 'link' => url('contact')]) ?>
|