PageSourceSearch

https://black-ice.ai/assets/LandingHeader-DsdCE8Mu.js

js black-ice.ai collected 2026-10-05 13:06:58 UTC 2,734 bytes, 1 lines download raw bytes

1import{r as e,j as r,L as s}from"./react-vendor-DhSP975V.js";import{u as t,q as a,B as n,c as i}from"./index-BRTDjk9K.js";import{T as o}from"./ThemeToggle-CSzQJDhm.js";import{H as d}from"./icons-vendor-DGAlFwT6.js";import"./query-vendor-n0_7bG_F.js";import"./ui-vendor-DdP2sx6P.js";import"./supabase-vendor-BlcNSqHb.js";function l(){const[l,c]=e.useState(!1),{t:m}=t("header"),{t:p}=t("common"),x=a();return e.useEffect(()=>{const e=()=>{c(window.scrollY>20)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),r.jsx("header",{className:i("fixed top-0 left-0 right-0 z-50 transition-all duration-300",l?"bg-background/60 backdrop-blur-xl border-b border-border/30 py-3":"bg-transparent py-5"),children:r.jsxs("div",{className:"container mx-auto px-6 flex items-center justify-between",children:[r.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[r.jsxs(s,{to:"/",className:"flex items-center gap-2 group",children:[r.jsxs("div",{className:"relative flex-shrink-0",children:[r.jsx(d,{className:"w-7 h-7 sm:w-8 sm:h-8 text-primary transition-all duration-300 group-hover:text-primary/80"}),r.jsx("div",{className:"absolute inset-0 bg-primary/20 blur-lg opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}),r.jsx("span",{className:"text-base sm:text-lg font-semibold text-foreground tracking-tight whitespace-nowrap",children:p("brand")})]}),r.jsx(o,{})]}),r.jsxs("div",{className:"flex items-center gap-1 sm:gap-2 flex-shrink-0",children:[r.jsx(s,{to:"/docs",className:"hidden sm:inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors px-3 py-2",children:r.jsx("span",{children:m("nav.docs")})}),r.jsx(s,{to:"/pricing",className:"hidden sm:inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors px-3 py-2",children:r.jsx("span",{children:m("nav.pricing")})}),x?r.jsx(s,{to:"/dashboard",children:r.jsxs(n,{className:"bg-primary text-primary-foreground hover:bg-primary/90 transition-all duration-200 whitespace-nowrap",size:"sm",children:[r.jsx("span",{className:"hidden sm:inline",children:m("cta.dashboardLong")}),r.jsx("span",{className:"sm:hidden",children:m("cta.dashboardShort")})]})}):r.jsxs(r.Fragment,{children:[r.jsx(s,{to:"/auth",children:r.jsx(n,{variant:"ghost",className:"text-muted-foreground hover:text-foreground hover:bg-white/5 transition-all duration-200",size:"sm",children:m("cta.signIn")})}),r.jsx(s,{to:"/auth",children:r.jsx(n,{className:"bg-primary text-primary-foreground hover:bg-primary/90 transition-all duration-200 whitespace-nowrap",size:"sm",children:m("cta.getStarted")})})]})]})]})})}export{l as LandingHeader};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.