From c48435267ed9c148cac89c797615e9bb3fec7b1e Mon Sep 17 00:00:00 2001 From: Hiruni Wijerathna <114440722+HiruniWijerathna@users.noreply.github.com> Date: Sun, 25 May 2025 10:38:31 +0530 Subject: [PATCH 01/62] add --- frontend/src/components/ShopByBrand.jsx | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/ShopByBrand.jsx b/frontend/src/components/ShopByBrand.jsx index 15bd902..37c10c0 100644 --- a/frontend/src/components/ShopByBrand.jsx +++ b/frontend/src/components/ShopByBrand.jsx @@ -57,7 +57,6 @@ const ShopByBrand = () => { scrollRef.current?.scrollBy({ left: offset, behavior: "smooth" }); }; - // Split brands into 2 rows const half = Math.ceil(brands.length / 2); const firstRow = brands.slice(0, half); const secondRow = brands.slice(half); @@ -135,8 +134,8 @@ const ShopByBrand = () => { flex flex-col items-center justify-center bg-white/10 backdrop-blur-md border border-white/10 transition-all duration-300 - hover:ring-2 hover:ring-white/40 - ${brand.glow} /* dynamic shadow color */ + hover:ring-2 hover:ring-white/40 + ${brand.glow} `} > { ))} + + {/* Simple test navigation buttons */} +
+ + +
); }; From 1915498dbb90278c25bf13b4a9706f2a347720d9 Mon Sep 17 00:00:00 2001 From: ZNilakshi Date: Sun, 25 May 2025 10:39:43 +0530 Subject: [PATCH 02/62] brand pages --- frontend/src/App.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index c5a2201..515cc80 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -17,7 +17,7 @@ import Contact from "./pages/Contact"; import PrivacyPolicy from "./pages/privacy-policy"; import ScrollToTop from "./components/ScrollToTop"; // Import the ScrollToTop component import Checkout from "./pages/Checkout"; - +import BrandPage from "./pages/BrandPage"; function App() { return ( @@ -38,7 +38,8 @@ function App() { } /> } /> } /> - + } /> +