import{n as v,j as t,L as s}from"./index-B6RN67SY.js";import{s as x}from"./staticBlogPosts-CjEZ3jk3.js";import{a as p,c as m}from"./site-footer-gnC-Otq6.js";import{B as c}from"./book-open-DqW_NDuP.js";import{A as l}from"./arrow-left-DRzKf932.js";import{C as j}from"./circle-alert-YBlo0ILC.js";import{W as h}from"./wrench-B20_iFkB.js";import{G as w}from"./gauge-Dzw_1tnS.js";import{D as A}from"./droplets-Bb0So6bE.js";import{S as B}from"./snowflake-KiyfM4KX.js";import{F}from"./flame-eiyy4Afa.js";import{C as N}from"./chevron-right-BNjbQ3IV.js";import{C as b}from"./clock-DVXGf7Bn.js";import{C as y}from"./calendar-j6okrwg-.js";const P="647-919-9619",u="tel:+16479199619",f={"radiant-floor-heating":F,"snowmelt-systems":B,"drain-cleaning":A,"boiler-installations":h,"water-meter":w,"custom-plumbing":h,"emergency-plumbing":j},k={"radiant-floor-heating":"from-orange-500/20 to-red-500/10","snowmelt-systems":"from-sky-500/20 to-blue-500/10","drain-cleaning":"from-teal-500/20 to-cyan-500/10","boiler-installations":"from-amber-500/20 to-yellow-500/10","water-meter":"from-indigo-500/20 to-purple-500/10","custom-plumbing":"from-zinc-500/20 to-slate-500/10","emergency-plumbing":"from-rose-500/20 to-red-500/10"},z={"radiant-floor-heating":"text-orange-400","snowmelt-systems":"text-sky-400","drain-cleaning":"text-teal-400","boiler-installations":"text-amber-400","water-meter":"text-indigo-400","custom-plumbing":"text-zinc-400","emergency-plumbing":"text-rose-400"},i={"radiant-floor-heating":"/services/radiant-floor-heating","snowmelt-systems":"/services/snowmelt-systems","drain-cleaning":"/services/drain-cleaning-clog-repair","boiler-installations":"/services/boiler-installations-mechanical-contracting","water-meter":"/services/water-meter-applications-upgrades","custom-plumbing":"/services/custom-home-plumbing-rough-ins","emergency-plumbing":"/services/emergency-plumbing-repair"};function C(o){return new Date(o).toLocaleDateString("en-CA",{year:"numeric",month:"long",day:"numeric"})}const Q=()=>{const{slug:o}=v(),a=x.find(e=>e.slug===o),d=x.filter(e=>e.slug!==o&&e.parentServiceSlug===(a==null?void 0:a.parentServiceSlug)).slice(0,3);if(!a)return t.jsxs("div",{className:"min-h-screen bg-white text-[#0A0A0A]","data-id":"amv9jewdm","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(p,{variant:"light",navItems:[{label:"About Us",href:"/about-us"},{type:"services"},{type:"areas"},{label:"Reviews",href:"/reviews"},{label:"FAQ",href:"/faq"},{label:"Contact",href:"/contact"}],ctaLabel:"Get a Free Quote",ctaHref:"/contact",ctaStyle:"orange",phoneDisplay:P,phoneHref:u,"data-id":"ungvc1okn","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),t.jsxs("div",{className:"max-w-3xl mx-auto px-6 py-32 text-center","data-id":"c4k430gfw","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(c,{className:"h-12 w-12 text-[#8F8F8F]/40 mx-auto mb-6","data-id":"uje9vxk8t","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),t.jsx("h1",{className:"text-2xl font-bold mb-3","data-id":"64qbrzzdx","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:"Article Not Found"}),t.jsx("p",{className:"text-[#8F8F8F] mb-8","data-id":"p8wv8getf","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:"This article doesn't exist or may have been moved."}),t.jsxs(s,{to:"/blog",className:"inline-flex items-center gap-2 rounded-xl bg-[#0A0A0A] text-white px-6 py-3 text-sm font-semibold hover:bg-[#8F8F8F] transition","data-id":"9k3bc9wfo","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(l,{className:"h-4 w-4","data-id":"retq3zgbw","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),"Back to Blog"]})]}),t.jsx(m,{"data-id":"ynvvd21ka","data-path":"src/pages/blog/StaticBlogPostPage.tsx"})]});const n=f[a.parentServiceSlug]??c,r=k[a.parentServiceSlug]??"from-zinc-500/20 to-slate-500/10",g=z[a.parentServiceSlug]??"text-zinc-400";return t.jsxs("div",{className:"min-h-screen bg-white text-[#0A0A0A]","data-id":"r5xi26xcu","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(p,{variant:"light",navItems:[{label:"About Us",href:"/about-us"},{type:"services"},{type:"areas"},{label:"Reviews",href:"/reviews"},{label:"FAQ",href:"/faq"},{label:"Contact",href:"/contact"}],ctaLabel:"Get a Free Quote",ctaHref:"/contact",ctaStyle:"orange",phoneDisplay:P,phoneHref:u,"data-id":"ic5ep9o0k","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),t.jsx("div",{className:`bg-gradient-to-br ${r} border-b border-[#0A0A0A]/8`,"data-id":"swe5a7fio","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:t.jsxs("div",{className:"max-w-3xl mx-auto px-6 py-14 md:py-20","data-id":"dv8dkt9lo","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsxs("nav",{className:"flex items-center gap-1.5 text-xs text-[#8F8F8F] mb-6","data-id":"barse0rim","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(s,{to:"/blog",className:"hover:text-[#0A0A0A] transition","data-id":"vsxyk4znc","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:"Blog"}),t.jsx(N,{className:"h-3 w-3","data-id":"uh07lw0gm","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),i[a.parentServiceSlug]?t.jsx(s,{to:i[a.parentServiceSlug],className:"hover:text-[#0A0A0A] transition","data-id":"08vs8b1l7","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:a.serviceLabel}):t.jsx("span",{"data-id":"9ifr2kvar","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:a.serviceLabel})]}),t.jsx("div",{className:"mb-6","data-id":"dkh1fwt1p","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:t.jsx("div",{className:"inline-flex items-center justify-center h-14 w-14 rounded-2xl bg-white/60 backdrop-blur border border-white/80","data-id":"ea0ae7znk","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:t.jsx(n,{className:`h-7 w-7 ${g}`,strokeWidth:1.5,"data-id":"ipppvz34x","data-path":"src/pages/blog/StaticBlogPostPage.tsx"})})}),t.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-[#8F8F8F] mb-3","data-id":"y3j0izq75","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:a.serviceLabel}),t.jsx("h1",{className:"text-3xl md:text-5xl font-bold leading-tight mb-4 text-[#0A0A0A]","data-id":"yz88yohuk","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:a.title}),t.jsx("p",{className:"text-[#8F8F8F] text-base md:text-lg leading-relaxed mb-6 max-w-2xl","data-id":"wzinlr8yb","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:a.excerpt}),t.jsxs("div",{className:"flex items-center gap-4 text-xs text-[#8F8F8F]","data-id":"e70xo9kwh","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsxs("span",{className:"flex items-center gap-1.5","data-id":"9j8h2slgl","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(b,{className:"h-3.5 w-3.5","data-id":"2kzcct30l","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),a.readingTime," min read"]}),t.jsxs("span",{className:"flex items-center gap-1.5","data-id":"q2gk5lj8k","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(y,{className:"h-3.5 w-3.5","data-id":"5eptqfuab","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),C(a.date)]})]})]})}),t.jsxs("div",{className:"max-w-3xl mx-auto px-6 py-12 md:py-16","data-id":"7gw6zeg9x","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx("div",{className:"static-blog-prose max-w-none","data-id":"2lufz7xio","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:a.body?t.jsx("div",{dangerouslySetInnerHTML:{__html:a.body},"data-id":"zznyvpacf","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}):t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"text-base leading-relaxed text-[#8F8F8F] mb-6","data-id":"fwty1oexp","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:a.excerpt}),t.jsxs("div",{className:"rounded-2xl border border-[#0A0A0A]/10 bg-[#0A0A0A]/[0.02] p-6 md:p-8 mb-8 text-center","data-id":"k04hfdqkb","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx("p",{className:"text-[#8F8F8F] text-sm leading-relaxed mb-4","data-id":"jdrcmly36","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:"Full article content is coming soon. In the meantime, our licensed plumbers are ready to answer your questions directly."}),t.jsxs(s,{to:"/contact",className:"inline-flex items-center gap-2 rounded-xl bg-[#0A0A0A] text-white px-6 py-3 text-sm font-semibold hover:bg-[#8F8F8F] transition","data-id":"r5h3k3nz6","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:["Talk to an Expert",t.jsx(l,{className:"h-4 w-4 rotate-180","data-id":"ltu9uj674","data-path":"src/pages/blog/StaticBlogPostPage.tsx"})]})]})]})}),i[a.parentServiceSlug]&&t.jsxs("div",{className:`mt-10 rounded-2xl bg-gradient-to-br ${r} border border-[#0A0A0A]/8 p-6 flex flex-col sm:flex-row items-start sm:items-center gap-4`,"data-id":"tnl4nv10u","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx("div",{className:"shrink-0 h-12 w-12 rounded-xl bg-white/60 backdrop-blur border border-white/80 flex items-center justify-center","data-id":"yvvjadw1r","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:t.jsx(n,{className:`h-6 w-6 ${g}`,strokeWidth:1.5,"data-id":"6adv49iwi","data-path":"src/pages/blog/StaticBlogPostPage.tsx"})}),t.jsxs("div",{className:"flex-1","data-id":"n7apgrlw9","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsxs("p",{className:"text-sm font-bold text-[#0A0A0A] mb-0.5","data-id":"ca32zeixh","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:["Interested in ",a.serviceLabel,"?"]}),t.jsx("p",{className:"text-xs text-[#8F8F8F] leading-relaxed","data-id":"5ugh02zaj","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:"Explore our full service page for pricing, what's included, and how to get a free quote."})]}),t.jsxs(s,{to:i[a.parentServiceSlug],className:"shrink-0 inline-flex items-center gap-2 rounded-xl bg-[#0A0A0A] text-white px-5 py-2.5 text-sm font-semibold hover:bg-[#8F8F8F] transition","data-id":"qewmbja3n","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:["View Service Page",t.jsx(l,{className:"h-4 w-4 rotate-180","data-id":"oy5b9wt8n","data-path":"src/pages/blog/StaticBlogPostPage.tsx"})]})]}),d.length>0&&t.jsxs("section",{className:"mt-12 pt-10 border-t border-[#0A0A0A]/10","data-id":"clgp3t9wq","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsxs("h2",{className:"text-xs font-bold uppercase tracking-widest text-[#8F8F8F] mb-6","data-id":"0vvhz8ubd","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:["More on ",a.serviceLabel]}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4","data-id":"xpqd31wrm","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:d.map(e=>{const S=f[e.parentServiceSlug]??c;return t.jsxs(s,{to:`/blog/${e.slug}`,className:"group flex gap-4 rounded-xl border border-[#0A0A0A]/10 p-4 hover:border-[#0A0A0A]/20 hover:shadow-sm transition-all","data-id":"d34kefjz3","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx("div",{className:`shrink-0 h-10 w-10 rounded-xl bg-gradient-to-br ${r} flex items-center justify-center`,"data-id":"zfuwmbn18","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:t.jsx(S,{className:`h-5 w-5 ${g}`,strokeWidth:1.5,"data-id":"gv2ic77rh","data-path":"src/pages/blog/StaticBlogPostPage.tsx"})}),t.jsxs("div",{"data-id":"z6lubnvv3","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx("p",{className:"text-xs font-semibold leading-snug text-[#0A0A0A] group-hover:text-[#8F8F8F] transition line-clamp-2","data-id":"rigtge31q","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:e.title}),t.jsxs("p",{className:"text-[10px] text-[#8F8F8F] mt-1 flex items-center gap-1","data-id":"v77k07xxq","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(b,{className:"h-2.5 w-2.5","data-id":"2cihjpf9k","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),e.readingTime," min read"]})]})]},e.slug)})})]}),t.jsx("div",{className:"mt-10","data-id":"w2r8ru057","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:t.jsxs(s,{to:"/blog",className:"inline-flex items-center gap-2 text-sm font-semibold text-[#8F8F8F] hover:text-[#0A0A0A] transition","data-id":"2rmit0ory","data-path":"src/pages/blog/StaticBlogPostPage.tsx",children:[t.jsx(l,{className:"h-4 w-4","data-id":"a4fafe9em","data-path":"src/pages/blog/StaticBlogPostPage.tsx"}),"All Articles"]})})]}),t.jsx(m,{"data-id":"mabyckylg","data-path":"src/pages/blog/StaticBlogPostPage.tsx"})]})};export{Q as default};