'use client' import { Fragment, useState } from 'react' import { Dialog, DialogBackdrop, DialogPanel, Popover, PopoverButton, PopoverGroup, PopoverPanel, Tab, TabGroup, TabList, TabPanel, TabPanels, } from '@headlessui/react' import { Bars3Icon, MagnifyingGlassIcon, ShoppingBagIcon, XMarkIcon } from '@heroicons/react/24/outline' const navigation = { categories: [ { id: 'armory', name: 'Armory', featured: [ { name: 'Build Alpha', href: '#', imageSrc: 'https://images.unsplash.com/photo-1700774607099-8c4631ee9764?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D', imageAlt: 'Rad AR15.', }, { name: 'Build Beta', href: '#', imageSrc: 'https://images.unsplash.com/photo-1669489890884-baff10f74b49?q=80&w=2899&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D', imageAlt: 'Rad AR15.', }, ], sections: [ { id: 'lower-parts', name: 'Lower Parts', items: [ { name: 'Lower Receivers', href: '#' }, { name: 'Grips', href: '#' }, { name: 'Stocks', href: '#' }, { name: 'Triggers', href: '#' }, { name: 'Parts', href: '#' }, ], }, { id: 'upper-parts', name: 'Upper Parks', items: [ { name: 'Upper Receiver', href: '#' }, { name: 'Barrels', href: '#' }, { name: 'Handguards', href: '#' }, { name: 'Muzzle Devices', href: '#' }, ], }, { id: 'brands', name: 'Brands', items: [ { name: 'Full Nelson', href: '#' }, { name: 'My Way', href: '#' }, { name: 'Re-Arranged', href: '#' }, { name: 'Counterfeit', href: '#' }, { name: 'Significant Other', href: '#' }, ], }, ], }, ], pages: [ { name: 'Menu 2', href: '#' }, ], } export default function PopNav() { const [open, setOpen] = useState(false) return (
Get free delivery on orders over $100
*/}