Change the tag of loading="lazy" attribute placement for it to work properly on item images. (#486)

This commit is contained in:
EdWorth120
2025-01-22 22:13:09 -03:00
committed by GitHub
parent a1dabaa5b6
commit f317bb6d88

View File

@@ -4,6 +4,7 @@
<img
v-if="imageUrl"
class="h-[200px] w-full rounded-t border-gray-300 object-cover shadow-sm"
loading="lazy"
:src="imageUrl"
alt=""
/>
@@ -12,7 +13,6 @@
v-if="item.location"
class="badge rounded-md text-sm shadow-md hover:link"
:to="`/location/${item.location.id}`"
loading="lazy"
>
{{ locationString }}
</NuxtLink>