import Link from 'next/link'; export interface TabDef { key: string; label: string; href: string; count?: number | null; } /** * Sticky, horizontally scrollable tab bar (server component; the current tab is a route segment). * These are links to distinct URLs, so the correct semantics are a labelled