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:
@@ -92,6 +92,11 @@ pagination = { pagerSize = 6, path = "page" }
|
|||||||
[params.header.logo]
|
[params.header.logo]
|
||||||
src = "/images/logo-darkmode.png"
|
src = "/images/logo-darkmode.png"
|
||||||
|
|
||||||
|
[params.pdfFolder]
|
||||||
|
name = "Voir la brochure CHILL"
|
||||||
|
filename = "Brochure_Chill.pdf"
|
||||||
|
url = "/pdf/Brochure_Chill.pdf"
|
||||||
|
|
||||||
# Global CTA Configuration (optional)
|
# Global CTA Configuration (optional)
|
||||||
[params.cta]
|
[params.cta]
|
||||||
enable = true
|
enable = true
|
||||||
@@ -154,13 +159,7 @@ pagination = { pagerSize = 6, path = "page" }
|
|||||||
name = "Nous contacter"
|
name = "Nous contacter"
|
||||||
url = "/contact"
|
url = "/contact"
|
||||||
weight = 5
|
weight = 5
|
||||||
|
[[menu.footer_column]]
|
||||||
[[menu.footer_column_1]]
|
|
||||||
name = "Voir la brochure CHILL"
|
|
||||||
url = "/pdf/Brochure_Chill.pdf"
|
|
||||||
weight = 1
|
|
||||||
|
|
||||||
[[menu.footer_column_2]]
|
|
||||||
name = "Champs-Libres"
|
name = "Champs-Libres"
|
||||||
url = "https://www.champs-libres.coop/"
|
url = "https://www.champs-libres.coop/"
|
||||||
weight = 1
|
weight = 1
|
||||||
|
|||||||
@@ -15,15 +15,16 @@
|
|||||||
|
|
||||||
<!-- Column 1 -->
|
<!-- Column 1 -->
|
||||||
<div class="flex-1 text-center">
|
<div class="flex-1 text-center">
|
||||||
{{ range .Site.Menus.footer_column_1 }}
|
{{ with .Site.Params.pdfFolder }}
|
||||||
<a href="{{ .URL }}" target="_blank" class="text-white hover:text-primary-600">{{ .Name }}</a>
|
<a href="{{ .URL | relURL }}" class="text-white hover:text-primary-600" download="{{ .filename }}">{{ .Name }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Column 2 -->
|
<!-- Column 2 -->
|
||||||
<div class="flex-1 text-center">
|
<div class="flex-1 text-center">
|
||||||
{{ range .Site.Menus.footer_column_2 }}
|
{{ range .Site.Menus.footer_column }}
|
||||||
<a href="{{ .URL }}" target="_blank" class="text-white hover:text-primary-600">{{ .Name }}</a>
|
<a href="{{ .URL | relURL }}" target="_blank" class="text-white hover:text-primary-600">{{ .Name }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,11 @@
|
|||||||
{{ range .Page.Params.client_logos }}
|
{{ range .Page.Params.client_logos }}
|
||||||
<img src="{{ .logo | relURL }}" alt="{{ .name }}" />
|
<img src="{{ .logo | relURL }}" alt="{{ .name }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if $shouldAnimate }}
|
||||||
|
{{ range .Page.Params.client_logos }}
|
||||||
|
<img src="{{ .logo | relURL }}" alt="" aria-hidden="true" loading="lazy" />
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -37,11 +42,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logos-slide {
|
.logos-slide {
|
||||||
display: inline-block;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: max-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logos-slide.animate {
|
.logos-slide.animate {
|
||||||
animation: 10s slide infinite linear;
|
animation: 24s slide infinite linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -68,7 +75,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
to {
|
to {
|
||||||
transform: translateX(calc(-100% / 2));
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -79,7 +86,7 @@
|
|||||||
/* Mobile-specific animation speed */
|
/* Mobile-specific animation speed */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.logos-slide.animate {
|
.logos-slide.animate {
|
||||||
animation: 8s slide infinite linear;
|
animation: 16s slide infinite linear;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user