'use client' import Image from "next/image"; import React, { useState } from "react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import MenuLink from "./MenuLink"; import MenuLinkTwo from "./MenuLinkTwo"; const HomeDropdown = [ { img: "home06", routerPath: "/", inenerText: "", inenerTextWrapClass: "", clasName: `dropdown-item img-box`, title: "Product Landing Dark", }, { img: "home01", routerPath: "/home", inenerText: "", inenerTextWrapClass: "", clasName: `dropdown-item img-box`, title: "Event Organizer", }, { img: "home02", routerPath: "/doc-landing", inenerText: "", inenerTextWrapClass: "", clasName: `dropdown-item img-box`, title: "Doc Landing", }, { img: "home03", routerPath: "/project-management", inenerText: "", inenerTextWrapClass: "", clasName: `dropdown-item img-box`, title: "Project Management", }, ]; const Pricing = [ { name: "Customer Support", routerPath: "/pricing-cs", }, { name: "Event Organiser", routerPath: "/pricing-eo", }, { name: "Project Management", routerPath: "/pricing-pm", }, ]; const AboutUs = [ { name: "Customer Support", routerPath: "/about-cs", }, { name: "Event Organiser", routerPath: "/about-eo", }, { name: "Project Management", routerPath: "/about-pm", }, { name: "Documentation", routerPath: "/about-doc", }, ]; const ContactUS = [ { name: "Customer Support", routerPath: "/contact-cs", }, { name: "Event Organiser", routerPath: "/contact-eo", }, { name: "Project Management", routerPath: "/contact-pm", }, { name: "Documentation", routerPath: "/contact-doc", }, ]; const Team = [ { name: "Team Version 01", routerPath: "/team-1", }, { name: "Team Version 02", routerPath: "/team-2", }, { name: "Team Version 03", routerPath: "/team-3", }, { name: "Team Version 04", routerPath: "/team-4", }, { name: "Team Version 05", routerPath: "/team-5", }, { name: "Team Version 06", routerPath: "/team-6", }, { name: "Team Details", routerPath: "/teams/1", }, { name: "Team Details Slider", routerPath: "/team-details-v2/1", }, ]; const Services = [ { name: "Service Version 01", routerPath: "/service-v1", }, { name: "Service Version 02", routerPath: "/service-v2", }, { name: "Service Version 03", routerPath: "/service-v3", }, { name: "Service Version 04", routerPath: "/service-v4", }, { name: "Service Details", routerPath: "/services/1", }, ]; const Miscellaneous = [ { name: "Terms & Condition", routerPath: "/terms-conditions", }, { name: "Login", routerPath: "/login", }, { name: "Signup", routerPath: "/signup", }, { name: "404", routerPath: "/not-found", }, ]; const Portfolio = [ { name: "Classic Style", routerPath: "/classic-style", }, { name: "Grid 2 Columns", routerPath: "/grid-two-col", }, { name: "Grid 3 Columns", routerPath: "/grid-three-col", }, { name: "Gallery Slider", routerPath: "/gallery-slider", }, { name: "Grid Single", routerPath: "/grid-single", }, { name: "Classic Details", routerPath: "/portfolios/3", }, ]; const Blogs = [ { name: "Blog Version 01", routerPath: "/blog-v1", }, { name: "Blog Version 02", routerPath: "/blog-v2", }, { name: "Blog Version 03", routerPath: "/blog-v3", }, { name: "Blog Version 04", routerPath: "/blog-v4", }, { name: "Blog Version 05", routerPath: "/blog-v5", }, { name: "Blog Version 06", routerPath: "/blog-v6", }, { name: "Blog Details", routerPath: "/blogs/1", }, ]; const Docs = [ { name: "Full Width", routerPath: "/doc-full-width", }, { name: "Full Width Banner", routerPath: "/doc-full-width-banner", }, { name: "Doc Box", routerPath: "/doc-box", }, { name: "Doc Box With Banner", routerPath: "/doc-box-with-banner", }, { name: "Changelog ***", routerPath: "/changelog", }, ]; const MegaMenu = () => { const pathname = usePathname(); const [currentTopRoute, setCurrentTopRoute] = useState('Home') return ( ); // End navbar nav mega menu main }; export default MegaMenu;