"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 Reserve from "./reserveButton"; import "./NavBar.css"; import { GiHamburgerMenu } from "react-icons/gi"; import { AiOutlineInstagram, AiOutlineFacebook, AiOutlineTwitter, } from "react-icons/ai"; import { FaTiktok } from "react-icons/fa"; const NavBar = () => { const currentPath = usePathname(); console.log(currentPath); const [menu_open, set_menu_open] = useState(false); const handleNav = () => { set_menu_open(!menu_open); }; // Create an array to hold the list items const links = [ { label: "HOME", href: "/" }, { label: "MENU", href: "/menu" }, { label: "GALLERY", href: "/gallery" }, ]; // Create an array to hold the list items const links2 = [ { label: "ABOUT", href: "/about-us" }, { label: "REVIEWS", href: "/reviews" }, { label: "CONTACT", href: "/contact" }, // { label: "Dashboard", href: "/dashboard" }, // { label: "RESERVE", href: "/reservations" }, // { label: "Issues", href: "/issues" }, ]; return ( ); }; export default NavBar;