Améliore l'édition du site public

This commit is contained in:
Alexandre NOEL 2026-09-10 00:35:23 +02:00
commit 81f259ea6e
11 changed files with 123 additions and 26 deletions

View file

@ -373,6 +373,23 @@ if (!function_exists('public_age')) {
background: var(--paper)
}
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px }
.social-link {
display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px;
border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none;
box-shadow: 0 5px 14px rgba(0, 0, 0, .12); transition: .15s ease
}
.social-link:hover { color: #fff; filter: brightness(.92); transform: translateY(-1px) }
.social-icon { min-width: 1.15em; text-align: center; font-size: 1.05rem; line-height: 1 }
.social-facebook { background: #1877f2 }
.social-instagram { background: linear-gradient(135deg, #833ab4, #e1306c, #f77737) }
.social-youtube { background: #f00 }
.social-tiktok, .social-x { background: #111 }
.social-whatsapp { background: #128c7e }
.social-linkedin { background: #0a66c2 }
.social-snapchat { background: #fffc00; color: #111 }
.social-snapchat:hover { color: #111 }
footer {
margin-top: 55px;
border-top: 1px solid var(--line);
@ -395,6 +412,9 @@ if (!function_exists('public_age')) {
font-size: .9rem
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px }
.footer-links a { color: var(--muted); font-weight: 700 }
.footer-powered a {
color: var(--accent-dark);
font-weight: 800
@ -488,6 +508,10 @@ if (!function_exists('public_age')) {
<?= h($settings['association_rna']) ?></span><?php endif; ?><?php if (($settings['association_rna'] ?? '') !== '' && ($settings['association_siret'] ?? '') !== ''): ?>
· <?php endif; ?><?php if (($settings['association_siret'] ?? '') !== ''): ?><span><?= h(t('public_site.siret')) ?>
: <?= h($settings['association_siret']) ?></span><?php endif; ?></div>
<nav class="footer-links" aria-label="<?= h(t('public_site.legal_privacy')) ?>">
<a href="<?= h($siteUrl('legal')) ?>"><?= h(t('public_site.legal')) ?></a>
<a href="<?= h($siteUrl('privacy')) ?>"><?= h(t('public_site.privacy')) ?></a>
</nav>
</div>
<div class="footer-powered"><?= h(t('public_site.powered_by')) ?> <a
href="https://globinours.fr" target="_blank"