Files
resharespace-static/_includes/card.liquid
T

27 lines
1.6 KiB
Plaintext

<div class="pb-3 lg:pb-0 xl:pb-1 rounded-card bg-white shadow-[0px_4px_30px_rgba(0,0,0,0.08)]">
<div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64">
<a>
<div class="rounded-card flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-indigo-700 text-white tracking-tighter rounded-md">
<p>{{ listing.price }}</p>
</div>
<img alt="" class="h-full w-full object-cover cursor-pointer rounded-tl-card rounded-tr-card" onclick="toggleSidebar('inquiry-modal');toggleOverlay('collapse-overlay')" src="{{ listing.image }}">
<div class="absolute bottom-2 right-2 w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent cursor-pointer" title="Add to Favorites">
<img src="assets/svg/icon_like.svg" class="w-5 h-5" alt="Like">
</div>
</a>
</div>
<div class="relative flex flex-col px-3 mt-2 lg:px-2 lg:mt-3 xl:mt-1 xl:px-4 xxl:px-3">
<a>
<p class="sm:w-10/12 md:w-auto lg:w-11/12 font-heading font-bold text-xl tracking-wider md:tracking-normal xl:tracking-wide xxl:tracking-tighter leading-7 lg:leading-6 xl:leading-7 break-words">
{{ listing.title }}
</p>
</a>
<p class="text-xs text-gray-600 capitalize font-sans mt-1">
{{ listing.address }}
</p>
<p class="text-xs text-gray-600 tracking-wide font-sans mt-1">
{{ listing.timestamp }}
</p>
</div>
</div>