diff --git a/frontend/app/[vertical]/archive/page.tsx b/frontend/app/[vertical]/archive/page.tsx new file mode 100644 index 0000000..a78b990 --- /dev/null +++ b/frontend/app/[vertical]/archive/page.tsx @@ -0,0 +1,50 @@ + +import { Card, CardContent } from "@/components/ui/card" +import Link from "next/link" +import { Calendar } from "lucide-react" +import { VERTICALS } from "@/config/verticals" +import { notFound } from "next/navigation" + +interface Props { + params: { vertical: string } +} + +export function generateStaticParams() { + return VERTICALS.map((v) => ({ + vertical: v.slug, + })) +} + +// TODO: Make this dynamic based on the band's history +const currentYear = new Date().getFullYear() +const years = Array.from({ length: 50 }, (_, i) => currentYear - i) + +export default function VerticalArchivePage({ params }: Props) { + const vertical = VERTICALS.find((v) => v.slug === params.vertical) + + if (!vertical) { + notFound() + } + + return ( +
Browse shows by year.
+