From 43dd17f9889fa5744a2ffd650c7d4ebe13bc0c6d Mon Sep 17 00:00:00 2001 From: BlackAngelTV Date: Thu, 24 Sep 2026 20:25:27 +0200 Subject: [PATCH] feat(pages): link legal pages in footer and credit the hosting partner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- p/assets/styles/styles.css | 18 +++++++++++++++++- page.php | 7 +++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/p/assets/styles/styles.css b/p/assets/styles/styles.css index 7c4b532..ac1c6c8 100644 --- a/p/assets/styles/styles.css +++ b/p/assets/styles/styles.css @@ -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; diff --git a/page.php b/page.php index 382ebce..44a119e 100644 --- a/page.php +++ b/page.php @@ -266,10 +266,17 @@ function fws_site_active(string $route, string $prefix): string Discord +
+

Légal

+ Mentions légales + Conditions d'utilisation + Confidentialité +