diff --git a/src/app/globals.css b/src/app/globals.css index c3af90f..082f07f 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -167,3 +167,20 @@ textarea.place-black::placeholder { @apply bg-background text-foreground; } } + +/* Ensure Swiper components don't interfere with header z-index */ +.swiper, +.swiper-container, +.mySwiper { + z-index: 0 !important; + position: relative !important; +} + +.swiper-wrapper, +.swiper-slide { + z-index: 0 !important; +} + +.swiper-pagination { + z-index: 1 !important; +} diff --git a/src/app/home/components/Carousel.tsx b/src/app/home/components/Carousel.tsx index b87f463..9443cb1 100644 --- a/src/app/home/components/Carousel.tsx +++ b/src/app/home/components/Carousel.tsx @@ -5,8 +5,8 @@ import { Pagination } from 'swiper/modules'; const Carousel: FC = () => { return ( -
- +
+
1 diff --git a/src/app/home/components/HotOffer.tsx b/src/app/home/components/HotOffer.tsx index 86c8756..7c32120 100644 --- a/src/app/home/components/HotOffer.tsx +++ b/src/app/home/components/HotOffer.tsx @@ -7,7 +7,7 @@ import { Swiper, SwiperSlide } from 'swiper/react'; const HotOffer: FC = () => { return ( -
+
پیشنهاد های @@ -40,6 +40,12 @@ const HotOffer: FC = () => { + + + + + +
diff --git a/src/components/ProductCard.tsx b/src/components/ProductCard.tsx index f73537b..4194a75 100644 --- a/src/components/ProductCard.tsx +++ b/src/components/ProductCard.tsx @@ -1,8 +1,41 @@ +import { Heart } from 'iconsax-react' +import Image from 'next/image' import { FC } from 'react' const ProductCard: FC = () => { return ( -
+
+
+ +
+ +

+ شارژر دیواری 65 وات سامسونگ سه پورت Type-C مدل EP-T6530- اورجینال +

+ +
+
+
+
+
+ +
+ 260,000 تومان +
+
+ 70,400,000 +
+ +
+ +
+
)