import React, {Fragment, ReactNode} from 'react'
import {usePathname} from 'next/navigation'
import {Popover, Transition} from '@headlessui/react'
import clsx from 'clsx'
import Link from 'next/link'
import {ChevronDownIcon} from '@/components/icons/ChevronDownIcon'
import {CloseIcon} from '@/components/icons/CloseIcon'
import {Props} from '@/types'
function MobileNavItem({href, children}: { href: string } & Props) {
return (
{children}
)
}
export function MobileNavigation(props: Props) {
return (
Menu
Navigation
)
}
function NavItem({href, children}: { href: string } & Props) {
let isActive = usePathname() === href
return (