From 8053dacd29191665adf3ec5dcc665e3fb568b039 Mon Sep 17 00:00:00 2001 From: c00b3r Date: Thu, 22 May 2025 18:35:58 +0500 Subject: [PATCH] fix buttons slider --- src/components/Slider.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/components/Slider.tsx b/src/components/Slider.tsx index 02963c9..1c23048 100644 --- a/src/components/Slider.tsx +++ b/src/components/Slider.tsx @@ -3,6 +3,7 @@ import ArrowLeftIcon from './icons/ArrowLeftIcon'; import ArrowRightIcon from './icons/ArrowRightIcon'; import { dubaiMarinaSlider } from '../data/aboutDubaiMarina'; import { AnimatePresence, motion } from 'motion/react'; +import Button from './ui/Button'; function Slider({ categoryName, @@ -76,25 +77,33 @@ function Slider({
-
-
+
{currentSlide + 1}/{dubaiMarinaSlider[categoryName].length}
-
-
+