"use client"; import { NavigationMenu, NavigationMenuItem, NavigationMenuList } from "@radix-ui/react-navigation-menu"; import Image from "next/image"; import Link from "next/link"; import ThemeToggle from "../ui/theme-toggle"; import { NAVBAR } from "@/constants"; import { buttonVariants } from "../ui/button"; import MobileNav from "./MobileNav"; import { usePathname } from "next/navigation"; import Logo from "./Logo"; const Navbar = () => { const pathname = usePathname(); return (
{/* LOGO LEFT NAVBAR */} SVR.JS {/* Mobile view */} {/* Desktop Menu */} {NAVBAR.rightLinks?.map(({ href = "", label, target }) => ( Git ))}
); }; export default Navbar;