Files
lokiloto/components/app-header.tsx
T
Nazim KriandClaude Opus 5.5 2eafbfd3d7 Rebuild LokiLoto in the LokiLab visual universe
The hero and header used a hand-drawn geometric fox and flat grey
surfaces; the user asked for LokiLab's look. Brings over LokiLab's real
illustrated assets (Loki mascots, observatory/workshop backgrounds,
ornaments, the horned-gem mark) and its palette and type: midnight
#101827, brass gold, mint gem, ivory text, Fraunces display + Inter.
The hero now sits on the observatory scene with the waving Loki
illustration; --primary is brand gold, --success is mint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 09:25:04 -04:00

36 lines
1.3 KiB
TypeScript

import Image from "next/image"
import Link from "next/link"
import { Suspense } from "react"
import { UserMenu } from "@/components/user-menu"
import { Skeleton } from "@/components/ui/skeleton"
export function AppHeader() {
return (
<div className="sticky top-0 z-30 h-14 border-b border-border bg-background/85 backdrop-blur">
<div className="mx-auto flex h-full max-w-6xl items-center gap-6 px-4 sm:px-6">
<Link href="/" className="flex shrink-0 items-center gap-2.5">
<Image src="/lokilab/ui/loki-mark.svg" alt="" aria-hidden="true" width={30} height={30} />
<span className="font-display text-xl text-foreground">
Loki<span className="text-gold">Loto</span>
</span>
</Link>
<nav className="hidden items-center gap-5 text-sm text-muted-foreground sm:flex">
<Link href="/" className="transition-colors hover:text-gold">
Résultats
</Link>
<Link href="/classement" className="transition-colors hover:text-gold">
Classement
</Link>
</nav>
<div className="ml-auto">
<Suspense fallback={<Skeleton className="h-8 w-8 rounded-full" />}>
<UserMenu />
</Suspense>
</div>
</div>
</div>
)
}