import { getVodsForTag, IVod } from '@/app/lib/vods' import VodCard from '@/app/components/vod-card' import Link from 'next/link' import { getVodTitle } from '@/app/components/vod-page' import { notFound } from 'next/navigation' export default async function Page({ params }: { params: { slug: string }}) { const vods = await getVodsForTag(params.slug) if (!vods) return notFound() return (

Tagged “{params.slug}”

{vods.data.map((vod: IVod) => ( ))}

See all tags.

) }