feat: replace hero video fallback shortcode with dynamic Swiper slider and enable observer settings for swiper instances
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<article class="relative p-3 lg:p-4 bg-white rounded-lg border border-gray-100 group flex flex-col justify-between text-left w-full h-full">
|
||||
<div class="flex flex-col gap-3.5">
|
||||
<a class="relative overflow-hidden rounded block aspect-[9/5]" href="{{linkUrl}}" th:href="@{${item.linkUrl}}">
|
||||
<img alt="{{title}}" th:alt="${item.title}" class="object-cover h-full w-full" src="{{imageUrl}}" th:src="@{${item.imageUrl}}"/>
|
||||
<img alt="{{title}}" th:alt="${item.title}" class="object-cover h-full w-full" data-src="{{imageUrl}}" th:src="@{${item.imageUrl}}"/>
|
||||
<div class="absolute inset-0 w-full h-full bg-black/40 opacity-0 lg:group-hover:opacity-100 duration-300 ease-in-out"></div>
|
||||
</a>
|
||||
<div class="px-1.5 w-full flex flex-col gap-3.5">
|
||||
|
||||
Reference in New Issue
Block a user