add footer to linear template

This commit is contained in:
isUnknown 2024-04-15 09:16:27 +02:00
parent f0d306372d
commit 1e9a192a40
4 changed files with 17 additions and 9 deletions

View file

@ -1,9 +1,18 @@
#main-footer { #main-footer {
width: 100%;
box-sizing: border-box;
padding: var(--unit--horizontal);
}
[data-template="home"] #main-footer {
position: fixed; position: fixed;
left: 0; left: 0;
bottom: 0; bottom: 0;
width: calc(18 * var(--unit--horizontal)); }
padding: var(--unit--horizontal);
#main-footer ul {
display: flex;
justify-content: center;
gap: calc(2 * var(--unit--horizontal));
} }
#main-footer a { #main-footer a {

View file

@ -1,8 +1,5 @@
<footer id="main-footer"> <footer id="main-footer">
<ul id="links" class="| flex full-width" style=" <ul id="links">
--content: center;
--gap: 1;
">
<li> <li>
<a href="#"> <a href="#">
à propos à propos

View file

@ -12,7 +12,7 @@
<p <p
class="main-edito-btn | toggle-btn left" class="main-edito-btn | toggle-btn left"
>édito</p> >édito</p>
</button> </a>
<?php endslot() ?> <?php endslot() ?>
<?php endsnippet() ?> <?php endsnippet() ?>
<div id="main-edito" class="content"> <div id="main-edito" class="content">

View file

@ -19,3 +19,5 @@
</div> </div>
</article> </article>
</main> </main>
<?php snippet('footer') ?>