"use client"; import { forwardRef, isValidElement, type AnchorHTMLAttributes, type ComponentPropsWithoutRef, type HTMLAttributes, type SVGAttributes, } from "react"; import Image from "next/image"; import Link from "next/link"; import { Transition } from "@headlessui/react"; import { Slot } from "@radix-ui/react-slot"; import { focusClasses } from "@/lib/a11y"; import { cn } from "@/lib/utils"; /* -------------------------------------------------------------------------- */ /* Navigation Root */ /* -------------------------------------------------------------------------- */ const NavRoot = forwardRef>( ({ className, ...otherProps }, ref) => { return (