Skip to content

Commit

Permalink
ajoute un pied de page
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Mar 15, 2024
1 parent 5e87e16 commit bd71bda
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
4 changes: 4 additions & 0 deletions assets/sass/accueil.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
}

.passe-ton-permis {
a {
text-decoration: none;
}

.conteneur-titre {
max-width: $petite-largeur;
padding-top: 2rem;
Expand Down
10 changes: 8 additions & 2 deletions assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,12 @@ section {
}
}

nav {
nav, footer {
max-width: $largeur;
margin: 0 auto;
ul {
display: flex;
gap: 1rem;
list-style: none;
padding: 1rem;
margin: 0;

Expand All @@ -79,6 +78,13 @@ nav {
}
}

footer {
display: flex;
justify-content: center;
border-top: solid 1px white;
margin-top: 1rem;
}

.couverture {
h1 {
font-family: Terminal-grotesque;
Expand Down
1 change: 1 addition & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
{{ partial "nav.html" }}
{{ block "main" . }}
{{ end }}
{{ partial "pied.html" }}
</body>
</html>
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</section>
<section class="passe-ton-permis">
<div class="bg-bleu conteneur-titre">
<h2 class="bg-jaune"><strong>PASSE TON PERMIS DE</strong><br>- CYBERPRUDENCE -</h2>
<a href="cartes"><h2 class="bg-jaune"><strong>PASSE TON PERMIS DE</strong><br>- CYBERPRUDENCE -</h2></a>
</div>
<div class="bg-blanc conteneur-intro">
{{ partial "symbole" (dict "symbole" "internet") }}
Expand Down
7 changes: 7 additions & 0 deletions layouts/partials/pied.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<footer class="bg-bleu">
<ul>
<li><a href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.fr" target="_blank">Diffusion autorisée sans modification et sans but commercial</a></li>
-
<li><a href="/apropos/">À propos</a></li>
</ul>
</footer>

0 comments on commit bd71bda

Please sign in to comment.