// Hero + audience toggle + product peek const HEADLINES = { company: { default: "Hire closers who actually close.", italic: "close." }, rep: { default: "Stop chasing leads. Start closing deals.", italic: "closing" }, }; const SUB = { company: "Clozer connects you with a pre-verified network of commission-only sales reps. Pay once. No retainers. No recruiters. Hire people who only win when you do.", rep: "A curated marketplace of high-ticket, remote, commission-only roles. Reach 500+ vetted companies hiring closers like you. No applications that go nowhere." }; const CTA = { company: { primary: "Post a role", secondary: "See sample reps" }, rep: { primary: "Create your profile", secondary: "Browse open roles" }, }; const TICKERS = { company: [ { n: "250+", l: "verified closers" }, { n: "$0", l: "up-front to hire" }, { n: "5.1 days", l: "avg. to first interview" }, { n: "96%", l: "company satisfaction" }, ], rep: [ { n: "500+", l: "companies hiring now" }, { n: "$82k", l: "avg. commission earned" }, { n: "90 days",l: "listing stays active" }, { n: "$0", l: "recurring fees, ever" }, ], }; function useIsMobile(bp){ bp=bp||768; const [m,setM]=React.useState(window.innerWidth<=bp); React.useEffect(()=>{const h=()=>setM(window.innerWidth<=bp);window.addEventListener("resize",h);return()=>window.removeEventListener("resize",h)},[bp]);return m;} function Hero({ audience, setAudience, headline }){ const isMobile = useIsMobile(); const h = headline || HEADLINES[audience].default; const highlight = (text) => { const words = text.split(" "); return words.map((w, i) => { if (i === words.length - 1) return {w}; return {w} ; }); }; return (
Now hiring across 42 states No recuiter fees · Ever

{highlight(h)}

{SUB[audience]}

{CTA[audience].primary} {CTA[audience].secondary}
{["A","B","C","D"].map((n,i)=>(
{n}
))}
Join 250+ closers & 200+ companies
{!isMobile && (
{audience === "company" ? : }
)}
{TICKERS[audience].map((t,i)=>(
{t.n}
{t.l}
))}
); } function ProductPeekCompany(){ return (
app.clozer.com/pipeline
{[ {t:"Applied",n:142,c:"var(--muted)"}, {t:"Shortlisted",n:34,c:"var(--fg)"}, {t:"Hired",n:6,c:"var(--accent)"}, ].map((col,i)=>(
{col.t} {col.n}
{[0,1,2,3].map(j=>(
{i===2 && j===0 && (
● signed · $112k OTE
)}
))}
))}
); } function ProductPeekRep(){ return (
app.clozer.com/jobs
{[ {c:"Linear",r:"SaaS AE",p:"$180k OTE",t:"Remote · US",hot:true}, {c:"Vercel",r:"Enterprise AE",p:"$240k OTE",t:"Remote · Global"}, {c:"Ramp",r:"SMB Closer",p:"$150k OTE",t:"Remote · US"}, {c:"Notion",r:"Growth AE",p:"$195k OTE",t:"Hybrid · NYC"}, ].map((job,i)=>(
{job.c[0]}
{job.r} · {job.c}
{job.t}
{job.p}
{job.hot &&
● Hot
}
))}
); } Object.assign(window, { Hero, HEADLINES, ProductPeekCompany, ProductPeekRep });