import { auth } from "@/auth"; import { redirect } from "next/navigation"; import Link from "next/link"; export default async function WelcomePage() { const session = typeof auth === "function" ? await auth() : null; if (session) { redirect("/board"); } return (
Welcome Page