import VodsList from '@/app/components/vods-list'; import Link from 'next/link'; import { getVtuberBySlug } from '@/app/lib/vtubers' import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faExternalLinkAlt, faBagShopping } from "@fortawesome/free-solid-svg-icons"; import { faFacebook, faInstagram, faPatreon, faYoutube, faTwitch, faTiktok, faXTwitter, faReddit, faDiscord } from "@fortawesome/free-brands-svg-icons"; import Image from "next/legacy/image"; import OnlyfansIcon from "@/app/components/icons/onlyfans"; import PornhubIcon from '@/app/components/icons/pornhub'; import ThroneIcon from '@/app/components/icons/throne'; import LinktreeIcon from '@/app/components/icons/linktree'; import FanslyIcon from '@/app/components/icons/fansly'; import ChaturbateIcon from '@/app/components/icons/chaturbate'; import CarrdIcon from '@/app/components/icons/carrd'; import styles from '@/assets/styles/icon.module.css'; import { getVodsForVtuber } from '@/app/lib/vods'; import { notFound } from 'next/navigation'; import ArchiveProgress from '@/app/components/archive-progress'; import { getAllStreamsForVtuber, getStreamsForVtuber } from '@/app/lib/streams'; import LinkableHeading from '@/app/components/linkable-heading'; export default async function Page({ params }: { params: { slug: string } }) { const vtuber = await getVtuberBySlug(params.slug); if (!vtuber) notFound(); const vods = await getVodsForVtuber(vtuber.id, 1, 9); if (!vods) notFound(); // @todo // const missingStreams = await getAllStreamsForVtuber(vtuber.id, ['missing']); // const issueStreams = await getAllStreamsForVtuber(vtuber.id, ['issue']); // const goodStreams = await getAllStreamsForVtuber(vtuber.id, ['good']); // return ( // <> //
hi mom!
//
//
// {JSON.stringify(missingStreams, null, 2)}
//
//
// >
// )
return (
<>
{vtuber && (
<>
{vtuber.attributes.description1}
{vtuber.attributes.description2}
No VODs have been added, yet.
) }