From a5672afc5315699a88bc56d4cf5cd8212dbf9509 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sat, 8 Jan 2022 11:56:36 +0330 Subject: [PATCH] update --- src/App.js | 28 +++++++++--------- src/assets/icons/customer-support.png | Bin 3754 -> 2641 bytes src/components/Blogs/design2/BlogDesign2.js | 16 +++++----- src/components/Blogs/design3/BlogDesign3.js | 12 ++++---- src/components/Blogs/design4/BlogDesign4.js | 12 ++++---- src/components/Blogs/design5/BlogDesign5.js | 12 ++++---- src/components/Blogs/design6/BlogDesign6.js | 8 ++--- .../Header/desgin1/HeaderDesign1.js | 9 ++++-- src/components/buttonDesign/ButtonDesign.js | 5 ++-- .../contactInfoSection/ContactInfoSection.js | 6 +--- src/components/counterDesign/CounterDesign.js | 16 ++++++---- src/components/productDesign/ProductDesign.js | 21 +++++++++---- .../vodProductDesign/VodProductDesign.js | 6 ++-- 13 files changed, 84 insertions(+), 67 deletions(-) diff --git a/src/App.js b/src/App.js index 9ceaa59..250fca6 100644 --- a/src/App.js +++ b/src/App.js @@ -22,21 +22,21 @@ function App() {
- {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} - {/* */} + + + + + + + + + + + + + {/* */} - {/* */} +
); } diff --git a/src/assets/icons/customer-support.png b/src/assets/icons/customer-support.png index 2a71eb724bc98651ebd9ba0e6625b3f62692e3e6..a39bb4f6cf0069b416cb27175f17ca41742169b3 100644 GIT binary patch literal 2641 zcmV-X3a<5uP)7txdgw8E>)JBp`~`GDH2+(JE?m zT1W^{!LgH8M{7quSijWjOskzbj>;&xfjZJ6)=R&1I@nPZasxH3wTQhaXcdu5$jR9~ z`}9Kyo|6lllifX+W`E!I**DMg?EBAq-raq7pM{8sh>4LxCy*8O^`^a};sQ+fVmvuV zMP>^+Tj4l?=|IKdmIo9D1U^^f15w=xyesIN$+HIgS-(D2z@x~Dq7|gPrn%BFyzdLT zSYZJ$!>7xGBD|*PMn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pP9m|6tV!(l{$XR!qWtDIu@I zf{4`O(^61Ip#U{bp#TL1Ij0_d!Orzm(t;c@27LuEl;RVRf3!G*Z`oun6d?a-VQT+t zletiU{4-0r9>qh+_V;_$@HB;YLMpoVeSImvV)4j|7VyQq&Kosk5C zf#(U1{QV*^?E=;!&A?*Z4KK>m(})5k!LJSVR#SMLiZT^HtDB(IPW%S4ml^6?MKS+( zVlSebn%SmK;xS2UB;026tQhL4IqDFf{UkcSH@%PF{`|2>L^V?#_jr_F)662-&hJfE zMwDxJux-d(+m)x4a^p<*6L1)0 z6pE!_-I}=_`=jWCNHPXsD{`*$$%qkbfd>uf`{~+QN@0v7nJMLJB(C8oN4W|VmZ6WV z_lsE8PROe{jt*}}mX&WnoLVEfcG*xZR>8h31`Z3jz8B(k`~r5b+Tn=9iWX4ge&G8S z<+LFuq_0K>lLZOWgnk5WT&auXPgO7QU=GPDz=F!%N`Wi$NT&1erSiU$1&&;RevY!s zYyW2yW3Ak=D>Cwa8@G<%0Ng )}
-

+

آیا مواد غذایی پر فیبر مفید هستند؟

{blogSubTitle && ( -

شما چه فکری می کنید

+

شما چه فکری می کنید

)}
-
+
{blogAuthor && ( -
- -

+

+ +

حامد دژبانی نسب

)} {blogComments && (
-

+

زمان مطالعه 30 دقیقه

- + diff --git a/src/components/Blogs/design3/BlogDesign3.js b/src/components/Blogs/design3/BlogDesign3.js index 1eed0fc..d740bc9 100644 --- a/src/components/Blogs/design3/BlogDesign3.js +++ b/src/components/Blogs/design3/BlogDesign3.js @@ -47,20 +47,20 @@ const BlogDesign3 = ({ > {/* */}
-

+

آیا مواد غذای پر فیبر و مفید هستند؟

{blogSubTitle && ( -

+

نظر شما چیه

)}
{blogAuthor && (
- +

حامد دژبانی نسب

@@ -69,12 +69,12 @@ const BlogDesign3 = ({ {blogComments && (

زمان مطالعه 30 دقیقه

- + diff --git a/src/components/Blogs/design4/BlogDesign4.js b/src/components/Blogs/design4/BlogDesign4.js index 7876c36..47ff072 100644 --- a/src/components/Blogs/design4/BlogDesign4.js +++ b/src/components/Blogs/design4/BlogDesign4.js @@ -37,11 +37,11 @@ const BlogDesign4 = ({
-

+

آیا مواد غذای پر فیبر و مفید هستند؟

{blogExcerpt && ( -

+

در این قسمت یک توضیح بسیار کوتاه یا عادی در مورد ارور نوشته خواهد شد. طراح سعی می کند تا این متن را بیشتر از خد انتظار بلند کند تا دیگران متوجه شوند. @@ -50,19 +50,19 @@ const BlogDesign4 = ({

{blogAuthor && (
- -

+ +

حامد دژبانی نسب

)} {blogComments && (
-

+

زمان مطالعه 30 دقیقه

- + diff --git a/src/components/Blogs/design5/BlogDesign5.js b/src/components/Blogs/design5/BlogDesign5.js index a76a26a..d281554 100644 --- a/src/components/Blogs/design5/BlogDesign5.js +++ b/src/components/Blogs/design5/BlogDesign5.js @@ -37,11 +37,11 @@ const BlogDesign5 = ({
-

+

آیا مواد غذای پر فیبر و مفید هستند؟

{blogExcerpt && ( -

+

در این قسمت یک توضیح بسیار کوتاه یا عادی در مورد ارور نوشته خواهد شد. طراح سعی می کند تا این متن را بیشتر از خد انتظار بلند کند تا دیگران متوجه شوند. @@ -50,19 +50,19 @@ const BlogDesign5 = ({

{blogAuthor && (
- -

+ +

حامد دژبانی نسب

)} {blogComments && (
-

+

زمان مطالعه 30 دقیقه

- + diff --git a/src/components/Blogs/design6/BlogDesign6.js b/src/components/Blogs/design6/BlogDesign6.js index 9e019b2..001d468 100644 --- a/src/components/Blogs/design6/BlogDesign6.js +++ b/src/components/Blogs/design6/BlogDesign6.js @@ -50,19 +50,19 @@ const BlogDesign6 = ({
{blogAuthor && (
- -

+ +

حامد دژبانی نسب

)} {blogComments && (
-

+

زمان مطالعه 30 دقیقه

- + diff --git a/src/components/Header/desgin1/HeaderDesign1.js b/src/components/Header/desgin1/HeaderDesign1.js index 3ade6ef..4de0f8d 100644 --- a/src/components/Header/desgin1/HeaderDesign1.js +++ b/src/components/Header/desgin1/HeaderDesign1.js @@ -47,11 +47,14 @@ const HeaderDesign1 = ({ > {topHeader && (
-
- +
+ انتخاب کشور - + پیگیری سفارش
diff --git a/src/components/buttonDesign/ButtonDesign.js b/src/components/buttonDesign/ButtonDesign.js index affdd57..d6f0c9a 100644 --- a/src/components/buttonDesign/ButtonDesign.js +++ b/src/components/buttonDesign/ButtonDesign.js @@ -34,7 +34,7 @@ const ButtonDesign = ({ rightArrowBlack, upwardArrowBlack, downwardArrowBlack, - + buttonBgHoverColor, circleArrow, }) => { return ( @@ -55,7 +55,7 @@ const ButtonDesign = ({
{/* counter design */}
- {likeBtn && ( + {/* {likeBtn && (
setCount(count + 1)} /> setCount(count - 1)} />
- )} + )} */} {counterIncreaseBtn && ( 0 ? { color: "green" } : { color: "red" }} + style={ + count > -1 + ? count === 0 + ? { color: "gray" } + : { color: "green" } + : { color: "red" } + } > {count}

diff --git a/src/components/productDesign/ProductDesign.js b/src/components/productDesign/ProductDesign.js index 6313cc5..affc410 100644 --- a/src/components/productDesign/ProductDesign.js +++ b/src/components/productDesign/ProductDesign.js @@ -1,3 +1,4 @@ +import React, { useEffect, useState } from "react"; import "./ProductDesign.scss"; import StarRating from "../starRating/StarRating"; @@ -39,6 +40,13 @@ const ProductDesign = ({ rangeWidth, addToCartHolder, }) => { + const [progressFlag, setProgressFlag] = useState(false); + useEffect(() => { + setTimeout(() => { + setProgressFlag(true); + }, 500); + }, []); + return (
{/* title holder */} @@ -90,19 +98,19 @@ const ProductDesign = ({ {/* icons on image */}
{discountPricePercent && ( -
+

23%

)} {likeBtn && ( -
+
)} {discount && ( -
+
)} @@ -241,7 +249,10 @@ const ProductDesign = ({ {rangeHolder && (
)} @@ -293,7 +304,7 @@ ProductDesign.defaultProps = { productCatTextColor: "text-darkCrimsonTextColor", // برای درصد دادن به عرض رنج - rangeWidth: "w-44", + rangeWidth: "60%", //دی ای وی که محصول داخلش است میتونیم بهش بوردر بدیم productHolderBorder: "border", productHolderBorderColor: "border-grayBorderColor", diff --git a/src/components/vodProductDesign/VodProductDesign.js b/src/components/vodProductDesign/VodProductDesign.js index 16d66ed..47358d5 100644 --- a/src/components/vodProductDesign/VodProductDesign.js +++ b/src/components/vodProductDesign/VodProductDesign.js @@ -80,19 +80,19 @@ const VodProductDesign = ({ {/* icons on image */}
{discountPricePercent && ( -
+

23%

)} {likeBtn && ( -
+
)} {discount && ( -
+
)}