import Link from "next/link"; import { getSafeDate } from '@/app/lib/dates'; import { IVtuber } from '@futureporn/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?.slug) return
VOD {id} is missing VTuber.slug~
{vtuber.display_name}
{title}