"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { useTranslations } from "next-intl" import { Calendar, Cannabis, History, LayoutDashboard, LogOut, Megaphone, MessageSquare, User } from "lucide-react" import { mockPortalUser } from "@/data/mock/portal" import { cn } from "@/lib/utils" import { ModeDropdown } from "@/components/layout/mode-dropdown" const navItems = [ { href: "/portal/dashboard", icon: LayoutDashboard, labelKey: "dashboard" }, { href: "/portal/info-board", icon: Megaphone, labelKey: "infoBoard" }, { href: "/portal/events", icon: Calendar, labelKey: "events" }, { href: "/portal/forum", icon: MessageSquare, labelKey: "forum" }, { href: "/portal/history", icon: History, labelKey: "history" }, { href: "/portal/profile", icon: User, labelKey: "profile" }, ] as const export function PortalNavbar() { const t = useTranslations("portal") const pathname = usePathname() return (
{/* Logo + Club Name */}
{mockPortalUser.clubName} {/* Navigation Links */} {/* Right Side: Theme + Logout */}
{t("logout")}
) }