From 5d4ce236df0d4758f0d1401cb74a3e1790360231 Mon Sep 17 00:00:00 2001 From: Pkpedram Date: Mon, 31 Jan 2022 16:22:39 +0330 Subject: [PATCH] Home Page Grid + Product Page fixed --- src/components/Product/index.js | 7 ++++--- src/components/SalesContainer/index.js | 6 +++--- src/views/Home/Desktop/Part2/index.js | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/Product/index.js b/src/components/Product/index.js index 73dbd40..2707ffa 100644 --- a/src/components/Product/index.js +++ b/src/components/Product/index.js @@ -49,14 +49,15 @@ const ProductDesign = ({ }) => { const [isHovering, setIsHovering] = useState(false); return ( -
-
setIsHovering(true)} - onMouseLeave={() => setIsHovering(false)}> +
setIsHovering(true)} + onMouseLeave={() => setIsHovering(false)} > {/* product image */}
diff --git a/src/components/SalesContainer/index.js b/src/components/SalesContainer/index.js index 3011835..23dcc38 100644 --- a/src/components/SalesContainer/index.js +++ b/src/components/SalesContainer/index.js @@ -29,8 +29,8 @@ const SalesContainer = ({

-

دوشنبه

-

کتاااابی

+

دوشنبه

+

کتاااابی

@@ -46,7 +46,7 @@ const SalesContainer = ({
- + { list?.map((product, index) => ( diff --git a/src/views/Home/Desktop/Part2/index.js b/src/views/Home/Desktop/Part2/index.js index c773ef3..3b189dc 100644 --- a/src/views/Home/Desktop/Part2/index.js +++ b/src/views/Home/Desktop/Part2/index.js @@ -52,7 +52,7 @@ const Part2 = (
- + { books?.slice(15,24).map((product, index) => (