import Link from "next/link"; import clsx from "clsx"; const TONE = { expired: "border-l-expired text-expired", warn: "border-l-warn text-warn", accent: "border-l-accent text-accent", } as const; export function Queue({ title, count, tone, items, }: { title: string; count: number; tone: keyof typeof TONE; items: { label: string; href: string; meta: string }[]; }) { return (

{title}

{count}

{items.length === 0 ? (

Nothing to do here.

) : ( )}
); }