fix bugs and fix application speed

This commit is contained in:
F4ilji
2025-05-01 14:13:13 +05:00
parent 1df3ad490c
commit 6f4da2e704
14 changed files with 70 additions and 26 deletions
@@ -16,6 +16,7 @@
class="object-cover transition-opacity duration-1000 absolute inset-0 h-full w-full"
sizes="100vw"
:src="'/storage/' + slide.image.url"
:loading="index === 0 ? 'eager' : 'lazy'"
:class="{ 'opacity-1': currentIndex === index, 'opacity-0': currentIndex !== index }"
/>
</a>