From 0841dc63334465e013e7ad91fc3983d29583cf55 Mon Sep 17 00:00:00 2001 From: keshitrivedi Date: Sat, 1 Mar 2025 15:01:14 +0530 Subject: [PATCH 1/2] modified pagination and scroll to top button --- components/Home/Gallery.jsx | 5 +++-- components/Shared/Scroll.jsx | 2 +- pages/index.js | 2 +- styles/globals.css | 31 +++++++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/components/Home/Gallery.jsx b/components/Home/Gallery.jsx index a9fbeed..74ecb3f 100644 --- a/components/Home/Gallery.jsx +++ b/components/Home/Gallery.jsx @@ -83,14 +83,14 @@ const ServiceSlider = () => { // slideShadows: false // }} pagination={{ - dynamicBullets: true + clickable: true }} autoplay={{ delay: 2000, disableOnInteraction: true }} modules={[Autoplay, Pagination]} - className="overflow-hidden" + className="overflow-hidden pb-12" > {serviceData.map((item, index) => ( @@ -110,6 +110,7 @@ const ServiceSlider = () => { ))} + // { }, []); return ( -
+
{isVisible && (