1
0
Fork 0
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.

22 lines
711 B
PHP

<article class="home-banner">
<?php if($illustration): ?>
<img class="home-banner__illustration" src="<?= $illustration ?>" alt="">
<?php endif ?>
<div class="home-banner__description">
<div class="home-banner__text text"><?= $text ?></div>
<?php pattern('shared/2-blocks/button', [
'text' => l::get('home-banner.learnmore', 'Learn more'),
'label' => l::get('home-banner.learnmore.label', 'Learn more about my services'),
'link' => url('services'),
'modifiers' => 'novisited'
]) ?>
<?php pattern('shared/2-blocks/button', [
'text' => l::get('home-banner.contact', 'Contact'),
'link' => url('contact'),
'modifiers' => ['novisited', 'secondary']
]) ?>
</div>
</article>