import Link from "next/link"; /** Previous and next year of a calendar page; the current year is the page without a year. */ export function YearNav({ base, year, current, around }: { base: string; year: number; current: number; around: number }) { const href = (y: number) => (y === current ? base : `${base}/${y}`); return ( ); }