'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'; const Navbar = () => { const pathname = usePathname(); return (
{/* LOGO LEFT NAVBAR */} {`logo`} {`logo`} {/* Mobile view */} {/* Desktop Menu */}
{NAVBAR.rightLinks?.map(({ href = '', label, target }) => ( git git ))}
); }; export default Navbar;