feat: Ajouter un lien vers la brochure CHILL dans le pied de page et améliorer l'animation des logos clients
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
{{ range .Page.Params.client_logos }}
|
||||
<img src="{{ .logo | relURL }}" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
{{ if $shouldAnimate }}
|
||||
{{ range .Page.Params.client_logos }}
|
||||
<img src="{{ .logo | relURL }}" alt="" aria-hidden="true" loading="lazy" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,11 +42,13 @@
|
||||
}
|
||||
|
||||
.logos-slide {
|
||||
display: inline-block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
.logos-slide.animate {
|
||||
animation: 10s slide infinite linear;
|
||||
animation: 24s slide infinite linear;
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +75,7 @@
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translateX(calc(-100% / 2));
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +86,7 @@
|
||||
/* Mobile-specific animation speed */
|
||||
@media (max-width: 768px) {
|
||||
.logos-slide.animate {
|
||||
animation: 8s slide infinite linear;
|
||||
animation: 16s slide infinite linear;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user