"use client"; import { ChevronRight } from "lucide-react"; import { useState } from "react"; import { Button } from "@/components/ui/button"; import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, } from "@/components/ui/navigation-menu"; import { cn } from "@/lib/utils"; const ITEMS = [ { label: "ویژگی‌ها", href: "#", dropdownItems: [ { title: "تیم‌های محصول مدرن", href: "#", description: "بر پایه عادت‌هایی ساخته شده که موفق‌ترین تیم‌های محصول را موفق می‌کند", }, { title: "تخصیص منابع", href: "#", description: "تخصیص منابع و اجرا را بهینه و یکپارچه کنید", }, ], }, { label: "درباره ما", href: "#" }, { label: "قیمت‌گذاری", href: "#" }, { label: "سوالات متداول", href: "#" }, { label: "تماس", href: "#" }, ]; interface Navbar6Props { contained?: boolean; className?: string; } const Navbar6 = ({ contained = false, className }: Navbar6Props) => { const [isMenuOpen, setIsMenuOpen] = useState(false); const [openDropdown, setOpenDropdown] = useState(null); const mobilePanelPosition = contained ? "absolute" : "fixed"; return (
لوگو {ITEMS.map((link) => link.dropdownItems ? ( {link.label} ) : ( {link.label} ), )}
); }; export { Navbar6 };