import Link from "next/link"; import { auth, signOut } from "@/auth"; import { NavLinks } from "./nav-links"; import { SignOutButton } from "./sign-out-button"; import { Wordmark } from "./wordmark"; export async function Nav() { const session = await auth(); const signOutAction = async () => { "use server"; await signOut({ redirectTo: "/login" }); }; return (
{/* eslint-disable-next-line @next/next/no-img-element */} KNUR.APP
); }