Amélioration des traductions et des éléments de l'interface utilisateur dans les fichiers _index.md, pricing.md, et cta.html; ajout de nouvelles classes CSS pour la personnalisation des styles.

This commit is contained in:
Boris Waaub
2026-01-28 15:58:30 +01:00
parent bb769c8001
commit eadf439d5f
7 changed files with 93 additions and 39 deletions
@@ -10,17 +10,17 @@
<h2 class="text-3xl md:text-4xl font-bold text-white mb-6">{{ .Site.Params.cta.title }}</h2>
<p class="text-xl text-primary-100 mb-8">{{ .Site.Params.cta.description }}</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
{{ with .Site.Params.cta.primary_button }}
<a href="{{ .url }}" class="btn bg-white text-primary-600 hover:bg-gray-100">
{{ .text }}
</a>
{{ end }}
{{ with .Site.Params.cta.secondary_button }}
<a href="{{ .url }}" class="btn border-2 border-white text-white hover:bg-primary-700">
{{ .text }}
</a>
{{ end }}
</div>
{{ with .Site.Params.cta.secondary_button }}
<a href="{{ .url | default "#" }}" class="{{ with .mobileClass }}{{ . }}{{ else }}block text-center px-6 py-3 rounded-lg font-bold transition duration-200 ease-in-out bg-primary-400 text-white hover:bg-primary-400 hover:scale-105{{ end }}">
{{ .text | default "Get Started" }}
</a>
{{ end }}
{{ with .Site.Params.cta.primary_button}}
<a href="{{ .url | default "#" }}" class="{{ with .mobileClass }}{{ . }}{{ else }}block text-center px-6 py-3 rounded-lg font-bold transition duration-200 ease-in-out border-2 text-primary-400 border-primary-400 hover:border-primary-400 hover:text-primary-400 hover:scale-105{{ end }}">
{{ .text | default "Sign in" }}
</a>
{{ end }}
</div>
</div>
</div>