Initial commit
This commit is contained in:
commit
65e0da7e11
1397 changed files with 596542 additions and 0 deletions
23
site/snippets/about.php
Normal file
23
site/snippets/about.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php if ($aboutPage = $site->aboutPage()->toPage()): ?>
|
||||
|
||||
<div id="about-logo">
|
||||
<svg><use xlink:href="<?= url('assets/images/svg-sprite.svg') ?>#logo" /></svg>
|
||||
</div>
|
||||
|
||||
<div id="about-text"><?= $aboutPage->text()->kt() ?></div>
|
||||
|
||||
<div id="about-socials">
|
||||
<?php if ($aboutPage->socials()->isNotEmpty()): ?>
|
||||
<?php foreach ($aboutPage->socials()->toStructure() as $key => $item): ?>
|
||||
<a class="row uppercase link-hover black" href="<?= $item->url() ?>"><?= $item->title()->html() ?></a>
|
||||
<?php endforeach ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
||||
<div id="about-contact"><?= $aboutPage->contact()->kt() ?><div id="about-address"><?= $aboutPage->address()->kt() ?></div></div>
|
||||
|
||||
<?php snippet('newsletter') ?>
|
||||
|
||||
<div id="credits">© <?= date('Y').' '.$site->title()->html() ?> — All rights reserved</div>
|
||||
|
||||
<?php endif ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue