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 { 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(); // @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.displayName}

{vtuber.attributes.displayName}

{vtuber.attributes.description1}

{vtuber.attributes.description2}

Socials

{vtuber.attributes.patreon && (
Patreon
)} {vtuber.attributes.twitter && (
Twitter
)} {vtuber.attributes.youtube && (
YouTube
)} {vtuber.attributes.twitch && (
Twitch
)} {vtuber.attributes.tiktok && (
TikTok
)} {vtuber.attributes.fansly && (
Fansly
)} {vtuber.attributes.onlyfans && (
OnlyFans
)} {vtuber.attributes.pornhub && (
Pornhub
)} {vtuber.attributes.reddit && (
Reddit
)} {vtuber.attributes.discord && (
Discord
)} {vtuber.attributes.instagram && (
Instagram
)} {vtuber.attributes.facebook && (
Facebook
)} {vtuber.attributes.merch && (
Merch
)} {vtuber.attributes.chaturbate && (
Chaturbate
)} {vtuber.attributes.throne && (
Throne
)} {vtuber.attributes.linktree && (
Linktree
)} {vtuber.attributes.carrd && (
Carrd
)}
{/*

Toys

<> {(toys.pagination.total > toySampleCount) && See all of {vtuber.displayName}'s toys} */}

Vods

{ (vods.data) ? ( See all {vtuber.attributes.displayName} vods ) : (

No VODs have been added, yet.

) }
)} ); }