"use client"; import React, { useState } from "react"; import Link from "next/link"; import Image from "next/image"; import { usePathname } from "next/navigation"; import classnames from "classnames"; import { GiHamburgerMenu } from "react-icons/gi"; import { MdOutlineRestaurantMenu } from "react-icons/md"; const NavBar = () => { const currentPath = usePathname(); console.log(currentPath); const [toggle_menu, set_toggle_menu] = useState(false); // Create an array to hold the list items const links = [ { label: "Menu", href: "/menu" }, { label: "About", href: "/about-us" }, { label: "Contact", href: "/contact" }, { label: "Gallery", href: "/gallery" }, { label: "Reviews", href: "/reviews" }, // { label: "Dashboard", href: "/dashboard" }, // { label: "Users", href: "/users" }, { label: "Issues", href: "/issues" }, ]; return ( ); }; export default NavBar;