import { useState, useEffect } from 'react' import { Download, Menu, X, ShoppingBag } from 'lucide-react' import { Link } from 'react-router-dom' import Logo from './Logo' import { BTP_ENGINE_LABEL } from '../constants/version' export default function Navbar() { const [scrolled, setScrolled] = useState(false) const [mobileOpen, setMobileOpen] = useState(false) useEffect(() => { const scrollHandler = () => setScrolled(window.scrollY > 20) window.addEventListener('scroll', scrollHandler, { passive: true }) return () => window.removeEventListener('scroll', scrollHandler) }, []) return (
{/* Top Ambient Glow Line */}
{/* Brand Logo */}
{/* Monospace Desktop Nav Links */} {/* Action Buttons */}
{/* Product Hunt Mark */} {/* GitHub Mark */} {/* Quick Install Button */} {/* Storefront / Shop Icon Button */}
{/* Mobile Hamburger */}
{/* Mobile Drawer */} {mobileOpen && (
[STATUS: ACTIVE] {BTP_ENGINE_LABEL}
setMobileOpen(false)} className="block text-sm font-mono text-emerald-400 hover:text-emerald-300" > [10-SECOND QUICKSTART] setMobileOpen(false)} className="block text-sm font-mono text-[#d4d4d8] hover:text-[#ffffff]" > [THREAT MODEL & FAQ] setMobileOpen(false)} className="block text-sm font-mono text-[#d4d4d8] hover:text-[#ffffff]" > [SWARM ARENA] setMobileOpen(false)} className="block text-sm font-mono text-[#d4d4d8] hover:text-[#ffffff]" > [UNIVERSAL COOKBOOK] setMobileOpen(false)} className="block text-sm font-mono text-[#d4d4d8] hover:text-[#ffffff]" > [COMPLIANCE TIMELINE] setMobileOpen(false)} className="block text-sm font-mono text-cyan-400 hover:text-cyan-300" > [CLOUD SAAS CONSOLE]
setMobileOpen(false)} className="w-full py-2.5 text-xs font-mono font-bold bg-[#10b981]/15 border border-[#10b981]/40 text-[#10b981] text-center flex items-center justify-center gap-2 rounded-lg shadow-[0_0_12px_rgba(16,185,129,0.15)]" > INSTALL BTP RUNTIME
)}
) }