import Link from "next/link"; import { getSafeDate } from '@/app/lib/dates'; import { IVtuber } from 'types'; import Image from "next/legacy/image" import { LocalizedDate } from '@/app/components/localized-date' interface IVodCardProps { id: number; title: string; date: string; muxAsset: string | undefined; thumbnail: string | undefined; vtuber: IVtuber; } export default function VodCard({id, title, date, muxAsset, thumbnail = 'https://futureporn-b2.b-cdn.net/default-thumbnail.webp', vtuber}: IVodCardProps) { if (!vtuber?.attributes?.slug) return
VOD {id} is missing VTuber
{vtuber.attributes.displayName}
{title}