import { Flame } from "lucide-react"; import { cn } from "@/lib/utils"; import { Card } from "@/components/crapp/ui-bits"; import type { Giocatore } from "@/lib/crapp-data"; import { serieGiocatore, serieMigliore } from "@/lib/serie"; import { Barra } from "@/components/motion/Barra"; import { Reveal } from "@/components/motion/Reveal"; /** Griglia completa delle serie di presenza (profilo). */ export function SerieGriglia({ g }: { g: Giocatore }) { const serie = serieGiocatore(g); return (
{s.def.label}
{s.def.descrizione}
{s.prossimo ? `${s.valore}/${s.prossimo} ยท ` : ""} {s.messaggio}
Serie {top.def.label.toLowerCase()}: {top.valore}
{top.messaggio}
{s.valore}
{s.def.label}