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

@ -1,7 +1,7 @@
#section__video{
margin-bottom: calc(var(--spacing)*2);
.btn__deploy{
.btn-expand{
margin-top: calc(var(--spacing)*1);
--size: var(--h-block);
font-family: var(--font);
@ -45,13 +45,13 @@
}
.videos__ul{
.testimonies-list{
list-style: none;
width: 100%;
margin-top: calc(var(--spacing)*1);
display: none;
.videos__li{
.testimony-item{
position: relative;
padding-left: 40px;
@ -66,7 +66,7 @@
cursor: pointer;
@media screen and (max-width: 520px){
.br-desktop{ display: none; }
.desktop-break{ display: none; }
}
@ -96,9 +96,9 @@
}
}
#videos__input{ display: none }
#testimonies-toggle{ display: none }
#videos__input:checked ~ .videos__ul{
#testimonies-toggle:checked ~ .testimonies-list{
display: block;
}
}