import clsx from "clsx"; import Badge from "@/components/ui/Badge"; export interface RoadmapItem { name: string; status: "live" | "next" | "north-star"; /** leading data figure, typeset in mono (e.g. "34.57 h") */ stat?: string; detail: string; } export interface RoadmapStripProps { items: RoadmapItem[]; } const statusMeta: Record< RoadmapItem["status"], { label: string; variant: "accent" | "outline" | "ghost"; card: string } > = { live: { label: "Live", variant: "accent", card: "hairline depth-1 bg-surface", }, next: { label: "Next", variant: "outline", card: "hairline depth-1 bg-surface", }, "north-star": { label: "North star", variant: "ghost", card: "border border-dashed border-line bg-transparent", }, }; /** Multi-dataset roadmap: live anchor → next corpus → north-star evaluation. */ export default function RoadmapStrip({ items }: RoadmapStripProps) { return (
{item.stat && ( {item.stat} )} {item.detail}