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
-24
View File
@@ -51,14 +51,6 @@ export const COUNTRIES: CountryTheme[] = [
accent: 'oklch(0.76 0.16 89.6)',
accentSoft: 'oklch(0.76 0.16 89.6 / 14%)',
},
{
code: 'IT',
name: 'Italie',
flagPrimary: '#009246',
flagSecondary: '#CE2B37',
accent: 'oklch(0.65 0.15 151.1)',
accentSoft: 'oklch(0.65 0.15 151.1 / 14%)',
},
{
code: 'PT',
name: 'Portugal',
@@ -67,22 +59,6 @@ export const COUNTRIES: CountryTheme[] = [
accent: 'oklch(0.63 0.14 153.6)',
accentSoft: 'oklch(0.63 0.14 153.6 / 14%)',
},
{
code: 'DZ',
name: 'Algérie',
flagPrimary: '#006233',
flagSecondary: '#D21034',
accent: 'oklch(0.6 0.13 153.7)',
accentSoft: 'oklch(0.6 0.13 153.7 / 14%)',
},
{
code: 'MA',
name: 'Maroc',
flagPrimary: '#C1272D',
flagSecondary: '#006233',
accent: 'oklch(0.58 0.19 25)',
accentSoft: 'oklch(0.58 0.19 25 / 14%)',
},
]
export function countryTheme(code: string): CountryTheme {