import { createServerComponentClient } from "@supabase/auth-helpers-nextjs"; import { cookies } from "next/headers"; import Link from "next/link"; import { buttonVariants } from "@/components/ui/button"; import LogoutButton from "@/components/logout"; export const dynamic = "force-dynamic"; export default async function Index() { const supabase = createServerComponentClient({ cookies }); const { data: { user }, } = await supabase.auth.getUser(); return (

Skalara Homepage

); }