3 Commits
Author SHA1 Message Date
Nazim KriandClaude Opus 5.5 ad214a24dd 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>
2026-10-31 11:58:21 -04:00
Nazim KriandClaude Sonnet 5 fc69d4a668 Rebuild layout per Codex's design review: sidebar nav, shared results panel
Codex (independent /codex consult) reviewed the prior card-grid layout
and called it an unstructured "starter dashboard" look: too much chrome
before the data, duplicated card containers competing for attention,
community size outweighing actual draw results, and a real bug —
CardHeader's base class is `grid`, so the `flex-row` override on
LotteryCard never applied.

Rebuilds around a shared data panel instead of isolated cards:
- CountryNav: 200px sidebar (desktop) / horizontal scroller (mobile),
  replacing pill-tab filters that read as tags rather than navigation
- LotteryResultsPanel + LotteryRow: one table-like panel with column
  headers (Loterie / Résultat / Choix / Score / Historique), not N
  separate bordered cards — makes draws directly comparable
- LotteryMobileCard: dedicated compact mobile layout, not a shrunk
  desktop row
- NumberSequence: shared ball component used by both layouts
- --success token, independent of --accent: a winning number is always
  green, never the country's accent color (previously a win in France
  would render in France's red, which reads as a loss)
- --primary now stays neutral, decoupled from --accent, so generic
  shadcn control states don't inherit a country's color as if it meant
  something semantically
- New surface/text palette (page/header/panel/divider tiers) replacing
  the flat near-black scale
- Redrawn LokiMark: clearer two-ear fox silhouette, legible at 20-24px

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-29 22:34:16 -04:00
Nazim KriandClaude Sonnet 5 8621284cab Real design pass: shadcn/ui, dark sportsbook-style UI, per-country accent
Replaces the plain proof-of-concept page with a proper design: shadcn/ui
component foundation, dark theme by default, a brand bar + country
selector pill nav, lottery cards with real number chips and win-state
highlighting, and a shared Loki mark reskinned per country via a single
--accent CSS variable (set from lib/countries.ts's flag-derived OKLCH
palette) — one mascot, one layout, color is the only thing that changes
per country, as specified.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-29 21:57:03 -04:00