"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[558],{350:(e,t,a)=>{a.d(t,{p:()=>r});var s=a(5155);a(2115);var l=a(9433);function r(e){let{className:t,type:a,...r}=e;return(0,s.jsx)("input",{type:a,"data-slot":"input",className:(0,l.cn)("file:text-foreground placeholder:text-neutral-400 selection:bg-none selection:text-primary-foreground dark:bg-input/30 flex h-9 w-full min-w-0 rounded-md bg-white px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...r})}},1978:(e,t,a)=>{a.d(t,{$:()=>o});var s=a(5155);a(2115);var l=a(9708),r=a(2085),n=a(9433);let i=(0,r.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function o(e){let{className:t,variant:a,size:r,asChild:o=!1,...d}=e,c=o?l.Slot:"button";return(0,s.jsx)(c,{"data-slot":"button",className:(0,n.cn)(i({variant:a,size:r,className:t})),...d})}},4177:(e,t,a)=>{a.d(t,{default:()=>S});var s=a(5155),l=a(2115),r=a(350),n=a(7412),i=a(6474),o=a(5196),d=a(7863),c=a(9433);function u(e){let{...t}=e;return(0,s.jsx)(n.bL,{"data-slot":"select",...t})}function x(e){let{...t}=e;return(0,s.jsx)(n.WT,{"data-slot":"select-value",...t})}function p(e){let{className:t,size:a="default",children:l,...r}=e;return(0,s.jsxs)(n.l9,{"data-slot":"select-trigger","data-size":a,className:(0,c.cn)(" data-[placeholder]:text-neutral-400 [&_svg:not([class*='text-'])]:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md bg-white px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r,children:[l,(0,s.jsx)(n.In,{asChild:!0,children:(0,s.jsx)(i.A,{className:"size-4 opacity-50"})})]})}function m(e){let{className:t,children:a,position:l="popper",...r}=e;return(0,s.jsx)(n.ZL,{children:(0,s.jsxs)(n.UC,{"data-slot":"select-content",className:(0,c.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md shadow-md","popper"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:l,...r,children:[(0,s.jsx)(g,{}),(0,s.jsx)(n.LM,{className:(0,c.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:a}),(0,s.jsx)(f,{})]})})}function h(e){let{className:t,children:a,...l}=e;return(0,s.jsxs)(n.q7,{"data-slot":"select-item",className:(0,c.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...l,children:[(0,s.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(n.VF,{children:(0,s.jsx)(o.A,{className:"size-4"})})}),(0,s.jsx)(n.p4,{children:a})]})}function g(e){let{className:t,...a}=e;return(0,s.jsx)(n.PP,{"data-slot":"select-scroll-up-button",className:(0,c.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(d.A,{className:"size-4"})})}function f(e){let{className:t,...a}=e;return(0,s.jsx)(n.wn,{"data-slot":"select-scroll-down-button",className:(0,c.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(i.A,{className:"size-4"})})}function v(e){let{className:t,...a}=e;return(0,s.jsx)("textarea",{"data-slot":"textarea",className:(0,c.cn)("border-input placeholder:text-neutral-400 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md bg-white px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...a})}var b=a(1978);let j=(0,a(2085).F)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}});function w(e){let{className:t,variant:a,...l}=e;return(0,s.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,c.cn)(j({variant:a}),t),...l})}function y(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"alert-title",className:(0,c.cn)("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",t),...a})}function N(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"alert-description",className:(0,c.cn)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",t),...a})}var k=a(6766),z=a(9911),_=a(5695),C=a(6874),q=a.n(C);let S=()=>{let[e,t]=(0,l.useState)({name:"",email:"",jobType:"",phone:"",message:""}),[a,n]=(0,l.useState)(!1),i=(0,_.usePathname)(),o=e=>{let{name:a,value:s}=e.target;t(e=>({...e,[a]:s}))};return(0,s.jsx)("div",{className:"",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto bg-light ".concat("/contact"!==i&&"pb-10"," ").concat("/contact"===i&&"pt-10"," px-4 sm:px-6 lg:px-8 relative"),children:["/contact"!==i&&(0,s.jsx)("div",{className:"mx-4",children:(0,s.jsxs)("div",{className:"relative max-w-5xl h-[230px] md:h-[170px] lg:h-[150px] -top-[100px] md:-top-[85px] lg:-top-[75px] overflow-hidden mx-auto rounded-xl",children:[(0,s.jsx)(k.default,{src:"/kitchen.webp",alt:"",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 90vw, 60vw",className:"absolute object-cover"}),(0,s.jsx)("div",{className:"bg-primary opacity-90 z-10 absolute w-full h-full"}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row z-20 absolute text-white w-full h-full items-center justify-between lg:gap-8 gap-4 px-10 py-4",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsxs)("h2",{className:"text-2xl lg:text-3xl",children:["Still Have ",(0,s.jsx)("strong",{children:(0,s.jsx)("i",{children:"Questions?"})})]}),(0,s.jsxs)("p",{children:["Free consultation with exceptional quality Just one call away: ",(0,s.jsx)("span",{className:"underline",children:"(401) 727-0020"})]})]}),(0,s.jsx)(b.$,{className:"bg-transparent border-white border shadow-none hover:shadow-none hover:bg-primary hover:cursor-pointer",children:(0,s.jsx)(q(),{href:"/contact",children:"Get your consultation"})})]})]})}),(0,s.jsxs)("h2",{className:"".concat("/contact"===i?"lg:text-5xl":"lg:text-4xl"," text-3xl text-center mb-4"),children:["Let’s ",(0,s.jsx)("strong",{children:(0,s.jsx)("i",{children:"Connect"})})]}),(0,s.jsx)("p",{className:"text-center text-neutral-500 max-w-xl mx-auto",children:"We are ready to work on a project of any complexity, whether it’s commercial or residential."}),(0,s.jsx)(k.default,{src:"/logoIcon.svg",alt:"Logo Icon",width:100,height:100,className:"hidden md:block absolute right-5 ".concat("/contact"===i?"top-0":"top-35")}),(0,s.jsxs)("form",{onSubmit:a=>{a.preventDefault(),console.log("Submitted Data:",e),t({name:"",email:"",jobType:"",phone:"",message:""}),n(!0),setTimeout(()=>{n(!1)},5e3)},className:"w-full max-w-5xl mx-auto mt-8",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,s.jsx)(r.p,{name:"name",placeholder:"Name *",type:"text",required:!0,value:e.name,onChange:o,className:" py-6"}),(0,s.jsx)(r.p,{name:"email",placeholder:"Email *",type:"email",required:!0,value:e.email,onChange:o,className:" py-6"}),(0,s.jsx)("div",{className:"col-span-1",children:(0,s.jsxs)(u,{onValueChange:e=>{t(t=>({...t,jobType:e}))},value:e.jobType,required:!0,multiple:!0,children:[(0,s.jsx)(p,{className:"w-full py-6",required:!0,children:(0,s.jsx)(x,{placeholder:"Job Type *"})}),(0,s.jsxs)(m,{children:[(0,s.jsx)(h,{value:"roof-installation",children:"Roof Installation"}),(0,s.jsx)(h,{value:"roof-replacement",children:"Roof Replacement"}),(0,s.jsx)(h,{value:"roof-repair",children:"Roof Repair"}),(0,s.jsx)(h,{value:"crane-rentals",children:"Crane Rentals"}),(0,s.jsx)(h,{value:"other",children:"Other"})]})]})}),(0,s.jsx)(r.p,{name:"phone",placeholder:"Phone",type:"text",value:e.phone,onChange:o,className:" py-6"}),(0,s.jsx)(v,{name:"message",placeholder:"Message",className:"col-span-full min-h-[150px] text-base py-6",value:e.message,onChange:o}),(0,s.jsxs)("p",{className:"text-neutral-500 -mt-3",children:[(0,s.jsx)("span",{className:"text-red-500",children:"*"})," indicates a required field"]})]}),(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(b.$,{type:"submit",className:"mt-8 py-6 lg:w-1/4 md:w-1/3 w-1/2 hover:cursor-pointer text-lg font-normal",children:"Submit"})})]}),a&&(0,s.jsx)("div",{className:"fixed bottom-5 right-5 z-50 w-80",children:(0,s.jsxs)(w,{variant:"success",className:"shadow-lg bg-white border-none",children:[(0,s.jsx)(z.yjt,{color:"#1BA672"}),(0,s.jsx)(y,{className:"text-green-700",children:"Message sent successfully!"}),(0,s.jsx)(N,{children:"We'll reach back soon."})]})})]})})}},9433:(e,t,a)=>{a.d(t,{cn:()=>r});var s=a(2596),l=a(9688);function r(){for(var e=arguments.length,t=Array(e),a=0;a