PageSourceSearch

https://careerplatform.io/assets/MarketingShell-U-VtC9Du.js

js careerplatform.io collected 2026-09-24 15:04:11 UTC 5,401 bytes, 1 lines download raw bytes

1import{r as i,s as d,j as e,L as t}from"./index-DNidg_Qc.js";import{L as u}from"./Logo-DWRi6T6w.js";import"./dialog-B1BXKzKU.js";import"./tool-demos-DgraiMJb.js";import{W as x}from"./wand-sparkles-CRqeah3c.js";import{C as p}from"./chevron-down-CPsmHmNT.js";import{C as f}from"./chart-column-D6I4629Y.js";import{F as b}from"./file-text-BlHcyHb-.js";import{M as g}from"./mail-DIM7-Uur.js";import{L as k}from"./linkedin-DeuNArME.js";import{C as v}from"./chromium-BRz94Kop.js";import{B as j,S as w}from"./SiteFooter-m-VjVtt0.js";import{M as N}from"./mic-UwRtLMQn.js";import{C as y}from"./calendar-range-DtWa0rnV.js";import{C as S}from"./camera-CYuBMNZh.js";import{D as C}from"./dollar-sign-DLC6ZiSK.js";function L(){const[a,r]=i.useState(!1),[c,o]=i.useState(!1);i.useEffect(()=>{const{data:m}=d.auth.onAuthStateChange((s,n)=>{if(r(!!n),!n?.user){o(!1);return}if(s==="SIGNED_IN"||s==="USER_UPDATED"||s==="INITIAL_SESSION"){const h=n.user.id;setTimeout(()=>l(h),0)}});return d.auth.getSession().then(({data:s})=>{if(r(!!s.session),s.session?.user){const n=s.session.user.id;setTimeout(()=>l(n),0)}}),()=>m.subscription.unsubscribe()},[]);async function l(m){const{data:s,error:n}=await d.from("user_roles").select("role").eq("user_id",m).eq("role","admin").maybeSingle();n||o(!!s)}return e.jsxs("nav",{className:"sticky top-0 z-50 flex items-center justify-between px-6 py-4 border-b border-slate-200/70 bg-slate-50/85 backdrop-blur-md",children:[e.jsx(t,{to:"/",children:e.jsx(u,{size:"md"})}),e.jsxs("div",{className:"hidden md:flex gap-8 text-sm font-medium text-slate-600 items-center",children:[e.jsx(E,{}),e.jsx(t,{to:"/pricing",className:"hover:text-slate-900 transition-colors",children:"Pricing"}),e.jsx(t,{to:"/why-us",className:"hover:text-slate-900 transition-colors",children:"Why us"}),e.jsx(t,{to:"/about",className:"hover:text-slate-900 transition-colors",children:"About"}),e.jsx(t,{to:"/blog",className:"hover:text-slate-900 transition-colors",children:"Blog"}),e.jsx(t,{to:"/contact",className:"hover:text-slate-900 transition-colors",children:"Contact"}),c&&e.jsx(t,{to:"/admin",className:"text-blue-600 hover:text-blue-700 transition-colors font-semibold",children:"Admin"})]}),e.jsx("div",{className:"flex items-center gap-2",children:a?e.jsx(t,{to:"/dashboard",className:"px-5 py-2.5 bg-[#3B82F6] hover:bg-blue-600 text-white text-sm font-bold rounded-xl shadow-lg shadow-blue-200/60 hover:shadow-xl hover:shadow-blue-300/50 transition-all",children:"Dashboard"}):e.jsxs(e.Fragment,{children:[e.jsx(t,{to:"/login",className:"px-4 py-2 text-sm font-semibold text-slate-700 hover:text-slate-900 transition-colors",children:"Login"}),e.jsx(t,{to:"/login",search:{mode:"signup"},className:"px-5 py-2.5 bg-[#3B82F6] hover:bg-blue-600 text-white text-sm font-bold rounded-xl shadow-lg shadow-blue-200/60 hover:shadow-xl hover:shadow-blue-300/50 transition-all",children:"Sign up free"})]})})]})}const I=[{to:"/ats-resume-checker",label:"Free ATS Checker",icon:f},{to:"/resume-tailor",label:"Resume Tailor",icon:b},{to:"/cover-letter-generator",label:"Cover Letter Generator",icon:g},{to:"/linkedin-profile-optimizer",label:"LinkedIn Toolkit",icon:k},{to:"/extension",label:"Chrome Extension",icon:v},{to:"/interview-prep",label:"Interview Prep",icon:j},{to:"/mock-interview-simulator",label:"Mock Interview",icon:N},{to:"/ninety-day-plan",label:"30-60-90 Day Plan",icon:y},{to:"/ai-headshot-generator",label:"AI Headshot",icon:S},{to:"/salary-negotiator",label:"Salary Negotiator",icon:C}],A=I;function E(){const[a,r]=i.useState(!1),c=i.useRef(null);return i.useEffect(()=>{function o(l){c.current&&!c.current.contains(l.target)&&r(!1)}return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[]),e.jsxs("div",{className:"relative",ref:c,children:[e.jsxs("button",{onClick:()=>r(o=>!o),className:"flex items-center gap-1 hover:text-slate-900 transition-colors","aria-expanded":a,children:[e.jsx(x,{className:"w-4 h-4"}),"Tools",e.jsx(p,{className:`w-3.5 h-3.5 transition-transform ${a?"rotate-180":""}`})]}),a&&e.jsx("div",{className:"absolute top-full left-0 mt-2 w-56 rounded-xl border border-slate-200 bg-white shadow-xl shadow-slate-200/60 py-2 z-50",children:A.map(o=>{const l=o.icon;return e.jsxs(t,{to:o.to,onClick:()=>r(!1),className:"flex items-center gap-3 px-4 py-2.5 text-sm text-slate-700 hover:bg-slate-50 hover:text-slate-900 transition-colors",children:[e.jsx(l,{className:"w-4 h-4 text-blue-500 shrink-0"}),o.label]},o.to)})})]})}function J({children:a,hideFooter:r=!1}){return e.jsxs("div",{className:"min-h-screen bg-slate-50 text-slate-900 selection:bg-blue-100",style:{fontFamily:"Inter, ui-sans-serif, system-ui","--background":"oklch(0.985 0.003 247)","--foreground":"oklch(0.28 0.02 260)","--card":"oklch(1 0 0)","--card-foreground":"oklch(0.28 0.02 260)","--popover":"oklch(1 0 0)","--popover-foreground":"oklch(0.28 0.02 260)","--border":"oklch(0.9 0.01 260)","--input":"oklch(0.9 0.01 260)","--muted":"oklch(0.96 0.005 260)","--muted-foreground":"oklch(0.5 0.02 260)","--accent":"oklch(0.96 0.01 260)","--accent-foreground":"oklch(0.28 0.02 260)","--primary":"oklch(0.55 0.22 250)","--primary-foreground":"oklch(1 0 0)","--secondary":"oklch(0.96 0.01 260)","--secondary-foreground":"oklch(0.28 0.02 260)","--ring":"oklch(0.55 0.22 250)"},children:[e.jsx(L,{}),e.jsx("main",{children:a}),!r&&e.jsx(w,{})]})}
1export{J as M};

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.