"use client"; import { DesktopNavbar } from "./desktop-navbar"; import { MobileNavbar } from "./mobile-navbar"; import { motion } from "framer-motion"; import { useLanguage } from "@/context/language-provider"; import { LanguageSwitcher } from "@/components/language-switcher"; interface NavItem { title: string; link: string; } export function NavBar() { const { t } = useLanguage(); const navItems: NavItem[] = [ { title: t("home"), link: "/", }, { title: t("report"), link: "#report", }, { title: t("safety"), link: "#safety", }, ]; return (
); }