'use client'; import { useState } from 'react'; import Link from 'next/link'; import { ZenEnso } from '@/components/ZenEnso'; const NAV_LINKS = [ { text: 'Models', href: '/docs/models' }, { text: 'API', href: '/docs/api' }, { text: 'Pricing', href: '/docs/api/pricing' }, { text: 'Training', href: '/docs/training' }, ]; export function FloatingNav() { const [open, setOpen] = useState(false); return (
{/* Pill container */}
{/* Main bar */}
{/* Logo */} setOpen(false)} > Zen LM {/* Desktop nav links */} {/* Right side: spacer on mobile, login + CTA on desktop */}
{/* Mobile hamburger */}
{/* Mobile dropdown */} {open && (
{NAV_LINKS.map((link) => ( setOpen(false)} > {link.text} ))}
)}
); }