'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { ArrowRight } from 'lucide-react'; import { buttonVariants } from '@/components/ui/Button'; import { LikeBurst } from '@/components/effects/LikeBurst'; import { BrandMark } from '@/components/brand/BrandMark'; import { GITHUB_SPONSORS_URL, GITHUB_URL, MARKETING_NAV_LINKS } from '@/lib/constants'; import { cn } from '@/lib/cn'; // lucide-react dropped brand marks, so the GitHub glyph is inlined here. function GithubIcon({ className }: { className?: string }) { return ( ); } interface LandingNavProps { /** Auth state has been resolved (avoids rendering the wrong CTA on first paint). */ hydrated: boolean; isAuthenticated: boolean; } /** * Top bar for the public pages: brand mark, the marketing tabs, then GitHub, * Sponsor and the auth entry points. Guests get Sign In/Sign Up; a signed-in * visitor gets a single "Go to Panel" shortcut into the app. * * The tab strip stays lime: it is chrome, and lime is the brand hue. Per-module * neon belongs to the pages themselves, not to the bar above them. */ export default function LandingNav({ hydrated, isAuthenticated }: LandingNavProps) { const pathname = usePathname(); return (
); }