"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { useState } from "react"; import { logoutAction } from "@/server/actions/auth"; import { isActive } from "./nav"; const tab = "flex flex-1 flex-col items-center gap-0.5 py-2 text-[11px] font-medium"; export function MobileNav() { const pathname = usePathname(); const [more, setMore] = useState(false); const color = (href: string) => (isActive(pathname, href) ? "text-accent" : "text-muted"); return ( <> {more && (