import Link from "next/link" import { Clover, Crown, Dices, Gem, LayoutGrid, Sparkles, Star, Zap, type LucideIcon } from "lucide-react" import { cn } from "@/lib/utils" import type { LotteryFeedEntry } from "@/lib/lokilab-feed" const ICONS: Record = { "lotto-max": Crown, "lotto-649": Clover, "daily-grand": Gem, powerball: Zap, "mega-millions": Star, "fr-loto": Clover, euromillions: Sparkles, } /** Horizontal icon strip under the header — the 1xbet sports-strip pattern, one tile per lottery. */ export function LotteryStrip({ lotteries, activeId }: { lotteries: LotteryFeedEntry[]; activeId?: string }) { return (
{lotteries.map((l) => ( ))}
) } function StripItem({ href, icon: Icon, label, active, }: { href: string icon: LucideIcon label: string active?: boolean }) { return ( {label} ) } function shortName(name: string) { return name.replace(" (Daily Grand)", "").replace("Quotidienne ", "Quot. ") }