'use client'; interface GrandPrizeProps { prizeAmount?: string; drawDate?: Date; participantsCount?: number; } export default function GrandPrize({ prizeAmount = "360€", drawDate, participantsCount, }: GrandPrizeProps) { const formatDate = (date: Date) => { return date.toLocaleDateString('fr-FR', { day: 'numeric', month: 'long', year: 'numeric', }); }; return (
{/* Icône trophée */}
{/* Contenu */}

🎉 Grand Prix à gagner !

À la fin du concours, un grand gagnant sera tiré au sort parmi les participants et remportera un{' '} lot d'une valeur de {prizeAmount} !

{drawDate && (
Tirage au sort : {formatDate(drawDate)}
)} {participantsCount && (
{participantsCount.toLocaleString('fr-FR')} participants déjà inscrits
)}
Tirage certifié par un huissier de justice
Plus vous jouez, plus vous avez de chances de gagner !
); }