Initial commit

This commit is contained in:
sarahgarcin1 2026-01-05 19:33:15 +01:00
commit 388079e6bb
1108 changed files with 330121 additions and 0 deletions

38
site/snippets/nav.php Normal file
View file

@ -0,0 +1,38 @@
<?php $items = $pages->listed();?>
<?php if($items->isNotEmpty()):?>
<nav class="col-xs-12 col-sm-9 col-md-8 col-lg-7 col-xl-6 row end-xs">
<div class="mobile__menu_btn">
<span></span>
<span></span>
<span></span>
</div>
<ul class='row between-xs col-xs-12 col-sm'>
<?php foreach($items as $item): ?>
<li <?php e($item->isOpen(), ' class="active"') ?>>
<a href="<?= $item->url() ?>"><?= $item->title()->html() ?>
</a>
</li>
<?php endforeach ?>
</ul>
<ul class="social-network end-xs row">
<?php $socials = $site->social()->toStructure();?>
<?php foreach($socials as $social): ?>
<li>
<a href="<?= $social->link()?>" title="<?= $social->title()?>" target="_blank">
<?= $social->icon()?>
</a>
</li>
<?php endforeach; ?>
</ul>
<ul class="languages end-xs row">
<?php foreach($kirby->languages() as $language): ?>
<li<?php e($kirby->language() == $language, ' class="active"') ?>>
<a href="<?= $page->url($language->code()) ?>" hreflang="<?php echo $language->code() ?>">
<?= html($language->code()) ?>
</a>
</li>
<?php endforeach ?>
</ul>
</nav>
<?php endif ?>