PageSourceSearch

https://toolsforcreator.in/assets/Navbar-7gMqNKLm.js

js toolsforcreator.in collected 2026-10-02 01:56:58 UTC 1,582 bytes, 1 lines download raw bytes

1import{r as l,j as s,f as a}from"./jsx-runtime-DqFPc3k4.js";import{B as r}from"./button-CKrbZgXg.js";import{R as e}from"./routes-DuvPdp14.js";import{i as x}from"./index-YWus1hCp.js";const j=({children:i,centerMenu:n,bottom_b:c=!1})=>{const[d,m]=l.useState(!1),[o,h]=l.useState(!1);return l.useEffect(()=>{if(typeof window<"u"){h(x());const t=()=>{m(window.scrollY>20)};return window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}}},[]),s.jsx("header",{className:`${c?"border-b":""} sticky top-0 z-50 bg-background/80 backdrop-blur-xl ${d?"border-b shadow-sm":""}`,children:s.jsxs("div",{className:"flex items-center px-4 lg:px-6 h-14",children:[s.jsxs(a,{to:o?e?.root_dashboard:e?.home,className:"flex items-center justify-center",children:[s.jsx("div",{className:"h-7 w-7",children:s.jsx("img",{width:28,height:28,src:"/images/tfc-logo-128.webp",alt:"Tools For Creator logo",loading:"lazy"})}),s.jsx("span",{className:"text-xl font-bold m-2 hidden sm:block",children:"Tools For Creator"})]}),s.jsx("nav",{className:"m-auto hidden lg:flex",children:n}),s.jsx("div",{className:"ml-auto lg:ml-0",children:o?s.jsx("div",{className:"flex gap-3 ml-auto",children:i}):s.jsxs("nav",{className:"ml-auto flex gap-2",children:[s.jsx(a,{to:e?.login,children:s.jsx(r,{variant:"ghost",className:"rounded-full h-8",children:"Login"})}),s.jsx(a,{to:e?.signup,children:s.jsxs(r,{className:"rounded-full h-8",children:["Sign up",s.jsx("span",{className:"hidden sm:inline-block pl-1 italic font-normal opacity-80",children:"— it's free"})]})})]})})]})})};export{j as N};

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.