import Link from "next/link"; import type { IVtuber } from '@/lib/vtubers'; import { getVodsForVtuber } from "@/lib/vods"; import Image from "next/legacy/image" import NotFound from "app/vt/[slug]/not-found"; import ArchiveProgress from "./archive-progress"; export default async function VTuberCard(vtuber: IVtuber) { const { id, attributes: { slug, displayName, imageBlur, image }} = vtuber; if (!imageBlur) return
this is a vtubercard with an invalid imageBlur={imageBlur}
const vods = await getVodsForVtuber(id) if (!vods) return{displayName}