'use client'; import { useEffect, useRef, useState } from 'react'; import { Activity, ArrowUpRight, Bell, ChevronDown, ClipboardList, LayoutGrid, Menu, Search, X, Zap, } from 'lucide-react'; import Link from 'next/link'; import * as Button from '@/components/ui/button'; import * as LinkButton from '@/components/ui/link-button'; const nav: Array<{ label: string; href?: string; isnew?: boolean; navMenu?: boolean; }> = [ { label: 'Products', href: '/' }, { label: 'Solutions', navMenu: true }, { label: 'Pricing', href: '/' }, { label: 'Contact', href: '/' }, ]; function NavDropdownMenu() { return (
QUICK ACCESS HUB
Quick access hub
Manage projects in one unified workspace.
Overview Workflow Checklists
v.1.5.69 · Apex Tech™
TOOLS
Centralized workspace Real-time sync Smart alerts Fast lookups
SUPPORTS
Help center Getting started Community forum
); } const Logo = ({ className }: { className?: string }) => ( ); export default function CenteredPillMegaMenuHeader() { const [isMenuOpen, setIsMenuOpen] = useState(false); const [activeNavMenu, setActiveNavMenu] = useState(null); const navContentRef = useRef(null); const [navHeight, setNavHeight] = useState(0); useEffect(() => { if (navContentRef.current) { setNavHeight(navContentRef.current.scrollHeight); } }, [activeNavMenu]); useEffect(() => { document.body.style.overflow = isMenuOpen ? 'hidden' : ''; return () => { document.body.style.overflow = ''; }; }, [isMenuOpen]); const toggleMenu = () => { setIsMenuOpen(!isMenuOpen); }; const toggleNavMenu = (label: string) => { setActiveNavMenu(activeNavMenu === label ? null : label); }; return (
Get started
); }