Top Nav Unauth
Unauthenticated FFG header with primary nav links and sign-in CTAs instead of the avatar dropdown.
Installation
pnpm dlx shadcn@latest add @ffg/top-nav-unauthUsage
"use client"
import { TopNavUnauth } from "@/components/ui/top-nav-unauth"
<TopNavUnauth
links={[
{ label: "Dashboard", href: "/dashboard-unauth" },
{ label: "Organizations", href: "/organizations-unauth" },
]}
loginHref="/login"
signupHref="/signup"
onNavigate={(href) => router.push(href)}
/>Same router-decoupling pattern as TopNav. Accepts logoSlot, loginHref, signupHref, padded, and stuck. Imports NavLinks and NavMenu from @ffg/top-nav to keep the mobile hamburger behaviour consistent.