Template
feat(pages): link legal pages in footer and credit the hosting partner
Add a "Légal" column with the three new pages and a "Powered by ZI-HOST.ch" credit in the footer bottom bar; footer grid grows from three to four columns with a dedicated style for the hosting credit.
This commit is contained in:
2 files changed
+24
-1
No files matched your search
@@ -209,7 +209,7 @@ body {
|
||||
|
||||
.footer-links-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 1.5rem;
|
||||
padding: 1.5rem 0;
|
||||
}
|
||||
@@ -251,6 +251,22 @@ body {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.footer-hosting {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.footer-hosting a {
|
||||
color: var(--text-secondary);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid var(--border);
|
||||
transition: color 160ms ease;
|
||||
}
|
||||
|
||||
.footer-hosting a:hover,
|
||||
.footer-hosting a:focus-visible {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.footer-release,
|
||||
.footer-commit {
|
||||
text-align: right;
|
||||
|
||||
@@ -266,10 +266,17 @@ function fws_site_active(string $route, string $prefix): string
|
||||
<a href="https://discord.gg/6mnpPr2jq4" target="_blank" rel="noopener noreferrer">Discord</a>
|
||||
</section>
|
||||
|
||||
<section aria-label="Informations légales">
|
||||
<h2>Légal</h2>
|
||||
<a href="<?= e(fws_url('/?p/mentions-legales/')) ?>">Mentions légales</a>
|
||||
<a href="<?= e(fws_url('/?p/conditions/')) ?>">Conditions d'utilisation</a>
|
||||
<a href="<?= e(fws_url('/?p/confidentialite/')) ?>">Confidentialité</a>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="footer-bottom">
|
||||
<p>© <?= date('Y') ?> FWS Linux</p>
|
||||
<p class="footer-hosting">Powered by <a href="https://zi-host.ch" target="_blank" rel="noopener noreferrer">ZI-HOST.ch</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in new issue
Block a user