loaylty card css

This commit is contained in:
Paul Fresnel
2024-11-07 14:13:37 +01:00
parent 4f8103e1dc
commit 14976b14bf
6 changed files with 70 additions and 0 deletions
+27
View File
@@ -88,6 +88,33 @@ const HomePage = () => {
Rejoignez notre programme de fidélité et bénéficiez d'avantages exclusifs.
Votre 10ème baguette offerte !
</p>
{/* Loyalty Card with Flip Effect */}
<div className="card-container max-w-2xl mx-auto h-[200px] mb-8">
<div className="card relative w-full h-full">
{/* Front of the card */}
<div className="card-front">
<Image
src="/images/ressources/card-front.png"
alt="Carte de fidélité - Recto"
fill
className="object-contain rounded-xl shadow-lg"
priority
/>
</div>
{/* Back of the card */}
<div className="card-back">
<Image
src="/images/ressources/card-back.png"
alt="Carte de fidélité - Verso"
fill
className="object-contain rounded-xl shadow-lg"
priority
/>
</div>
</div>
</div>
<button className="bg-white text-bakery-600 px-8 py-3 rounded-md hover:bg-bakery-50 transition">
Obtenir ma carte
</button>