PageSourceSearch

https://rileyprojects.com/_next/static/immutable/chunks/1zsv-pl923t3l.js

js rileyprojects.com collected 2026-10-09 23:18:21 UTC 19,350 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24719,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(22016);e.i(16233);var l=e.i(23083),i=e.i(89812),r=e.i(12618),r=r,n=e.i(41393);e.i(22276);var o=e.i(1653),c=e.i(21324),d=e.i(72675),m=e.i(6961),h=e.i(50674);let u=[{value:"residence",label:"Residence"},{value:"retreat",label:"Retreat"},{value:"community",label:"Community"},{value:"other",label:"Other"}],x=[{value:"under-1m",label:"Under $1M"},{value:"1m-2m",label:"$1M – $2M"},{value:"2m-3.5m",label:"$2M – $3.5M"},{value:"3.5m-5m",label:"$3.5M – $5M"},{value:"5m-plus",label:"$5M+"},{value:"not-sure",label:"Not sure yet"}],p=[{platform:"Instagram",url:c.SOCIAL_INSTAGRAM},{platform:"LinkedIn",url:c.SOCIAL_LINKEDIN}];function g(e){return e&&0!==e.length?e.map(e=>({value:e.toLowerCase().replace(/[\s/]+/g,"-").replace(/[$,+]+/g,""),label:e})):[]}e.s(["default",0,function({data:e,heroMuxPlaybackId:b}){let[f,v]=(0,a.useState)({name:"",email:"",projectType:"",budget:"",hasLot:"",timeline:"",referralSource:"",message:"",website:""}),[j,y]=(0,a.useState)(!1),[w,N]=(0,a.useState)(!1),[k,S]=(0,a.useState)(""),D=(0,h.useTurnstile)(),F=e?.eyebrow??"Contact",C=e?.description??"Every engagement begins with a conversation about what you’re building and how you want to feel in it. No commitment, no pitch — just a direct discussion about whether we’re the right fit.",E=e?.phone??c.SITE_PHONE,_=e?.email??c.SITE_EMAIL,T=e?.address??c.SITE_ADDRESS,I=e?.sidebarSocials&&e.sidebarSocials.length>0?e.sidebarSocials:p,A=e?.formConfig,O=g(A?.projectTypeOptions).length>0?g(A?.projectTypeOptions):u,L=g(A?.budgetOptions).length>0?g(A?.budgetOptions):x,P=A?.submitLabel??"Start the conversation",M=A?.privacyNote??"We respond to every inquiry within one business day. Your information stays between us.",R=e=>{let{name:t,value:a}=e.target;v(e=>({...e,[t]:a}))},B=async e=>{if(e.preventDefault(),!f.website){if(!f.name||!f.email||!f.projectType||!f.message)return void S("Please fill in all required fields.");N(!0),S("");try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({turnstileToken:await D.getToken(),name:f.name,email:f.email,projectType:f.projectType,budget:f.budget,hasLot:f.hasLot,timeline:f.timeline,referralSource:f.referralSource,message:f.message,website:f.website,utm:(0,d.getUtmParams)()})});D.reset();let t=await e.json();if(!e.ok)return void S(t.error||"Something went wrong. Please try again.");(0,d.trackGaEvent)("generate_lead",{lead_source:"contact_form",project_type:f.projectType}),y(!0),v({name:"",email:"",projectType:"",budget:"",hasLot:"",timeline:"",referralSource:"",message:"",website:""})}catch(e){console.error("Contact form submission failed:",e),S("Unable to send message. Please check your connection and try again.")}finally{N(!1)}}},$=`tel:+1${E.replace(/\D/g,"")}`,W=e?.heroImage,Y=W?.asset?(0,o.urlFor)(W).width(1920).auto("format").url():void 0,q=b?(0,t.jsx)(r.default,{muxPlaybackId:b,poster:Y,aspectRatio:"16/9",className:"w-full"}):W?(0,t.jsx)(m.SanityImage,{image:W,alt:"",aspectRatio:"16/9",priority:!0,sizes:"(min-width: 1060px) 1060px, 100vw",className:"w-full"}):null;return(0,t.jsxs)("main",{children:[(0,t.jsx)(i.PageHero,{eyebrow:F,title:(0,t.jsxs)(t.Fragment,{children:["Let's talk about",(0,t.jsx)("br",{}),"your ",(0,t.jsx)("em",{children:"project"})]}),variant:"compact",intro:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"text-body leading-copy text-mid max-w-[620px] mb-6",children:C}),(0,t.jsxs)("div",{className:"text-body leading-copy text-mid max-w-[620px]",children:["Prefer to talk directly?"," ",(0,t.jsxs)("a",{href:$,className:"text-text hover:text-black underline transition-colors",children:["Call us at ",E]})]})]}),media:q}),(0,t.jsx)("section",{className:"py-20 md:py-24 bg-warm",children:(0,t.jsx)("div",{className:"max-w-site mx-auto px-section",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_320px] gap-24",children:[(0,t.jsx)("div",{children:j?(0,t.jsxs)("div",{className:"text-center py-16",children:[(0,t.jsx)("h3",{className:"font-display text-[1.8rem] text-black mb-4",children:"Message received."}),(0,t.jsx)("p",{className:"text-body text-mid leading-relaxed max-w-copy-sm mx-auto mb-6",children:"We've received your message and will respond within one business day. A confirmation has been sent to your email."}),(0,t.jsxs)("div",{className:"border-t border-faint pt-6 mt-6 max-w-copy-sm mx-auto",children:[(0,t.jsx)("div",{className:"text-micro font-body font-medium tracking-display uppercase text-light mb-3",children:"What happens next"}),(0,t.jsxs)("ol",{className:"text-sm text-mid font-light leading-relaxed space-y-2 text-left list-decimal list-inside mb-6",children:[(0,t.jsx)("li",{children:"We review your project details within one business day"}),(0,t.jsx)("li",{children:"We'll schedule a 30-minute introductory call — no pitch, just fit"}),(0,t.jsx)("li",{children:"You'll know scope and budget range before any commitment"})]})]}),(0,t.jsxs)("div",{className:"border-t border-faint pt-6 mt-2 max-w-copy-sm mx-auto",children:[(0,t.jsx)("p",{className:"text-sm text-mid font-light leading-relaxed mb-4",children:"While you wait, get a deeper look at how we work:"}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[(0,t.jsx)(s.default,{href:"/landing/process-guide",className:"font-display text-[0.72rem] font-normal tracking-nav up
1percase text-text hover:text-black transition-colors",children:"Download our Process Guide →"}),(0,t.jsx)("a",{href:"/configurator",className:"font-display text-[0.72rem] font-normal tracking-nav uppercase text-text hover:text-black transition-colors",children:"Build Your Budget →"})]})]}),(0,t.jsx)("button",{type:"button",onClick:()=>y(!1),className:"text-light text-xs font-light hover:text-text transition-colors underline mt-8",children:"Send another message"})]}):(0,t.jsxs)("form",{onSubmit:B,className:"space-y-6",children:[(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{htmlFor:"name",className:"text-xs font-body font-medium tracking-nav uppercase text-light block mb-2",children:"Name"}),(0,t.jsx)("input",{type:"text",id:"name",name:"name",placeholder:"Your full name",value:f.name,onChange:R,className:"w-full font-body text-sm font-light text-text bg-white border border-faint p-3 outline-none focus:border-rule transition-colors",required:!0})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{htmlFor:"email",className:"text-xs font-body font-medium tracking-nav uppercase text-light block mb-2",children:"Email"}),(0,t.jsx)("input",{type:"email",id:"email",name:"email",placeholder:"[email protected]",value:f.email,onChange:R,className:"w-full font-body text-sm font-light text-text bg-white border border-faint p-3 outline-none focus:border-rule transition-colors",required:!0})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{htmlFor:"projectType",className:"text-xs font-body font-medium tracking-nav uppercase text-light block mb-2",children:"Project Type"}),(0,t.jsxs)("select",{id:"projectType",name:"projectType",value:f.projectType,onChange:R,className:"w-full font-body text-sm font-light text-text bg-white border border-faint p-3 pr-10 outline-none focus:border-rule transition-colors appearance-none cursor-pointer bg-[url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23736D66%22%20stroke-width%3D%222%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%2F%3E%3C%2Fsvg%3E')] bg-[length:12px] bg-[right_12px_center] bg-no-repeat",required:!0,children:[(0,t.jsx)("option",{value:"",children:"Select a project type"}),O.map(e=>(0,t.jsx)("option",{value:e.label,children:e.label},e.value))]})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsxs)("label",{htmlFor:"budget",className:"text-xs font-body font-medium tracking-nav uppercase text-light block mb-2",children:["Anticipated Budget"," ",(0,t.jsx)("span",{className:"font-light text-[0.6rem]",children:"(Optional)"})]}),(0,t.jsxs)("select",{id:"budget",name:"budget",value:f.budget,onChange:R,className:"w-full font-body text-sm font-light text-text bg-white border border-faint p-3 pr-10 outline-none focus:border-rule transition-colors appearance-none cursor-pointer bg-[url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23736D66%22%20stroke-width%3D%222%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%2F%3E%3C%2Fsvg%3E')] bg-[length:12px] bg-[right_12px_center] bg-no-repeat",children:[(0,t.jsx)("option",{value:"",children:"Select a range"}),L.map(e=>(0,t.jsx)("option",{value:e.label,children:e.label},e.value))]})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsxs)("label",{htmlFor:"hasLot",className:"text-xs font-body font-medium tracking-nav uppercase text-light block mb-2",children:["Do you have a site?"," ",(0,t.jsx)("span",{className:"font-light text-[0.6rem]",children:"(Optional)"})]}),(0,t.jsxs)("select",{id:"hasLot",name:"hasLot",value:f.hasLot,onChange:R,className:"w-full font-body text-sm font-light text-text bg-white border border-faint p-3 pr-10 outline-none focus:border-rule transition-colors appearance-none cursor-pointer bg-[url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23736D66%22%20stroke-width%3D%222%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%2F%3
1E%3C%2Fsvg%3E')] bg-[length:12px] bg-[right_12px_center] bg-no-repeat",children:[(0,t.jsx)("option",{value:"",children:"Select an option"}),(0,t.jsx)("option",{value:"Yes, with address",children:"Yes, with address"}),(0,t.jsx)("option",{value:"Yes, without address",children:"Yes, without address yet"}),(0,t.jsx)("option",{value:"Not yet",children:"Not yet"})]})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsxs)("label",{htmlFor:"timeline",className:"text-xs font-body font-medium tracking-nav uppercase text-light block mb-2",children:["Ideal timeline"," ",(0,t.jsx)("span",{className:"font-light text-[0.6rem]",children:"(Optional)"})]}),(0,t.jsxs)("select",{id:"timeline",name:"timeline",value:f.timeline,onChange:R,className:"w-full font-body text-sm font-light text-text bg-white border border-faint p-3 pr-10 outline-none focus:border-rule transition-colors appearance-none cursor-pointer bg-[url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23736D66%22%20stroke-width%3D%222%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%2F%3E%3C%2Fsvg%3E')] bg-[length:12px] bg-[right_12px_center] bg-no-repeat",children:[(0,t.jsx)("option",{value:"",children:"Select a range"}),(0,t.jsx)("option",{value:"6 months",children:"Within 6 months"}),(0,t.jsx)("option",{value:"12 months",children:"Within 12 months"}),(0,t.jsx)("option",{value:"18+ months",children:"18+ months out"}),(0,t.jsx)("option",{value:"Not sure",children:"Not sure yet"})]})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsxs)("label",{htmlFor:"referralSource",className:"text-xs font-body font-medium tracking-nav uppercase text-light block mb-2",children:["How did you find us?"," ",(0,t.jsx)("span",{className:"font-light text-[0.6rem]",children:"(Optional)"})]}),(0,t.jsxs)("select",{id:"referralSource",name:"referralSource",value:f.referralSource,onChange:R,className:"w-full font-body text-sm font-light text-text bg-white border border-faint p-3 pr-10 outline-none focus:border-rule transition-colors appearance-none cursor-pointer bg-[url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23736D66%22%20stroke-width%3D%222%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%2F%3E%3C%2Fsvg%3E')] bg-[length:12px] bg-[right_12px_center] bg-no-repeat",children:[(0,t.jsx)("option",{value:"",children:"Select an option"}),(0,t.jsx)("option",{value:"Referral",children:"Referral"}),(0,t.jsx)("option",{value:"Search",children:"Search"}),(0,t.jsx)("option",{value:"Social",children:"Social media"}),(0,t.jsx)("option",{value:"Press",children:"Press or publication"}),(0,t.jsx)("option",{value:"Other",children:"Other"})]})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{htmlFor:"message",className:"text-xs font-body font-medium tracking-nav uppercase text-light block mb-2",children:"Message"}),(0,t.jsx)("textarea",{id:"message",name:"message",placeholder:"Tell us about your project, timeline, and any initial questions.",value:f.message,onChange:R,className:"w-full font-body text-sm font-light text-text bg-white border border-faint p-3 outline-none focus:border-rule transition-colors resize-none",style:{minHeight:"160px"},required:!0})]}),(0,t.jsx)("input",{type:"text",name:"website",value:f.website,onChange:R,className:"form-hp",style:{position:"absolute",left:"-9999px",top:"-9999px"},tabIndex:-1,autoComplete:"off","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"pt-4",children:[D.widget,(0,t.jsx)(n.Button,{type:"submit",disabled:w,children:w?(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsxs)("svg",{className:"animate-spin h-3.5 w-3.5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),"Sending…"]}):P})]}
1),k&&(0,t.jsx)("p",{role:"alert",className:"text-body text-status-danger font-light",children:k}),(0,t.jsx)("p",{className:"text-[0.75rem] text-mid leading-relaxed",children:M}),(0,t.jsxs)("p",{className:"text-[0.75rem] text-mid leading-relaxed",children:["By submitting, you agree we may email you occasional updates about building with Riley. Unsubscribe anytime. See our"," ",(0,t.jsx)(s.default,{href:"/privacy",className:"underline hover:text-black",children:"Privacy Policy"}),"."]}),(0,t.jsxs)("p",{className:"text-[0.8rem] text-mid leading-relaxed pt-2 border-t border-faint",children:["Not ready to talk?"," ",(0,t.jsx)("a",{href:"/configurator",className:"text-black underline underline-offset-4 decoration-rule hover:decoration-black transition-colors",children:"Build your budget first →"})]})]})}),(0,t.jsx)("div",{className:"lg:border-l lg:border-faint lg:pl-8",children:(0,t.jsx)(l.RevealOnScroll,{children:(0,t.jsxs)("div",{className:"space-y-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-micro font-body font-medium tracking-display uppercase text-light mb-3",children:"Phone"}),(0,t.jsx)("a",{href:$,className:"text-sm leading-relaxed text-text hover:text-black transition-colors no-underline font-light",children:E})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-micro font-body font-medium tracking-display uppercase text-light mb-3",children:"Email"}),(0,t.jsx)("a",{href:`mailto:${_}`,className:"text-sm leading-relaxed text-text hover:text-black transition-colors no-underline font-light",children:_})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-micro font-body font-medium tracking-display uppercase text-light mb-3",children:"Location"}),(0,t.jsx)("p",{className:"text-sm leading-relaxed text-text font-light",children:T})]}),I.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-micro font-body font-medium tracking-display uppercase text-light mb-3",children:"Follow"}),(0,t.jsx)("div",{className:"flex gap-4",children:I.map(e=>(0,t.jsx)("a",{href:e.url,className:"text-sm text-text hover:text-black transition-colors no-underline font-light",target:"_blank",rel:"noopener noreferrer",children:e.platform},e.platform))})]}),(0,t.jsxs)("div",{className:"border-t border-faint pt-8",children:[(0,t.jsx)("div",{className:"text-micro font-body font-medium tracking-display uppercase text-light mb-3",children:"What to Expect"}),(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-mid font-light leading-relaxed",children:[(0,t.jsx)("li",{children:"We respond within one business day"}),(0,t.jsx)("li",{children:"First call is 30 minutes — no pitch, just fit"}),(0,t.jsx)("li",{children:"You'll know scope and budget range before any commitment"})]})]}),(0,t.jsxs)("div",{className:"border-t border-faint pt-8",children:[(0,t.jsx)("div",{className:"text-micro font-body font-medium tracking-display uppercase text-light mb-3",children:"The Riley Standard"}),(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-mid font-light leading-relaxed",children:[(0,t.jsx)("li",{children:"10/10/5/2 Structured Warranty"}),(0,t.jsx)("li",{children:"Zero Operational Carbon"}),(0,t.jsx)("li",{children:"Red List Screened Materials"}),(0,t.jsx)("li",{children:"Vetted Building System"})]})]})]})})})]})})})]})}],24719)},21324,e=>{"use strict";var t=e.i(47167);new Date().getFullYear(),t.default.env.RESEND_FROM_EMAIL,e.s(["NOAH_EMAIL",0,"[email protected]","SITE_ADDRESS",0,"8800 Venice Blvd, Ste 302, Los Angeles, CA 90034","SITE_EMAIL",0,"[email protected]","SITE_PHONE",0,"310-935-1516","SOCIAL_INSTAGRAM",0,"https://www.instagram.com/riley_projects/","SOCIAL_LINKEDIN",0,"https://www.linkedin.com/company/rileyprojects/"])},6961,e=>{"use strict";var t=e.i(43476);e.i(22276);var a=e.i(1653);let s=[400,640,960,1280,1920];e.s(["SanityImage",0,function({image:e,alt:l,width:i,height:r,aspectRatio:n,sizes:o="100vw",priority:c=!1,className:d,fallback:m}){let h=!!e?.asset&&(!!e.asset._ref||!!e.asset._id);if(!e||!h)return m?(0,t.jsx)(t.Fragment,{children:m}):null;let u=e.asset.metadata?.lqip,x=i??1200,p=(0,a.urlFor)(e).width(x).auto("format").url(),g=s.map(t=>`${(0,a.urlFor)(e).width(t).auto("format").url()} ${t}w`).join(", "),b=u?{backgroundImage:`url(${u})`,backgroundSize:"cover",backgroundPosition:"center"}:void 0,f=e.alt||l,v=c?"eager":"lazy",j=c?"high":"auto";return n?(0,t.jsx)("div",{className:d,style:{aspectRatio:n,overflow:"hidden",...b},children:(0,t.jsx)("img",{src:p,srcSet:g,sizes:o,alt:f,loading:v,fetchPriority:j,decoding:"async",className:"h-full w-full object-cover"})}):(0,t.jsx)("img",{src:p,srcSet:g,sizes:o,alt:f,loading:v,fetchPriority:j,decoding:"async",width:x,height:r,className:d,style:b})}])},84927,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3q1aog9-570-h.js"].map(t=>e.l(t))).then(()=>t(45587)))},7500,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3db6-vlm4__kt.js"].map(t=>e.l(t))).then(()=>t(75681)))},41393,e=>{"use strict";var t=e.i(74623);
1e.s(["Button",()=>t.default])},89812,e=>{"use strict";var t=e.i(66213);e.s(["PageHero",()=>t.default])},23083,e=>{"use strict";var t=e.i(79399);e.s(["RevealOnScroll",()=>t.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.