import { IStream } from "@/lib/streams";
import NotFound from "app/vt/[slug]/not-found";
import { LocalizedDate } from "./localized-date";
import Link from "next/link";
import ChaturbateIcon from "@/components/icons/chaturbate";
import FanslyIcon from "@/components/icons/fansly";
import Image from "next/legacy/image";
export interface IStreamProps {
stream: IStream;
}
export function Stream({ stream }: IStreamProps) {
if (!stream) return
{JSON.stringify(stream, null, 2)}
{/*
//
// {JSON.stringify(stream, null, 2)}
//
//
// )
const archiveStatus = stream.attributes.archiveStatus;
const archiveStatusClassName = (() => {
if (archiveStatus === 'missing') return 'is-danger';
if (archiveStatus === 'good') return 'is-success';
if (archiveStatus === 'issue') return 'is-warning';
})();
return (
{JSON.stringify(stream, null, 2)}
*/}