improve mobile footer
This commit is contained in:
parent
af1ffe78c6
commit
5252d51633
5 changed files with 97 additions and 59 deletions
|
|
@ -15,4 +15,24 @@ $isOpen = isset($isOpen) ? $isOpen : false;
|
|||
<?= $slots->text() ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<ul class="links">
|
||||
<?php if ($page->is(page('inscription'))): ?>
|
||||
<li>
|
||||
<a href="<?= $site->url() ?>">
|
||||
accueil
|
||||
</a>
|
||||
</li>
|
||||
<?php else: ?>
|
||||
<li>
|
||||
<a href="/inscription" id="subscribe-btn" class="plus">
|
||||
s'inscrire
|
||||
</a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<li>
|
||||
<a href="<?= $site->find('a-propos')->url() ?>">
|
||||
à propos
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<footer id="main-footer">
|
||||
<ul id="links">
|
||||
<?php if (!$page->isHomePage()): ?>
|
||||
<li>
|
||||
<li class="open-nav-wrapper">
|
||||
<button class="plus open-nav" title="chercher parmi les textes">textes</button>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue