"use client"; import Link from "next/link"; import { useEffect, useState } from "react"; import BoldIcon from "@/components/ui/BoldIcon"; import { cn } from "@/lib/utils"; import { PAGE_SHELL_CLASS } from "@/constants/pageLayout"; import { useTranslation } from "react-i18next"; import { useTheme } from "@/contexts/ThemeContext"; import { glassBackdropStyle } from "@/lib/glassBackdrop"; const TAB_KEYS = [ { href: "/", icon: "home-2", labelKey: "tabs.home" }, { href: "/academy", icon: "teacher", labelKey: "tabs.academy" }, { href: "/projects", icon: "briefcase", labelKey: "tabs.projects" }, { href: "/billboards", icon: "flash-circle", labelKey: "tabs.billboards" }, { href: "/settings", icon: "setting", labelKey: "tabs.settings" }, ] as const; type TabNavigationProps = { currentPage: string; }; export default function TabNavigation({ currentPage }: TabNavigationProps) { const { t } = useTranslation("common"); const { isDark } = useTheme(); const [mounted, setMounted] = useState(false); useEffect(() => { setMounted(true); }, []); if (!mounted) return null; return ( ); }