"use client" import { useState, useEffect } from "react" import { Plane, Menu, X } from "lucide-react" import { Button } from "@/components/ui/button" import { ModeToggle } from "@/components/mode-toggle" import { cn } from "@/lib/utils" const navLinks = [ { label: "Problem", href: "#problem" }, { label: "Vision", href: "#vision" }, { label: "Models", href: "#models" }, { label: "Why lol", href: "#why-lol" }, ] export function Navigation() { const [scrolled, setScrolled] = useState(false) const [mobileOpen, setMobileOpen] = useState(false) useEffect(() => { const onScroll = () => setScrolled(window.scrollY > 50) window.addEventListener("scroll", onScroll, { passive: true }) return () => window.removeEventListener("scroll", onScroll) }, []) const scrollTo = (href: string) => { setMobileOpen(false) const el = document.querySelector(href) el?.scrollIntoView({ behavior: "smooth" }) } return ( ) }