"use client" import { useEffect, useState } from "react" import Head from "next/head" import Script from "next/script" import { cn } from "@/lib/utils" import { useStore } from "@/app/state/useStore" import { Main } from "./main" // https://nextjs.org/docs/pages/building-your-application/optimizing/fonts export default function Page() { const view = useStore(s => s.view) const [isLoaded, setLoaded] = useState(false) useEffect(() => { setLoaded(true) }, []) return ( <>