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: Promise<{ 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 async function VerticalArchivePage({ params }: Props) { const { vertical: verticalSlug } = await params const vertical = VERTICALS.find((v) => v.slug === verticalSlug) if (!vertical) { notFound() } return (

{vertical.name} Archive

Browse shows by year.

{years.map((year) => (
{year}
Browse Shows
))}
) }