PageSourceSearch

https://tryasimov.ai/_next/static/chunks/app/cleaning/page-197053c25f9e6227.js

js tryasimov.ai collected 2026-10-05 13:07:57 UTC 7,449 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[389],{7777:function(e,t,a){Promise.resolve().then(a.bind(a,7463))},7463:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return c}});var s=a(7437),r=a(2265),n=a(7776),i=a(7069);let l=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];function c(){let[e,t]=(0,r.useState)({name:"",phone:"",email:"",address:"",apartment:"",preferredDays:[]}),[a,c]=(0,r.useState)(!1),[d,o]=(0,r.useState)(!1),m=async t=>{if(t.preventDefault(),!e.name||!e.phone||!e.email||!e.address||0===e.preferredDays.length){n.A.error("Please fill in all fields and select at least one day");return}if(!e.email.includes("@")){n.A.error("Please enter a valid email address");return}c(!0);try{if(!(await fetch("https://formspree.io/f/xgologbl",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e.name,phone:e.phone,email:e.email,address:e.address,apartment:e.apartment,preferredDays:e.preferredDays.join(", "),_replyto:e.email,_subject:"Cleaning request from ".concat(e.name," — ").concat(e.preferredDays.join(", "))})})).ok)throw Error("Failed to send");o(!0),n.A.success("Request received — we'll be in touch!")}catch(e){console.error("Form submission error:",e),n.A.error("Failed to send. Please try again.")}finally{c(!1)}},h="w-full bg-white/[0.03] border border-white/[0.08] px-4 py-3 text-white font-body text-sm placeholder:text-white/20 focus:outline-none focus:border-white/20 transition-colors",x="block text-white/60 font-sans text-xs uppercase tracking-wider mb-2";return(0,s.jsxs)("main",{className:"relative min-h-screen bg-[#0D1117]",children:[(0,s.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(135deg, #0D1117 0%, #0D1117 60%, #0f1f24 100%)"}}),(0,s.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at 30% 80%, rgba(38,190,207,0.06), transparent 60%)"}}),(0,s.jsx)("div",{className:"absolute inset-0 hero-grid-pattern pointer-events-none"}),(0,s.jsx)("nav",{className:"relative z-20 flex items-center justify-between px-8 py-6",children:(0,s.jsx)("a",{href:"/",children:(0,s.jsx)(i.T,{size:"md"})})}),(0,s.jsxs)("div",{className:"relative z-10 px-8 pt-12 pb-24 max-w-2xl mx-auto",children:[(0,s.jsxs)("div",{className:"mb-12",children:[(0,s.jsx)("p",{className:"text-[#26BECF] font-sans text-xs uppercase tracking-widest mb-4",children:"Bay Area Only"}),(0,s.jsx)("h1",{className:"text-[clamp(2rem,5vw,3.5rem)] leading-[1.08] tracking-[-0.02em] text-white mb-6",children:"Professional cleaning for your home or office"}),(0,s.jsxs)("p",{className:"text-[#BBC0C6] text-base leading-relaxed max-w-lg",children:["We'll message you to schedule a time that works."," ",(0,s.jsx)("strong",{className:"text-white font-semibold",children:"Your first cleaning is completely free with no commitment."})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-12",children:[(0,s.jsxs)("div",{className:"gradient-border-card p-5",children:[(0,s.jsx)("p",{className:"text-white/60 font-sans text-xs uppercase tracking-wider mb-1",children:"First cleaning"}),(0,s.jsx)("p",{className:"text-white text-lg font-medium",children:"Free"}),(0,s.jsx)("p",{className:"text-white/40 text-sm mt-1",children:"No commitment required"})]}),(0,s.jsxs)("div",{className:"gradient-border-card p-5",children:[(0,s.jsx)("p",{className:"text-white/60 font-sans text-xs uppercase tracking-wider mb-1",children:"Ongoing rate"}),(0,s.jsx)("p",{className:"text-white text-lg font-medium",children:"Starting at $10/hr"}),(0,s.jsx)("p",{className:"text-white/40 text-sm mt-1",children:"After your first free 3-hour cleaning"})]}),(0,s.jsxs)("div",{className:"gradient-border-card p-5",children:[(0,s.jsx)("p",{className:"text-white/60 font-sans text-xs uppercase tracking-wider mb-1",children:"Experience"}),(0,s.jsx)("p",{className:"text-white text-lg font-medium",children:"10+ years"}),(0,s.jsx)("p",{className:"text-white/40 text-sm mt-1",children:"Professional & residential"})]}),(0,s.jsxs)("div",{className:"gradient-border-card p-5",children:[(0,s.jsx)("p",{className:"text-white/60 font-sans text-xs uppercase tracking-wider mb-1",children:"Privacy"}),(0,s.jsx)("p",{className:"text-white text-lg font-medium",children:"Privacy reviewed"}),(0,s.jsx)("p",{className:"text-white/40 text-sm mt-1",children:"Avoid faces & personal info"})]})]}),d?(0,s.jsxs)("div",{className:"gradient-border-card p-8 text-center",children:[(0,s.jsx)("p",{className:"text-[#26BECF] text-lg font-medium mb-2",children:"Request received"}),(0,s.jsx)("p",{className:"text-[#BBC0C6] text-sm",children:"We'll reach out shortly to schedule your first free cleaning."})]}):(0,s.jsxs)("form",{onSubmit:m,className:"space-y-5",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"name",className:x,children:"Name"}),(0,s.jsx)("input",{id:"name",type:"text",value:e.name,onChange:a=>t({...e,name:a.target.value}),className:h,placeholder:"Jane Doe"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"phone",className:x,children:"Phone number"}),(0,s.jsx)("input",{id:"phone",type:"tel",value:e.phone,onChange:a=>t({...e,phone:a.target.value}),className:h,placeholder:"(415) 555-0123"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"email",className:x,children:"Email"}),(0,s.jsx)("input",{id:"email",type:"email",value:e.email,onChange:a=>t({...e,email:a.target.value}),className:h,placeholder:"[email protected]"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"address",className:x,children:"Address"}),(0,s.jsx)("input",{id:"address",type:"text",value:e.address,onChange:a=>t({...e,address:a.target.value}),className:h,placeholder:"123 Main St, San Francisco, CA"})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{htmlFor:"apartment",className:x,children:["Apartment / Unit ",(0,s.jsx)("span",{className:"normal-case tracking-normal text-white/30",children:"(optional)"})]}),(0,s.jsx)("input",{id:"apartment",type:"text",value:e.apartment,onChange:a=>
1t({...e,apartment:a.target.value}),className:h,placeholder:"Apt 4B"})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{className:x,children:["Preferred days ",(0,s.jsx)("span",{className:"normal-case tracking-normal text-white/30",children:"(select all that work)"})]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:l.map(a=>{let r=e.preferredDays.includes(a);return(0,s.jsx)("button",{type:"button",onClick:()=>t({...e,preferredDays:r?e.preferredDays.filter(e=>e!==a):[...e.preferredDays,a]}),className:"px-4 py-2 text-sm border transition-colors cursor-pointer ".concat(r?"bg-[#26BECF]/15 border-[#26BECF]/50 text-[#26BECF]":"bg-white/[0.03] border-white/[0.08] text-white/40 hover:border-white/20 hover:text-white/60"),children:a},a)})})]}),(0,s.jsx)("button",{type:"submit",className:"btn-primary w-full",disabled:a,children:a?"Sending...":"Request a cleaning"})]})]})]})}},7069:function(e,t,a){"use strict";a.d(t,{T:function(){return r}});var s=a(7437);function r(e){let{variant:t="white",size:a="md",iconOnly:r=!1}=e,n={sm:{width:120,height:28},md:{width:160,height:36},lg:{width:220,height:48}};return(0,s.jsx)("img",{src:r?"/icon-".concat(t,".svg"):"/logo-".concat(t,".svg"),alt:"Asimov",width:r?n[a].height:n[a].width,height:n[a].height,className:"block"})}}},function(e){e.O(0,[776,971,23,744],function(){return e(e.s=7777)}),_N_E=e.O()}]);

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.