import VodsList from '@/components/vods-list'; import Link from 'next/link'; import { getVtuberBySlug } from '@/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/image'; import OnlyfansIcon from "@/components/icons/onlyfans"; import PornhubIcon from '@/components/icons/pornhub'; import ThroneIcon from '@/components/icons/throne'; import LinktreeIcon from '@/components/icons/linktree'; import FanslyIcon from '@/components/icons/fansly'; import ChaturbateIcon from '@/components/icons/chaturbate'; import CarrdIcon from '@/components/icons/carrd'; import styles from '@/assets/styles/icon.module.css'; import { getVodsForVtuber } from '@/lib/vods'; import { notFound } from 'next/navigation'; import ArchiveProgress from '@/components/archive-progress'; import StreamsCalendar from '@/components/streams-calendar'; import { getAllStreamsForVtuber, getStreamsForVtuber } from '@/lib/streams'; import LinkableHeading from '@/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 '@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.
) // } //