import { getServerSession } from "next-auth"; import { authOptions } from "@/app/api/auth/[...nextauth]/route"; import Nav from "@/ui/layout/nav"; import Wrapper from "./wrapper"; import Footer from "@/ui/layout/footer"; export default async function Page() { const session = await getServerSession(authOptions); return ( <>