"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[556],{12708:function(e,t,a){var n=a(67294);function s(){return s=Object.assign||function(e){for(var t=1;t=0||(s[a]=e[a]);return s}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(s[a]=e[a])}return s}var o=(0,n.forwardRef)((function(e,t){var a=e.color,o=void 0===a?"currentColor":a,i=e.size,l=void 0===i?24:i,c=r(e,["color","size"]);return n.createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),n.createElement("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),n.createElement("polyline",{points:"22 4 12 14.01 9 11.01"}))}));o.displayName="CheckCircle",t.Z=o},74655:function(e,t,a){a.r(t),a.d(t,{default:function(){return E}});var n=a(51721),s=a(67294),r=a(25444),o=a(93751),i=a(89422),l=a(64850),c=a(50591),p=a(74248),m=a(4550),d=a(93118),f=a(1579),g=a(25200),h=a(3713);var u=a(12708),b=a(49786),x=a(6125),y=a(94008),v=a(86293);let w=function(e){function t(){return e.apply(this,arguments)||this}return(0,n.Z)(t,e),t.prototype.render=function(){function e(e,t){if(e){return e.replace(/{{city}}/gi,t||n).replace(/{{citySlug}}/gi,(t||n).replace(/\./g,"").toLowerCase().replace(/\s/g,"-")+"-ca")}}let{pageContext:t}=this.props;const n=t.city;let w=this.props.data.contentfulServiceAreaContent,E=this.props.data.allContentfulServiceArea.edges,k=e(w.content.content),C="";C=t.tidbits;let N=t.zipCodes;w.metaKeywordsList&&w.metaKeywordsList.forEach((function(t,a){w.metaKeywordsList[a]=e(t)}));const _=()=>(w.topbar||[]).map((e=>{let{id:t,title:a,cssClasses:n,content:r}=e;return s.createElement("section",{key:t,className:n,dangerouslySetInnerHTML:{__html:r.content}})})),{testimonials:S}=w.testimonialSection||{testimonials:[]},T=()=>w.sidebar.map(((e,t)=>{if("ContentfulSidebar"==e.__typename)return s.createElement(m.Z,{key:t,sidebar:e});if("ContentfulSidebarCollection"==e.__typename){const t=e.sidebars.map(((e,t)=>s.createElement(m.Z,{key:"inner"+t,sidebar:e})));return t}return null})),j=(0,h.w)(this.props.data.site.siteMetadata.social),M=()=>s.createElement("div",{className:"relative isolate flex flex-col justify-end overflow-hidden rounded-2xl bg-zinc-800 px-8 pb-8 pt-64 sm:pt-48 lg:pt-72 "},s.createElement(x.S,{src:"../images/IMG_0979.jpeg",alt:"",className:"gatsby-image-wrapper-absolute !absolute inset-0 -z-10 h-full w-full object-cover",__imageData:a(78328)}),s.createElement("div",{className:"absolute inset-0 -z-10 bg-gradient-to-t from-zinc-800 to-transparent via-zinc-900/10"}),s.createElement("div",{className:"flex flex-wrap items-center gap-y-1 overflow-hidden text-sm leading-6 text-zinc-300"},s.createElement("div",{className:"items-center flex space-x-4 mb-4 border-b border-zinc-400 w-full pb-4"}," ",s.createElement("div",{className:"w-28 "},s.createElement(y.Z,{light:!0})),s.createElement("span",{className:"font-display text-white text-2xl font-semibold block"},"Showroom"))),s.createElement("h3",{className:"mt-3 text-lg leading-6 text-white flex divide-x-2 divide-zinc-400 space-x-4"},s.createElement("div",null,s.createElement("span",{className:"block text-base font-semibold"},"5000 Sq. Ft. Showroom"),s.createElement("span",{className:"font-normal block text-xs"},"5140 Madison Ave Sacramento, CA")),s.createElement("div",{className:"pl-4"},s.createElement("span",{className:"block text-base font-semibold"},"Office Hours"),s.createElement("span",{className:"font-normal block text-xs"},"Mon-Fri: 9AM-5:00PM"))),s.createElement(v.Z,{className:"mt-8",href:"http://maps.google.com/?q=Radix Flooring, Madison Avenue, Sacramento, CA",target:"_blank"},"Directions"));return s.createElement(s.Fragment,null,s.createElement(i.Z,{pageProps:this.props,footerLogoShowcase:w.footerLogoShowcase,customSchema:!0,headerTransparent:!0},s.createElement(o.Z,{title:e(w.seoTitle),description:e(w.metaDescription),keywords:w.metaKeywordsList?w.metaKeywordsList:[]}),s.createElement(l.Z,{pageData:w,serviceTitle:e(w.serviceTitle),heroImage:w.heroImage,excerpt:e(w.excerpt),pageProps:this.props,badges:w.headerFeaturedBadges,specialOffer:e(w.specialOffer),offerDisclaimer:e(w.offerDisclaimer),headerTransparent:!0}),s.createElement("div",{className:" border-b border-zinc-100 py-2"},s.createElement(b.Z,null)),w.socialReviewsFullWidth&&w.socialReviewsFullWidth.slug?s.createElement(f.Z,{modalLinkTo:"/reviews/"+w.socialReviewsFullWidth.slug+"/"}):null,w.photoGalleryRef&&w.photoGalleryRef.photos?s.createElement(d.Z,{gallery:w.photoGalleryRef}):null,s.createElement(_,null),s.createElement(g.J,{testimonial_video_posts:S}),s.createElement("div",{className:"block md:hidden px-4 sm:px-6 max-w-7xl mx-auto py-4"},s.createElement(M,null)," "),s.createElement("div",null,s.createElement("div",{className:"flex flex-wrap px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto py-8 md:py-12"},s.createElement("div",{className:(w.sidebar?"md:w-2/3 md:pr-4":"w-full")+" prose md:prose-lg"},k&&s.createElement("div",{dangerouslySetInnerHTML:{__html:k}}),N?s.createElement("h3",{className:"servicedzip"},"Serviced ZIP Codes:"," ",(L=N.map(((e,t)=>e)),I=", ",0===L.length?[]:L.slice(1).reduce((function(e,t,a){return e.concat([I,t])}),[L[0]])),N.map((e=>s.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'\n {\n "@context": "https://www.schema.org",\n "@type": "PostalAddress",\n "addressLocality": "'+n+'",\n "addressRegion": "CA",\n "postalCode": "'+e+'"\n }\n '}})))):null,s.createElement("div",{className:"pt-10 pb-5 bg-white rounded-2xl"},s.createElement("span",{className:"px-8 block text-2xl font-bold text-gray-900 font-display"},"Other Service Areas"),s.createElement("ul",{className:"flex flex-wrap list-none m-0"},E.map(((t,a)=>s.createElement("li",{key:a,className:"w-1/2 md:w-1/3 flex space-y-4 md:space-y-6"},s.createElement("div",{className:"flex-shrink-0 mr-2"},s.createElement(u.Z,{fontWeight:900,strokeWidth:3,size:20,className:"text-brand-500 mt-2"}))," ",s.createElement(r.Link,{style:{marginTop:0,textDecoration:"none"},className:"text-gray-800 underline-none",title:""+e(w.serviceTitle,t.node.location),to:"/"+w.slug+"-"+t.node.slug+"/"},t.node.location,s.createElement("span",{className:"block text-sm font-normal text-gray-500"},w.serviceName)))))))),w.sidebar?s.createElement("div",{className:"w-full md:w-1/3 md:pl-4 space-y-4 md:space-y-6"},s.createElement("div",{className:"hidden md:block"},s.createElement(M,null)," "),s.createElement("div",{className:"aspect-ratio-box mb-4 rounded-lg shadow-md"},s.createElement("iframe",{className:"aspect-ratio-box-inside projects-project",src:"https://www.google.com/maps/embed/v1/place?key=AIzaSyCwXnoLHPbHNOjKkwCoFY8u4RHtqDGp8dM&q="+n+"+CA",width:"100%",frameBorder:0,height:"400",loading:"lazy"})),s.createElement(T,null)):"")),s.createElement("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 "},s.createElement("div",{className:"mt-4 mb-8 prose"},s.createElement("h4",null,"About ",n),s.createElement(p,{children:C}))),s.createElement(c.Z,{title:"Start Your "+e(w.serviceTitle)+" Project Today!",customTitle:e(w.footerCallToActionHeading),customDesc:e(w.footerCallToActionDesc),bgimage:w.footerCallToActionImg,serviceHeroImage:w.heroImage,btn:"Get Started!",props:this.props})),s.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'\n {\n "@id": "https://radixflooring.com#HomeAndConstructionBusiness",\n "@context": "https://www.schema.org",\n "@type": "HomeAndConstructionBusiness",\n "name": "Radix Flooring",\n "url": "https://radixflooring.com/",\n "logo": "https://images.ctfassets.net/2f5vkvhg79rh/4aUo4VhWj9O7oy90m3LplT/e537f7ae486d2c60ccbcbaf588c272cb/radixflooring-thumb.jpg",\n "image": "https://images.ctfassets.net/2f5vkvhg79rh/4aUo4VhWj9O7oy90m3LplT/e537f7ae486d2c60ccbcbaf588c272cb/radixflooring-thumb.jpg",\n "description": "Radix Flooring is a '+n+" "+w.serviceTitle.replace(/{{city}}/gi,"").replace(" in ","").replace(", CA","")+' specializing in residential and commercial flooring installation and replacement services near you.",\n "openingHours": "Mo, Tu, We, Th, Fr 08:00-18:00",\n "telephone": "+1 916-302-3021",\n "priceRange":"$$", \n "contactPoint": {\n "@type": "ContactPoint",\n "contactType": "sales",\n "telephone": "+1 916-302-3021"\n }\n }'}}),s.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'\n {\n "@context": "http://schema.org/",\n "@type": "service",\n "servicetype": "'+this.props.pageContext.serviceTitle+'",\n "provider": {\n "@type": "organization",\n "name": "'+this.props.data.site.siteMetadata.title+'",\n "url": "'+(this.props.data.site.siteMetadata.siteUrl+this.props.location.pathname)+'",\n "logo": "https://images.ctfassets.net/2f5vkvhg79rh/4aUo4VhWj9O7oy90m3LplT/e537f7ae486d2c60ccbcbaf588c272cb/radixflooring-thumb.jpg",\n "image": "https://images.ctfassets.net/2f5vkvhg79rh/4aUo4VhWj9O7oy90m3LplT/e537f7ae486d2c60ccbcbaf588c272cb/radixflooring-thumb.jpg",\n "address": {\n "@type": "postaladdress",\n "addresslocality": "'+n+'",\n "addressregion": "CA",\n "postalcode": "'+this.props.pageContext.zipCode+'"\n },\n "contactpoint": {\n "@type": "contactpoint",\n "contacttype": "customer support",\n "telephone": "'+this.props.data.site.siteMetadata.companyInfo.phone+'",\n "email": "'+this.props.data.site.siteMetadata.companyInfo.email+'"\n },\n "sameas": ['+j.map((e=>'"'+e+'"'))+']\n },\n "areaserved": [{\n "@type": "city",\n "name": "'+n+'",\n "@id": "https://en.wikipedia.org/wiki/'+n.replace(/\s/g,"_")+',_California"\n }],\n "hasoffercatalog": {\n "@type": "offercatalog",\n "name": "'+this.props.pageContext.serviceTitle+'",\n "itemlistelement": [{\n "@type": "offercatalog",\n "name": "'+this.props.pageContext.serviceTitle.toLowerCase()+' services",\n \n }]\n }\n }\n '}}));var L,I},t}(s.Component);var E=w},48284:function(e,t,a){t.Z=a.p+"static/angieslist-a8aee3417fd865ddaeb3904a6efd0d0c.svg"},12450:function(e,t,a){t.Z=a.p+"static/guildquality-0324b85d7348fb568b7a9c860f861ec7.svg"},78956:function(e,t,a){t.Z=a.p+"static/homeadvisor-b51f1f8833663d84be7a33a20653b5ff.svg"},78328:function(e){e.exports=JSON.parse('{"layout":"constrained","backgroundColor":"transparent","images":{"fallback":{"src":"https://radixflooring.com/cities/static/77fd53f13cda677d3f04437ac345c249/ada85/IMG_0979.jpg","srcSet":"https://radixflooring.com/cities/static/77fd53f13cda677d3f04437ac345c249/4fbe3/IMG_0979.jpg 750w,\\nhttps://radixflooring.com/cities/static/77fd53f13cda677d3f04437ac345c249/d79b7/IMG_0979.jpg 1080w,\\nhttps://radixflooring.com/cities/static/77fd53f13cda677d3f04437ac345c249/ada85/IMG_0979.jpg 1360w","sizes":"(min-width: 1360px) 1360px, 100vw"},"sources":[{"srcSet":"https://radixflooring.com/cities/static/77fd53f13cda677d3f04437ac345c249/0ec43/IMG_0979.webp 750w,\\nhttps://radixflooring.com/cities/static/77fd53f13cda677d3f04437ac345c249/c71e5/IMG_0979.webp 1080w,\\nhttps://radixflooring.com/cities/static/77fd53f13cda677d3f04437ac345c249/44e2e/IMG_0979.webp 1360w","type":"image/webp","sizes":"(min-width: 1360px) 1360px, 100vw"}]},"width":1360,"height":763}')}}]); //# sourceMappingURL=component---src-templates-service-city-js-173b174cd6199ea0854f.js.map