import { cn } from "@/lib/utils"; interface NewBadgeProps { slug: string; className?: string; } /** * Renders a small "2026" pill on icons that are part of the year-tagged * brand refresh series (slug ends with `-2026`). Future year-suffixed sets * (e.g. `-2027`) will be picked up automatically. */ export function NewBadge({ slug, className }: NewBadgeProps) { const match = /-(\d{4})$/.exec(slug); if (!match) return null; const year = match[1]; return ( {year} ); }