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' import Skeleton from "react-loading-skeleton"; 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) { // return (
@todo W VodCard
) if (!vtuber?.slug) return (missing thumbnail
}{vtuber.display_name}
{title}