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:
parent
119c98edab
commit
322d9136b6
29 changed files with 917 additions and 1485 deletions
|
|
@ -63,7 +63,7 @@
|
|||
padding: calc(var(--spacing)*0.5) 0;
|
||||
}
|
||||
|
||||
.gauge__container{
|
||||
.gauge-container{
|
||||
padding-top: calc(var(--spacing)*1);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
.comment__text{
|
||||
.comment-text{
|
||||
font-size: var(--fs-medium);
|
||||
font-weight: var(--fw-medium);
|
||||
line-height: var(--leading-tight);
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.comment__name {
|
||||
.comment-name {
|
||||
margin-top: calc(var(--spacing)*0.5);
|
||||
text-align: center;
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.comments-slider__dots{
|
||||
.comments-dots{
|
||||
position: absolute;
|
||||
bottom: 10px; /* espace du bas */
|
||||
left: 0;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
|
||||
.btn--donation__container{
|
||||
.donation-grid{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: calc(var(--padding-body)*0.75);
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
max-width: 420px;
|
||||
}
|
||||
|
||||
.btn--donation__grow-2{
|
||||
.donation-btn--full{
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
}
|
||||
|
||||
|
||||
.btn--donation{
|
||||
.donation-btn{
|
||||
background-color: var(--color-txt);
|
||||
color: var(--color-bg);
|
||||
border-radius: var(--radius-small);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue