Landing redesign: animated hero, draw cards, how-it-works, footer

Keeps only countries with archived results (Québec, France, US, Spain,
Portugal). The landing gets motion and a real structure: staggered
fade-in hero with a floating Loki, twinkling stars, a shimmering gold CTA
and counters that tick up (draws archived, lotteries, countries); draw
cards in place of the table, with lottery balls dropping in and a
lift-on-hover; a three-step "Comment ça marche"; and a site-wide footer
with links, covered countries, responsible-play note and 18+ notice.
All motion is disabled under prefers-reduced-motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nazim Kri
2026-10-31 11:58:21 -04:00
co-authored by Claude Opus 5.5
parent 302915d888
commit ad214a24dd
17 changed files with 524 additions and 320 deletions
+39
View File
@@ -0,0 +1,39 @@
import { BarChart3, Star, Trophy } from "lucide-react"
const STEPS = [
{
icon: BarChart3,
title: "Loki analyse",
text: "Chaque tirage officiel est archivé et passé au crible : fréquences, retards, séries.",
},
{
icon: Star,
title: "Vous suivez",
text: "Marquez d'une étoile les choix de Loki qui vous inspirent, gratuitement.",
},
{
icon: Trophy,
title: "L'armée grimpe",
text: "Chaque tirage résolu fait bouger le classement des membres qui suivent Loki.",
},
]
export function HowItWorks() {
return (
<section aria-labelledby="how" className="rounded-xl border border-border bg-card/60 p-5 sm:p-6">
<h2 id="how" className="font-display text-xl">
Comment ça marche
</h2>
<ol className="mt-4 grid gap-4 sm:grid-cols-3">
{STEPS.map((s, i) => (
<li key={s.title} className="relative rounded-lg border border-border/60 bg-background/40 p-4">
<span className="absolute -top-2.5 right-3 font-display text-3xl text-gold/20">{i + 1}</span>
<s.icon className="h-5 w-5 text-gold" />
<h3 className="mt-2 text-sm font-semibold">{s.title}</h3>
<p className="mt-1 text-xs leading-relaxed text-muted-foreground">{s.text}</p>
</li>
))}
</ol>
</section>
)
}