PageSourceSearch

https://builderstories.club/build/assets/JoinUs-BgTn8OGF.js

js builderstories.club collected 2026-10-05 08:54:42 UTC 7,315 bytes, 1 lines download raw bytes

1import{d as f,u as x,i as s,a as c,w as b,e as r,b as t,h as y,f as g,k as d,n as m,B as u,o as n,t as l,j as h,F as w}from"./app-BrBFLpoK.js";import{_ as v}from"./PublicLayout.vue_vue_type_script_setup_true_lang-CJwIMBLV.js";const k=["href"],_=["content"],V=["content"],j={id:"joinus",class:"min-h-[calc(100vh-3.5rem)] bg-hearth-surface px-4 py-16 text-hearth-on sm:py-20","aria-labelledby":"joinus-heading"},U={class:"mx-auto grid max-w-6xl items-start gap-10 lg:grid-cols-[0.9fr_1.1fr]"},J={class:"grid gap-5"},S={class:"block"},N=["aria-invalid","aria-describedby"],B={key:0,id:"joinus-name-error",role:"alert",class:"mt-1 text-sm text-red-400"},W={class:"block"},A=["aria-invalid","aria-describedby"],L={key:0,id:"joinus-email-error",role:"alert",class:"mt-1 text-sm text-red-400"},C={class:"block"},D=["aria-invalid","aria-describedby"],F={key:0,id:"joinus-mobile-error",role:"alert",class:"mt-1 text-sm text-red-400"},M={class:"block"},q=["aria-invalid","aria-describedby"],E={key:0,id:"joinus-website-error",role:"alert",class:"mt-1 text-sm text-red-400"},T={class:"mt-8 flex flex-col gap-3 border-t border-hearth-outlineVariant/40 pt-6 sm:flex-row"},$=["disabled"],z=["href"],P={key:1,type:"button",class:"inline-flex min-h-12 w-full cursor-not-allowed items-center justify-center rounded-md bg-hearth-outlineVariant px-5 py-3 text-center font-display text-base font-bold text-hearth-onVariant sm:w-auto",disabled:""},I=f({__name:"JoinUs",props:{eventName:{},canonicalUrl:{},whatsappLink:{}},setup(a){const e=x({name:"",email:"",mobile:"",website:""});function p(){e.post(route("joinus.store"),{preserveScroll:!0,onSuccess:()=>e.reset()})}return(Y,o)=>(n(),s(w,null,[c(t(y),{title:"Join Us"},{default:b(()=>[o[4]||(o[4]=r("meta",{"head-key":"description",name:"description",content:"Join The Builders Stories community and connect with builders through our WhatsApp group."},null,-1)),r("link",{"head-key":"canonical",rel:"canonical",href:a.canonicalUrl},null,8,k),r("meta",{"head-key":"og:title",property:"og:title",content:`Join Us | ${a.eventName}`},null,8,_),o[5]||(o[5]=r("meta",{"head-key":"og:description",property:"og:description",content:"Share your details and join the builder community WhatsApp group."},null,-1)),r("meta",{"head-key":"og:url",property:"og:url",content:a.canonicalUrl},null,8,V),o[6]||(o[6]=r("meta",{"head-key":"og:type",property:"og:type",content:"website"},null,-1))]),_:1}),c(v,{"site-name":a.eventName,"whatsapp-link":a.whatsappLink||void 0},{default:b(()=>[r("section",j,[r("div",U,[o[11]||(o[11]=r("div",{class:"pt-4 lg:pt-12"},[r("p",{class:"font-display text-sm font-bold uppercase tracking-widest text-hearth-primary"}," Join the community "),r("h1",{id:"joinus-heading",class:"mt-4 font-display text-4xl font-extrabold leading-tight text-hearth-on sm:text-5xl"}," Builder stories start with people who show up. "),r("p",{class:"mt-5 max-w-xl text-base leading-7 text-hearth-onVariant sm:text-lg"}," Leave your details here, then jump into the WhatsApp group to meet other founders, makers, and operators. ")],-1)),r("form",{class:"rounded-lg border border-hearth-outlineVariant/50 bg-hearth-container/90 p-5 shadow-2xl shadow-black/20 sm:p-8","aria-label":"Join us form",onSubmit:g(p,["prevent"]),novalidate:""},[r("div",J,[r("label",S,[o[7]||(o[7]=r("span",{class:"text-sm font-semibold text-hearth-on"},"Name *",-1)),d(r("input",{"onUpdate:modelValue":o[0]||(o[0]=i=>t(e).name=i),type:"text",name:"name",autocomplete:"name",class:m(["mt-2 block min-h-12 w-full rounded-md border-hearth-outlineVariant bg-hearth-surface/80 text-hearth-on placeholder:text-hearth-onVariant/60 focus:border-hearth-primary focus:ring-hearth-primary",{"border-red-400 focus:border-red-400 focus:ring-red-400":!!t(e).errors.name}]),"aria-invalid":t(e).errors.name?"true":"false","aria-describedby":t(e).errors.name?"joinus-name-error":void 0,placeholder:"Your name",required:""},null,10,N),[[u,t(e).name]]),t(e).errors.name?(n(),s("p",B,l(t(e).errors.name),1)):h("",!0)]),r("label",W,[o[8]||(o[8]=r("span",{class:"text-sm font-semibold text-hearth-on"},"Email *",-1)),d(r("input",{"onUpdate:modelValue":o[1]||(o[1]=i=>t(e).email=i),type:"email",name:"email",autocomplete:"email",class:m(["mt-2 block min-h-12 w-full rounded-md border-hearth-outlineVariant bg-hearth-surface/80 text-hearth-on placeholder:text-hearth-onVariant/60 focus:border-hearth-primary focus:ring-hearth-primary",{"border-red-400 focus:border-red-400 focus:ring-red-400":!!t(e).errors.email}]),"aria-invalid":t(e).errors.email?"true":"false","aria-describedby":t(e).errors.email?"joinus-email-error":void 0,placeholder:"[email protected]",required:""},null,10,A),[[u,t(e).email]]),t(e).errors.email?(n(),s("p",L,l(t(e).errors.email),1)):h("",!0)]),r("label",C,[o[9]||(o[9]=r("span",{class:"text-sm font-semibold text-hearth-on"},"Mobile",-1)),d(r("input",{"onUpdate:modelValue":o[2]||(o[2]=i=>t(e).mobile=i),type:"tel",name:"mobile",autocomplete:"tel",class:m(["mt-2 block min-h-12 w-full rounded-md border-hearth-outlineVariant bg-hearth-surface/80 text-hearth-on placeholder:text-hearth-onVariant/60 focus:border-hearth-primary focus:ring-hearth-primary",{"border-red-400 focus:border-red-400 focus:ring-red-400":!!t(e).errors.mobile}]),"aria-invalid":t(e).errors.mobile?"true":"false","aria-describedby":t(e).errors.mobile?"joinus-mobile-error":void 0,placeholder:"+60 12 345 6789"},null,10,D),[[u,t(e).mobile]]),t(e).errors.mobile?(n(),s("p",F,l(t(e).errors.mobile),1)):h("",!0)]),r("label",M,[o[10]||(o[10]=r("span",{class:"text-sm font-semibold text-hearth-on"},"Website",-1)),d(r("input",{"onUpdate:modelValue":o[3]||(o[3]=i=>
1t(e).website=i),type:"url",name:"website",autocomplete:"url",class:m(["mt-2 block min-h-12 w-full rounded-md border-hearth-outlineVariant bg-hearth-surface/80 text-hearth-on placeholder:text-hearth-onVariant/60 focus:border-hearth-primary focus:ring-hearth-primary",{"border-red-400 focus:border-red-400 focus:ring-red-400":!!t(e).errors.website}]),"aria-invalid":t(e).errors.website?"true":"false","aria-describedby":t(e).errors.website?"joinus-website-error":void 0,placeholder:"https://yourwebsite.com"},null,10,q),[[u,t(e).website]]),t(e).errors.website?(n(),s("p",E,l(t(e).errors.website),1)):h("",!0)])]),r("div",T,[r("button",{type:"submit",class:"inline-flex min-h-12 w-full items-center justify-center rounded-md bg-hearth-primary px-5 py-3 text-center font-display text-base font-bold text-hearth-onPrimary transition hover:bg-hearth-primaryDim focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-hearth-tertiary focus-visible:ring-offset-2 focus-visible:ring-offset-hearth-container sm:w-auto",disabled:t(e).processing},l(t(e).processing?"Submitting...":"Submit details"),9,$),a.whatsappLink?(n(),s("a",{key:0,href:a.whatsappLink,target:"_blank",rel:"noopener noreferrer",class:"inline-flex min-h-12 w-full items-center justify-center rounded-md bg-green-600 px-5 py-3 text-center font-display text-base font-bold text-white transition hover:bg-green-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-green-300 focus-visible:ring-offset-2 focus-visible:ring-offset-hearth-container sm:w-auto"}," Join WA group ",8,z)):(n(),s("button",P," Join WA group "))])],32)])])]),_:1},8,["site-name","whatsapp-link"])],64))}});export{I 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.