gallowelds.com/themes/gallo/layouts/partials/categories.html

47 lines
1.8 KiB
HTML
Raw Normal View History

2024-06-09 00:24:03 -04:00
<section class="bg-white text-gray-600 body-font">
<div class="container px-5 py-24 mx-auto">
<div class="flex flex-col w-full mb-20">
<h1
class="lg:w-2/3 mx-auto text-3xl mx-auto text-left font-medium title-font mb-4 text-gray-900"
>
Rental Catalog
</h1>
<p class="lg:w-2/3 text-gray-600 mx-auto leading-relaxed text-base">
Browse our extensive catalog of wedding structures to find the perfect
2024-07-13 19:06:41 -04:00
setting for your special day. Our structures are designed to provide a
stunning backdrop for your ceremony and reception, ensuring an
unforgettable experience for you and your guests.
2024-06-09 00:24:03 -04:00
</p>
</div>
2024-07-13 19:06:41 -04:00
<div
class="pb-16 max-w-[1000px] grid grid-cols-1 gap-4 mx-auto md:grid-cols-2 lg:grid-cols-3"
>
2024-06-09 00:24:03 -04:00
{{ range .Site.Params.catalogButtons.home }}
<a
2024-07-13 20:36:32 -04:00
class="rounded-md aspect-[3/2] overflow-hidden group relative inline-block overflow-hidden hover:scale-[1.02] duratoin-100 transition-all focus:outline-none focus:ring"
2024-06-09 00:24:03 -04:00
href="/catalog/#{{ .categoryName }}"
>
2024-07-13 20:36:32 -04:00
<span
2024-07-13 23:21:59 -04:00
class="absolute inset-x-0 z-10 top-0 h-[1px] bg-black opacity-70 transition-all group-hover:h-full group-active:bg-gray-700"
2024-07-13 20:36:32 -04:00
></span>
2024-06-09 00:24:03 -04:00
<div class="relative h-full max-w-full">
2024-07-13 20:36:32 -04:00
<span
class="text-white font-bold w-full z-10 text-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-3xl"
2024-06-09 00:24:03 -04:00
>
{{ .categoryName }}
2024-07-13 20:36:32 -04:00
</span>
2024-06-09 00:24:03 -04:00
<img
class="min-h-full h-auto w-full opacity-90"
2024-06-09 00:24:03 -04:00
src="{{ .img }}"
2024-07-15 14:58:34 -04:00
loading="lazy"
2024-06-09 00:24:03 -04:00
alt="Category {{ .categoryName }}"
style="{{ .style | safeCSS }} filter: brightness(60%);"
2024-06-09 00:24:03 -04:00
/>
</div>
</a>
{{ end }}
</div>
</div>
2024-06-09 00:24:03 -04:00
</section>