PHP dynamique + cache JSON, nettoyage CSS/HTML, CI Forgejo

- Renommage classes/IDs (BEM cohérent, anglais, noms sémantiques)
- Correction HTML : h3→h2 FAQ, button>a→a[role=button] CTA mobile
- Conversion index.html → index.php (FR/EN) avec cache JSON depuis API Kirby
- Pages merci/thanks converties en PHP dynamique
- Ajout includes/cache.php + includes/config.php (cache TTL 5min)
- Ajout CI Forgejo (deploy FTP via lftp)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-04-12 08:00:58 +02:00
parent 119c98edab
commit 322d9136b6
29 changed files with 917 additions and 1485 deletions

View file

@ -19,12 +19,12 @@
}
}
.p__small{
.text-small{
font-size: var(--fs-x-small);
// margin-top: calc(var(--spacing)*0.5)
}
#list-socials {
#socials-list {
list-style: none;
columns: 2;
max-width: 500px;
@ -68,10 +68,10 @@
@media #{$small}{
margin-top: calc(var(--spacing)*2);
.footer__socials{
.footer-socials{
margin-top: calc(var(--spacing)*1.5);
}
.footer__mentions{
.footer-mentions{
margin-top: calc(var(--spacing)*0.5);
p{
// font-size: var(--font-size);
@ -83,7 +83,7 @@
@media #{$small-up}{
.site-footer__container{
.footer-container{
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: calc(var(--spacing)*2);
@ -92,7 +92,7 @@
margin: 0 auto;
}
.footer__mentions{
.footer-mentions{
grid-column: span 2;
text-align: center;
p{
@ -105,13 +105,13 @@
}
@media #{$medium-up}{
.site-footer__container{
.footer-container{
column-gap: calc(var(--spacing)*4);
}
}
@media #{$small}{
.footer__mentions{
.footer-mentions{
padding-top: calc(var(--spacing)*1);
p{ margin-top: 0;}