"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; import { RefreshIndicator } from "@/components/refresh-indicator"; import { ThemeSwitcher } from "@/components/theme-switcher"; const tabs = [ { href: "/", label: "Dashboard", key: "1" }, { href: "/infrastructure", label: "Infrastructure", key: "2" }, { href: "/media", label: "Media", key: "3" }, { href: "/automations", label: "Automations", key: "4" }, { href: "/expenses", label: "Expenses", key: "5" }, { href: "/network", label: "Network", key: "6" }, { href: "/logs", label: "Logs", key: "7" }, ]; export function Nav() { const pathname = usePathname(); const today = new Date().toLocaleDateString("en-US", { weekday: "long", year: "numeric", month: "long", day: "numeric", }); return ( ); }