1import{q as m,j as e,L as s,Z as x}from"./index-D_Axm8F4.js";import{r as n}from"./vendor-recharts-PDzeV0Q9.js";import{L as c}from"./LandingHeader-Ka0SNrgk.js";import{L as u}from"./Layout-CYjSOzGY.js";import{S as h}from"./SEO-aMTZ9ECZ.js";import{U as p}from"./users-DBsDSHac.js";import{M as f}from"./map-pin-dvomu63T.js";import"./popify-logo-DO1722DA.js";import"./user-Bcvizkme.js";import"./Footer-Cw0vJbfj.js";function S(){const[r,l]=n.useState(""),[a,o]=n.useState(""),{toast:d}=m(),i=t=>{t.preventDefault(),console.log("Referral submitted:",{email:r,phone:a}),d({title:"Invitation sent!",description:"We'll notify you once your friend signs up."}),l(""),o("")};return e.jsxs(u,{children:[e.jsx(h,{title:"Refer Vendors to Popify",description:"Help grow the Popify community by referring fellow vendors who would benefit from real market data.",canonical:"/referral"}),e.jsxs("div",{className:"min-h-screen",children:[e.jsx(c,{}),e.jsx("section",{className:"px-8 md:px-16 py-20 md:py-28 bg-primary",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsx("h1",{className:"text-5xl md:text-6xl lg:text-7xl mb-10 leading-tight text-primary-foreground font-bold",children:"Help Build Popify."}),e.jsx("p",{className:"text-lg mb-2 text-primary-foreground/80",children:"Popify runs on real information shared by vendors."}),e.jsx("p",{className:"text-lg text-primary-foreground/80",children:"Every vendor you bring in makes the platform more useful for everyone."})]})}),e.jsx("section",{className:"px-8 md:px-16 py-20 bg-[hsl(var(--lavender-haze))]",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs("p",{className:"text-destructive font-semibold mb-2",children:["Why We","'","re Doing This"]}),e.jsxs("h2",{className:"text-3xl md:text-4xl mb-8 text-foreground leading-tight font-bold",children:["This industry still runs on word of mouth.",e.jsx("br",{}),"Popify works best when that information is shared openly."]}),e.jsxs("div",{className:"space-y-3 mb-8",children:[e.jsx("p",{className:"text-lg text-muted-foreground",children:"Every review adds context."}),e.jsx("p",{className:"text-lg text-muted-foreground",children:"Every market added improves visibility."}),e.jsx("p",{className:"text-lg text-muted-foreground",children:"Every referral strengthens the dataset vendors rely on."})]}),e.jsx("div",{className:"p-6 rounded-xl bg-primary",children:e.jsx("p",{className:"text-lg font-semibold text-primary-foreground",children:"The result: better decisions and fewer wasted weekends."})})]})}),e.jsx("section",{className:"px-8 md:px-16 py-20 bg-background",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsx("p",{className:"text-destructive font-semibold mb-2"}),e.jsx("h2",{className:"text-4xl md:text-5xl mb-4 text-foreground font-bold",children:"Three Ways to Help"}),e.jsx("p",{className:"text-lg text-muted-foreground mb-2",children:"Do one or do all three."}),e.jsx("p",{className:"text-lg text-muted-foreground mb-10",children:"Each one makes Popify more useful for the next vendor."}),e.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-center gap-4",children:[e.jsx(s,{to:"/auth",className:"w-full md:w-auto",children:e.jsxs("button",{className:"w-full md:w-auto px-8 py-5 rounded-xl text-lg font-semibold transition-all hover:scale-105 bg-destructive text-destructive-foreground flex items-center justify-center gap-3",children:[e.jsx(p,{className:"w-6 h-6"}),"Invite a Friend"]})}),e.jsx(s,{to:"/markets",className:"w-full md:w-auto",children:e.jsxs("button",{className:"w-full md:w-auto px-8 py-5 rounded-xl text-lg font-semibold transition-all hover:scale-105 bg-[hsl(var(--bubblegum-glow))] text-foreground flex items-center justify-center gap-3",children:[e.jsx(x,{className:"w-6 h-6"}),"Leave a Review"]})}),e.jsx(s,{to:"/add-market",className:"w-full md:w-auto",children:e.jsxs("button",{className:"w-full md:w-auto px-8 py-5 rounded-xl text-lg font-semibold transition-all hover:scale-105 bg-[hsl(var(--lavender-haze))] text-foreground flex items-center justify-center gap-3",children:[e.jsx(f,{className:"w-6 h-6"}),"Add a Market"]})})]})]})}),e.jsx("section",{className:"px-8 md:px-16 py-20 bg-foreground",children:e.jsxs("div",{className:"max-w-xl mx-auto",children:[e.jsx("h2",{className:"text-3xl md:text-4xl mb-2 text-center text-destructive font-bold",children:"Invite a vendor friend"}),e.jsx("p",{className:"text-center text-background/80 mb-8",children:"Enter their business email + phone number below"}),e.jsx("form",{onSubmit:i,className:"p-8 rounded-2xl bg-[hsl(var(--bubblegum-glow))]",children:e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"email",className:"block text-base mb-2 font-semibold text-foreground",children:"Business email"}),e.jsx("input",{type:"email",id:"email",value:r,onChange:t=>l(t.target.value),required:!0,className:"w-full px-4 py-3 rounded-lg border border-border text-base bg-background",placeholder:"[email protected]"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"phone",className:"block text-base mb-2 font-semibold text-foreground",children:"Phone number"}),e.jsx("input",{type:"tel",id:"phone",value:a,onChange:t=>o(t.target.value),required:!0,className:"w-full px-4 py-3 rounded-lg border border-border text-base bg-background",placeholder:"(555) 123-4567"})]}),e.jsx("button",{type:"submit",className:"w-full px-6 py-4 rounded-full text-base transition-all hover:scale-105 uppercase tracking-wider mt-4 bg-destructive text-destructive-foreground font-bold",children:"Send Invitation"})]})})]})})]})]})}export{S 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.