feat: enhance HeroSlider and index page layout with improved styling and overlays

This commit is contained in:
ngthanhvu
2026-07-27 04:20:00 -04:00
parent ddbf51f90b
commit 5ee45151ba
2 changed files with 97 additions and 109 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ defineExpose({ goTo })
<SwiperSlide v-for="(slide, index) in props.slides" :key="`${slide.source}-${slide.slug}-${index}`"
class="h-full w-full">
<img :src="slide.thumb || slide.poster" :alt="slide.name"
class="h-full w-full object-cover object-top lg:object-[72%_center]">
class="absolute inset-[-1px] h-[calc(100%+2px)] w-[calc(100%+2px)] max-w-none object-cover object-top lg:object-[72%_center]">
</SwiperSlide>
</Swiper>
</template>