component PublicHeader { types { interface PublicHeaderNavigationItem { label: string href: string ariaLabel?: string target?: string } interface PublicHeaderActionItem extends PublicHeaderNavigationItem { variant?: "primary" | "secondary" | "ghost" } } props { class: string = "" homeHref: string = "/" brandName: string = "WrNexus" brandTagline: string = "Identity Cloud" brandAriaLabel: string = "WrNexus home" brandIcon: string = "icon-[lucide--blocks]" pricingLabel: string = "Pricing" pricingHref: string = "/pricing" statusLabel: string = "All systems operational" statusHref: string = "/status" signInLabel: string = "Sign in" signInHref: string = "/sign-in" primaryLabel: string = "Start free" primaryHref: string = "/sign-up" showStatus: boolean = true showThemeToggle: boolean = true showSignIn: boolean = true showPrimaryAction: boolean = true productLabel: string = "Product" solutionsLabel: string = "Solutions" developersLabel: string = "Developers" resourcesLabel: string = "Resources" navigationAriaLabel: string = "Main navigation" themeToggleLabel: string = "Toggle color theme" mobileMenuOpenLabel: string = "Open navigation menu" mobileMenuCloseLabel: string = "Close navigation menu" navigationItems: PublicHeaderNavigationItem[] = [] actionItems: PublicHeaderActionItem[] = [] showNavigation: boolean = true showMobileThemeToggle: boolean = true } state activeMenu = "" state mobileMenuOpen = false state headerScrolled = false view {
{brandName} {brandTagline}
{#if navigationItems.length > 0 || actionItems.length > 0} {:else} {/if}
} }