PageSourceSearch

https://getnearfield.com/assets/SponsorPlus-Bz0ZQ5mx.js

js getnearfield.com collected 2026-10-09 05:21:44 UTC 7,154 bytes, 1 lines download raw bytes

1import{r as i,j as e}from"./index-BAXqC3uG.js";import{g as f,s as b}from"./App-DZ8XJ0eL.js";import{H as j}from"./heart-BhuppehR.js";import{A as N}from"./award-C0T_6L1G.js";import{S as y}from"./send-s2WBn57C.js";import"./index-DzAmrokj.js";function A(){const[s,o]=i.useState({name:"",org:"",email:"",description:""}),[p,g]=i.useState(!1),[c,r]=i.useState(""),[u,x]=i.useState(!1),h=async t=>{t.preventDefault(),r("");const l=s.name.trim(),a=s.org.trim(),d=s.email.trim(),m=s.description.trim();if(!l||!a||!d||!m){r("All fields are required.");return}if(l.length>100||a.length>150){r("Name or org name is too long.");return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d)){r("Please enter a valid email.");return}if(m.length>1e3){r("Description must be under 1000 characters.");return}x(!0);try{const{error:n}=await b.functions.invoke("capture-contact-lead",{body:{kind:"sponsor",source:"Sponsor+ application",name:l,email:d,organization:a,message:m,subjectLine:`Sponsor+ Application — ${a}`}});if(n)throw n;g(!0)}catch(n){console.error("Sponsor+ submit failed",n),r("Something went wrong sending your application. Please email [email protected] directly.")}finally{x(!1)}};return f("Sponsor+"),e.jsxs("main",{children:[e.jsxs("section",{className:"px-6 pb-16 pt-20 md:pt-28",children:[e.jsxs("div",{className:"mx-auto max-w-3xl text-center",children:[e.jsx("h1",{className:"text-4xl font-semibold text-heading md:text-5xl",children:"Get NearField Markers. For free."}),e.jsx("p",{className:"mt-4 text-lg text-muted-foreground",children:"The Sponsor+ Program connects nonprofits and cultural organizations with local businesses who cover the cost."})]}),e.jsx("div",{className:"mx-auto mt-12 max-w-4xl overflow-hidden rounded-lg border border-border",children:e.jsx("img",{src:"/images/templates/farmers-market-stall.jpg",alt:"","aria-hidden":"true",className:"aspect-[16/5] w-full object-cover object-[center_60%]"})})]}),e.jsx("section",{className:"border-y border-border bg-card px-6 py-24",children:e.jsx("div",{className:"mx-auto max-w-5xl",children:e.jsx("div",{className:"grid gap-8 md:grid-cols-3",children:[{num:"1",title:"Apply",desc:"Tell us about your organization and how you'd use NearField."},{num:"2",title:"We match",desc:"We find a local business sponsor who wants to support your mission and gain community visibility."},{num:"3",title:"You get Markers",desc:"Your sponsor covers the cost. You get Markers, full platform access, and complete creative control."}].map(t=>e.jsxs("div",{className:"text-center",children:[e.jsx("span",{className:"inline-flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-lg font-semibold text-primary",children:t.num}),e.jsx("h3",{className:"mt-4 text-base font-semibold text-heading",children:t.title}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:t.desc})]},t.num))})})}),e.jsx("section",{className:"px-6 py-24",children:e.jsxs("div",{className:"mx-auto grid max-w-5xl gap-8 md:grid-cols-2",children:[e.jsxs("div",{className:"rounded-lg border border-border bg-card p-8",children:[e.jsx(j,{className:"h-5 w-5 text-primary"}),e.jsx("h3",{className:"mt-3 text-lg font-semibold text-heading",children:"For Organizations"}),e.jsx("ul",{className:"mt-4 flex flex-col gap-3",children:["Free NearField Markers and platform access","Full control over your Experiences","Approve all sponsor content before it goes live","If a sponsor ends, we find a new one"].map(t=>e.jsxs("li",{className:"text-sm leading-relaxed text-muted-foreground",children:["• ",t]},t))})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-card p-8",children:[e.jsx(N,{className:"h-5 w-5 text-primary"}),e.jsx("h3",{className:"mt-3 text-lg font-semibold text-heading",children:"For Sponsors"}),e.jsx("ul",{className:"mt-4 flex flex-col gap-3",children:["Positive brand association through community support","Evergreen visibility in high-traffic physical spaces","Local exposure where people are already engaged","Brand placement in trusted, helpful contexts"].map(t=>e.jsxs("li",{className:"text-sm leading-relaxed text-muted-foreground",children:["• ",t]},t))})]})]})}),e.jsx("section",{className:"border-y border-border bg-card px-6 py-16",children:e.jsxs("div",{className:"mx-auto max-w-3xl space-y-6 text-center",children:[e.jsx("p",{className:"text-sm leading-relaxed text-foreground",children:"Sponsors may appear as a small banner or text link on your Experiences. You approve everything. Nothing goes live without your sign-off."}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Sponsor+ is available to nonprofits, cultural institutions, museums, libraries, and community organizations."})]})}),e.jsx("section",{className:"px-6 py-24",children:e.jsxs("div",{className:"mx-auto max-w-lg",children:[e.jsx("h2",{className:"text-center text-2xl font-semibold text-heading",children:"Apply for Sponsor+"}),p?e.jsxs("div",{className:"mt-8 rounded-lg border border-border bg-card p-8 text-center",children:[e.jsx(y,{className:"mx-auto h-6 w-6 text-primary"}),e.jsx("p",{className:"mt-4 text-sm text-foreground",children:"Thanks — your application is on its way to our team. We'll be in touch within one business day."})]}):e.jsxs("form",{onSubmit:h,className:"mt-8 space-y-4",children:[c&&e.jsx("p",{className:"text-sm text-destructive",children:c}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Your name"}),e.jsx("input",{type:"text",value:s.name,onChange:t=>o({...s,name:t.target.value}),maxLength:100,className:"mt-1 flex h-10 w-full rounded-sm border border-input bg-background px-3 text-sm text-foreground focus:outline-none focus:ring-1 focus:ring-ring"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Organization name"}),e.jsx("input",{type:"text",value:s.org,onChange:t=>o({...s,org:t.target.value}),maxLength:150,className:"mt-1 flex h-10 w-full rounded-sm border border-input bg-background px-3 text-sm text-foreground focus:outline-none focus:ring-1 focus:ring-ring"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Email"}),e.jsx("input",{type:"email",value:s.email,onChange:t=>o({...s,email:t.target.value}),maxLength:255,className:"mt-1 flex h-10 w-full rounded-sm border border-input bg-background px-3 text-sm text-foreground focus:outline-none focus:ring-1 focus:ring-ring"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"How would you use NearField?"}),e.jsx("textarea",{value:s.description,onChange:t=>o({...s,description:t.target.value}),maxLength:1e3,rows:4,className:"mt-1 flex w-full rounded-sm border border-input bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-1 focus:ring-ring"})]}),e.jsx("button",{type:"submit",disabled:u,className:"inline-flex h-10 w-full items-center justify-center rounded-sm bg-primary text-sm font-medium text-primary-foreground hover:bg-moss transition-colors disabled:opacity-60",children:u?"Sending…":"Submit application"})]})]})})]})}export{A 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.