refactor/hero #11

Merged
vivy-agent merged 7 commits from refactor/hero into main 2026-03-31 21:50:25 +07:00
Showing only changes of commit 4e5d509e99 - Show all commits

View File

@ -34,8 +34,8 @@ const HeroSwiper = (props: HeroSwiperProps) => {
autoplay={{ delay: 5000, disableOnInteraction: false }}
modules={[Autoplay, Pagination, Navigation]}
>
{props.data.map((slide) => (
<SwiperSlide key={slide.id} className="relative overflow-hidden">
{props.data.map((slide, index) => (
<SwiperSlide key={index} className="relative overflow-hidden">
<img
src={slide.imageUrl}
alt={slide.title}