"use client"; import { Fragment, useState } from "react"; import { Dialog, Disclosure, Popover, Transition } from "@headlessui/react"; import { ArrowPathIcon, Bars3Icon, ChartPieIcon, CursorArrowRaysIcon, FingerPrintIcon, SquaresPlusIcon, XMarkIcon, } from "@heroicons/react/24/outline"; import { ChevronDownIcon, PhoneIcon, PlayCircleIcon, } from "@heroicons/react/20/solid"; import classNames from "classnames"; import Image from "next/image"; const products = [ { name: "Analytics", description: "Get a better understanding of your traffic", href: "#", icon: ChartPieIcon, }, { name: "Engagement", description: "Speak directly to your customers", href: "#", icon: CursorArrowRaysIcon, }, { name: "Security", description: "Your customers’ data will be safe and secure", href: "#", icon: FingerPrintIcon, }, { name: "Integrations", description: "Connect with third-party tools", href: "#", icon: SquaresPlusIcon, }, { name: "Automations", description: "Build strategic funnels that will convert", href: "#", icon: ArrowPathIcon, }, ]; const callsToAction = [ { name: "Watch demo", href: "#", icon: PlayCircleIcon }, { name: "Contact sales", href: "#", icon: PhoneIcon }, ]; export default function Example() { const [mobileMenuOpen, setMobileMenuOpen] = useState(false); return (
Your Company
{({ open }) => ( <> Product {[...products, ...callsToAction].map((item) => ( {item.name} ))} )} Features Marketplace Company
); }