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(); return ( <> {vtuber && ( <>
{vtuber.description_1}
{vtuber.description_2}
No VODs have been added, yet.
) }