diff --git a/components/navbar/index.tsx b/components/navbar/index.tsx new file mode 100644 index 0000000..98afd9b --- /dev/null +++ b/components/navbar/index.tsx @@ -0,0 +1,60 @@ +"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 ( + +
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ ); +}