1import{u as h,j as e,A as o}from"./index-BkAxYJYB.js";import{u as b,b as d,L as s}from"./react-vendor-iJun6VP1.js";import"./supabase-vendor-o79c1kQX.js";function k(){var l;const a=h(),{pathname:p}=b();(l=a.settings)!=null&&l.support_email;const c=p==="/",[x,m]=d.useState(!1);d.useEffect(()=>{const i=()=>m(window.scrollY>80);return i(),window.addEventListener("scroll",i,{passive:!0}),()=>window.removeEventListener("scroll",i)},[]);const t=c&&!x,f=a.name.replace(/\s*directories\s*$/i,""),u=t?"transparent":o.color.paper,y=t?"rgba(255,255,255,0.12)":o.color.rule,r=t?o.color.white:o.color.ink,g=t?o.color.premium:o.color.primary,n=t?"0 1px 12px rgba(0,0,0,0.5)":"none";return e.jsx("header",{style:{background:u,borderBottom:`1px solid ${y}`,padding:"16px 24px",fontFamily:o.font.body,color:r,position:c?"fixed":"sticky",top:0,left:0,right:0,zIndex:50,transition:"background 0.25s ease, color 0.25s ease, border-color 0.25s ease"},children:e.jsxs("div",{style:{maxWidth:1200,margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"space-between",gap:24,flexWrap:"wrap"},children:[e.jsxs(s,{to:"/",style:{fontFamily:o.font.heading,fontSize:28,fontWeight:700,letterSpacing:"-0.01em",color:r,textDecoration:"none",lineHeight:1,textShadow:n,transition:"color 0.25s ease"},children:[e.jsx("span",{children:f}),e.jsx("span",{style:{color:g,marginLeft:6,transition:"color 0.25s ease"},children:"Directories"})]}),e.jsxs("nav",{style:{display:"flex",alignItems:"center",gap:24,fontFamily:o.font.body,fontSize:15},children:[e.jsx(s,{to:"/#sections",style:{color:r,textDecoration:"none",textShadow:n,transition:"color 0.25s ease"},children:"Sections"}),e.jsx(s,{to:"/#cities",style:{color:r,textDecoration:"none",textShadow:n,transition:"color 0.25s ease"},children:"Cities"}),e.jsx(s,{to:"/directory/list-your-business",style:{background:o.color.primary,color:o.color.white,padding:"10px 18px",borderRadius:6,textDecoration:"none",fontWeight:600,fontSize:14},children:"List your business"})]})]})})}export{k as default};
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.