PageSourceSearch

https://rickappliances.lovable.app/assets/contact-BR_gecyz.js

js rickappliances.lovable.app collected 2026-10-03 03:43:01 UTC 6,831 bytes, 1 lines download raw bytes

1import{a as e,i as t,n,o as r,r as i,t as a}from"./index-AWOOBcei.js";import{i as o,r as s,t as c}from"./SiteHeader-C-BCnPM5.js";import{t as l}from"./arrow-left-BnbA35Md.js";import{t as u}from"./clock-DudsjPmG.js";import{t as d}from"./mail-zjfKwlK-.js";import{t as f}from"./map-pin-BiTa-y_c.js";var p=r(e()),m=t(),h=`tel:+14162767900`,g=`mailto:[email protected]`;function _(){let[e,t]=(0,p.useState)({name:``,phone:``,message:``});return(0,m.jsxs)(`div`,{className:`min-h-screen bg-background text-foreground`,children:[(0,m.jsx)(c,{}),(0,m.jsxs)(`section`,{className:`relative overflow-hidden border-b border-border`,children:[(0,m.jsx)(`div`,{className:`absolute inset-0 -z-10 bg-[var(--gradient-surface)]`}),(0,m.jsxs)(`div`,{className:`mx-auto max-w-6xl px-5 py-16 md:py-20`,children:[(0,m.jsxs)(i,{to:`/`,className:`inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground`,children:[(0,m.jsx)(l,{className:`h-4 w-4`}),` Back to home`]}),(0,m.jsx)(`p`,{className:`mt-6 text-xs font-medium uppercase tracking-[0.2em] text-primary`,children:`Contact`}),(0,m.jsxs)(`span`,{className:`mt-4 inline-flex items-center gap-2 rounded-full border border-border bg-card px-3 py-1 text-xs font-medium text-muted-foreground`,children:[(0,m.jsx)(`span`,{className:`h-1.5 w-1.5 rounded-full bg-primary`}),`Over 35 years experience`]}),(0,m.jsx)(`h1`,{className:`mt-3 font-display text-4xl font-semibold leading-tight sm:text-5xl`,children:`Let's get your appliance running.`}),(0,m.jsx)(`p`,{className:`mt-4 max-w-2xl text-muted-foreground`,children:`Call, email, or send a quick note below. We usually reply within the hour during business hours.`})]})]}),(0,m.jsx)(`section`,{className:`mx-auto max-w-6xl px-5 py-16 md:py-20`,children:(0,m.jsxs)(`div`,{className:`grid gap-10 md:grid-cols-2`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`h2`,{className:`font-display text-2xl font-semibold`,children:`Get in touch`}),(0,m.jsxs)(`ul`,{className:`mt-6 space-y-5 text-sm`,children:[(0,m.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,m.jsx)(`span`,{className:`grid h-10 w-10 shrink-0 place-items-center rounded-xl bg-primary/10 text-primary`,children:(0,m.jsx)(o,{className:`h-4 w-4`})}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`a`,{href:h,className:`font-display text-lg font-semibold hover:text-primary`,children:n}),(0,m.jsx)(`p`,{className:`text-muted-foreground`,children:`Fastest way to reach us`})]})]}),(0,m.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,m.jsx)(`span`,{className:`grid h-10 w-10 shrink-0 place-items-center rounded-xl bg-primary/10 text-primary`,children:(0,m.jsx)(d,{className:`h-4 w-4`})}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`a`,{href:g,className:`font-display text-base font-semibold hover:text-primary`,children:a}),(0,m.jsx)(`p`,{className:`text-muted-foreground`,children:`Replies within the hour`})]})]}),(0,m.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,m.jsx)(`span`,{className:`grid h-10 w-10 shrink-0 place-items-center rounded-xl bg-primary/10 text-primary`,children:(0,m.jsx)(u,{className:`h-4 w-4`})}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`font-display text-base font-semibold`,children:`Mon–Fri 9am–7pm · Sat 9am–5pm`}),(0,m.jsx)(`p`,{className:`text-muted-foreground`,children:`Closed Sundays`})]})]}),(0,m.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,m.jsx)(`span`,{className:`grid h-10 w-10 shrink-0 place-items-center rounded-xl bg-primary/10 text-primary`,children:(0,m.jsx)(f,{className:`h-4 w-4`})}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`font-display text-base font-semibold`,children:`Serving Mississauga, Oakville, Woodbridge, Burlington & Toronto`}),(0,m.jsx)(`p`,{className:`text-muted-foreground`,children:`Note: we do not service Sub-Zero appliances.`})]})]})]})]}),(0,m.jsxs)(`form`,{onSubmit:t=>{t.preventDefault();let n=encodeURIComponent(`Repair request from ${e.name||`website`}`),r=encodeURIComponent(`Name: ${e.name}\nPhone: ${e.phone}\n\n${e.message}`);window.location.href=`mailto:${a}?subject=${n}&body=${r}`},className:`rounded-3xl border border-border bg-card p-6 shadow-[var(--shadow-elevated)] sm:p-8`,children:[(0,m.jsx)(`h2`,{className:`font-display text-2xl font-semibold`,children:`Send a message`}),(0,m.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:`Fill this out and we'll open an email draft to send us the details.`}),(0,m.jsxs)(`div`,{className:`mt-6 space-y-4`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`label`,{htmlFor:`name`,className:`block text-xs font-medium uppercase tracking-wider text-muted-foreground`,children:`N
1ame`}),(0,m.jsx)(`input`,{id:`name`,required:!0,maxLength:100,value:e.name,onChange:n=>t({...e,name:n.target.value}),className:`mt-1 w-full rounded-xl border border-border bg-background px-4 py-2.5 text-sm outline-none transition focus:border-primary`})]}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`label`,{htmlFor:`phone`,className:`block text-xs font-medium uppercase tracking-wider text-muted-foreground`,children:`Phone`}),(0,m.jsx)(`input`,{id:`phone`,type:`tel`,required:!0,maxLength:30,value:e.phone,onChange:n=>t({...e,phone:n.target.value}),className:`mt-1 w-full rounded-xl border border-border bg-background px-4 py-2.5 text-sm outline-none transition focus:border-primary`})]}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`label`,{htmlFor:`message`,className:`block text-xs font-medium uppercase tracking-wider text-muted-foreground`,children:`What's going on with the appliance?`}),(0,m.jsx)(`textarea`,{id:`message`,required:!0,rows:5,maxLength:1e3,value:e.message,onChange:n=>t({...e,message:n.target.value}),className:`mt-1 w-full rounded-xl border border-border bg-background px-4 py-2.5 text-sm outline-none transition focus:border-primary`})]}),(0,m.jsxs)(`button`,{type:`submit`,className:`inline-flex w-full items-center justify-center gap-2 rounded-full bg-primary px-6 py-3 text-sm font-medium text-primary-foreground shadow-[var(--shadow-primary)] transition hover:brightness-110`,children:[(0,m.jsx)(d,{className:`h-4 w-4`}),`Send message`]})]})]})]})}),(0,m.jsx)(`footer`,{className:`border-t border-border bg-card`,children:(0,m.jsxs)(`div`,{className:`mx-auto flex max-w-6xl flex-col items-start justify-between gap-4 px-5 py-8 text-sm text-muted-foreground sm:flex-row sm:items-center`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`grid h-6 w-6 place-items-center rounded-md bg-primary text-primary-foreground`,children:(0,m.jsx)(s,{className:`h-3 w-3`})}),(0,m.jsx)(`span`,{className:`font-display font-semibold text-foreground`,children:`Rick Appliance Repair`})]}),(0,m.jsxs)(`p`,{children:[`© `,new Date().getFullYear(),` Rick Appliance Repair. Licensed & insured.`]})]})})]})}export{_ as component};

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.