import Link from "next/link"; import { ArrowRight, Layers } from "lucide-react"; import { formatDateTimeRange } from "@/lib/date"; import type { EventSeriesRef, NextInSeries } from "@/types"; /** On an event page: the series it belongs to, and the next event in that series. */ export function SeriesLinks({ series, next }: { series?: EventSeriesRef | null; next?: NextInSeries | null }) { if (!series) return null; return (