'use client' import { useAuth, LoginButton, LogoutButton } from "../components/auth" import { patreonVideoAccessBenefitId } from "../lib/constants"; import UserControls from "../components/user-controls"; import Skeleton, { SkeletonTheme } from "react-loading-skeleton" import { skeletonHeight, skeletonBorderRadius, skeletonBaseColor, skeletonHighlightColor } from '../lib/constants' export default function Page() { const { authData } = useAuth() const isLoggedIn = (!!authData?.accessToken) const isEntitledToCDN = (!!authData?.user?.patreonBenefits.split(',').includes(patreonVideoAccessBenefitId)) if (!authData) { return
Welcome to Futureporn, {authData?.user?.username || 'chatmember'}! It seems that you are not a patron yet. Please log out and log in again if you believe this is an error. Thank you for your interest!