"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6374],{96374:function(e,l,t){t.r(l);var r=t(85893),a=t(12515),i=t(96041),o=t(50252),s=t(8313),n=t(87076);l.default=e=>{let{property:l}=e,t=(0,s.m)(),d=(0,n.dZ)();return(0,r.jsx)(o.Z,{href:"/properties/city/".concat(null==l?void 0:l.City),title:null==l?void 0:l.City,className:"w-full h-full max-h-[380px] sm:max-h-full",children:(0,r.jsx)("article",{className:"cardBg group h-full max-w-sm cursor-pointer items-center overflow-hidden rounded-2xl transition-all duration-700","aria-label":"Property listings for ".concat(null==l?void 0:l.City),children:(0,r.jsxs)("figure",{className:"relative h-full w-full",children:[(0,r.jsx)(i.Z,{src:null==l?void 0:l.image,alt:null==l?void 0:l.City,priority:!1,className:"h-[350px] md:h-[487px] w-full rounded-t-md object-fill"}),(0,r.jsx)("div",{className:"z-3 absolute bottom-0 left-0 h-[10%] w-full bg-gradient-to-t from-black/50 to-transparent transition-all duration-700 group-hover:h-[60%]","aria-hidden":"true"}),(0,r.jsxs)("section",{className:"cardBg absolute bottom-3 left-0 right-0 mx-auto flex w-[96%] justify-between rounded-lg p-4",children:[(0,r.jsxs)("header",{children:[(0,r.jsx)("h2",{className:"text-base font-bold",children:null==l?void 0:l.City}),(0,r.jsxs)("p",{className:"leadColor text-sm font-medium",children:[null==l?void 0:l.Count," ",t("propertiesAvailable")]})]}),(0,r.jsx)("button",{className:"bg-white border brandBorder group-hover:brandBg group-hover:primaryTextColor rounded-md p-3 transition-all duration-500 ease-in-out","aria-label":"View properties in ".concat(null==l?void 0:l.City),children:(0,r.jsx)(a.TKU,{className:"flex-shrink-0 ".concat(d?"-rotate-90":""),size:24})})]})]})})})}}}]);