Files
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

93 lines
3.4 KiB
TypeScript

import Image from "next/image"
import Link from "next/link"
import { COUNTRIES } from "@/lib/countries"
import { Flag } from "@/components/flag"
export function SiteFooter() {
return (
<footer className="mt-auto border-t border-border bg-[#0b111d]">
<div className="mx-auto max-w-6xl px-4 pt-10 pb-6 sm:px-6">
<div className="grid gap-8 sm:grid-cols-2 lg:grid-cols-4">
<div className="lg:col-span-1">
<Link href="/" className="inline-flex items-center gap-2.5">
<Image src="/lokilab/ui/loki-mark.svg" alt="" aria-hidden="true" width={34} height={34} />
<span className="font-display text-xl">
Loki<span className="text-gold">Loto</span>
</span>
</Link>
<p className="mt-3 text-sm leading-relaxed text-muted-foreground">
Résultats officiels, statistiques et pronostics de loterie. Propulsé par LokiLab.
</p>
</div>
<FooterCol title="Explorer">
<FooterLink href="/">Derniers tirages</FooterLink>
<FooterLink href="/classement">Classement de l&apos;armée</FooterLink>
<FooterLink href="/connexion?mode=inscription">Rejoindre l&apos;armée</FooterLink>
<FooterLink href="/profil">Mon profil</FooterLink>
</FooterCol>
<FooterCol title="Pays couverts">
{COUNTRIES.map((c) => (
<li key={c.code} className="flex items-center gap-2 text-sm text-muted-foreground">
<Flag code={c.code} /> {c.name}
</li>
))}
</FooterCol>
<FooterCol title="Jouer responsable">
<li className="text-sm leading-relaxed text-muted-foreground">
LokiLoto ne vend aucun billet et ne prend aucune mise. Les statistiques décrivent le passé
et ne prédisent pas les tirages.
</li>
<li>
<a
href="https://www.jeu-aidereference.qc.ca"
target="_blank"
rel="noopener noreferrer"
className="text-sm text-gold hover:text-gold-light"
>
Jeu : aide et référence ↗
</a>
</li>
</FooterCol>
</div>
<img
src="/lokilab/ui/rune-divider.svg"
alt=""
aria-hidden="true"
className="mx-auto my-8 h-4 w-full max-w-md opacity-60"
/>
<div className="flex flex-col items-center justify-between gap-3 text-xs text-muted-foreground sm:flex-row">
<p>© 2026 LokiLoto · un projet LokiLab</p>
<p className="flex items-center gap-2">
<span className="rounded border border-destructive/60 px-1.5 py-0.5 font-semibold text-destructive">18+</span>
Réservé aux personnes majeures
</p>
</div>
</div>
</footer>
)
}
function FooterCol({ title, children }: { title: string; children: React.ReactNode }) {
return (
<div>
<h2 className="mb-3 text-xs font-semibold uppercase tracking-[0.15em] text-gold">{title}</h2>
<ul className="space-y-2">{children}</ul>
</div>
)
}
function FooterLink({ href, children }: { href: string; children: React.ReactNode }) {
return (
<li>
<Link href={href} className="text-sm text-muted-foreground transition-colors hover:text-foreground">
{children}
</Link>
</li>
)
}