From a515ba66cb6dbeaaa2057d1292679b2573b21c0a Mon Sep 17 00:00:00 2001 From: mahdi Date: Tue, 28 Dec 2021 11:11:26 +0330 Subject: [PATCH] update --- .../Header/desgin1/HeaderDesign1.js | 112 ++++++++++++------ 1 file changed, 75 insertions(+), 37 deletions(-) diff --git a/src/components/Header/desgin1/HeaderDesign1.js b/src/components/Header/desgin1/HeaderDesign1.js index b6add40..1bd7b46 100644 --- a/src/components/Header/desgin1/HeaderDesign1.js +++ b/src/components/Header/desgin1/HeaderDesign1.js @@ -23,71 +23,108 @@ const HeaderDesign1 = ({ registerTextColor, menuItems, category, + searchBox, }) => { return ( -
-
-
- Design System +
+
+
+ + انتخاب کشور + + + پیگیری سفارش + +
+
+ شکایات + + ورود و ثبت نام + +
+
+
+
+ + Design System + + {category && ( + + دسته بندی ها + + )}
- {category && ( -
دسته بندی ها
- )} {menuItems && ( -
- + )} -
- - -
+ {searchBox && ( +
+ + +
+ )} {loginBtn && ( -
+
{/* */}
)} {iconHolder && ( -
- {iconCart && ( - - )} +
+

+ 140,000 + + تومان + +

+ {iconCart && } {iconSearch && ( - + )} {iconProfile && ( - + )}
)} @@ -103,7 +140,7 @@ export default HeaderDesign1; HeaderDesign1.defaultProps = { border: "border", loginBorderColor: "border-darkCrimsonBorderColor", - btnRounded: "rounded-sm", + btnRounded: "rounded-md", loginBtnBgColor: "bg-white", loginTextColor: "text-productPrice", registerBtnBgColor: "bg-darkCrimsonBgColor", @@ -111,13 +148,14 @@ HeaderDesign1.defaultProps = { btnPY: "py-2", btnPX: "px-8", - menuItems: false, - category: true, + menuItems: true, + category: false, + searchBox: false, // icons - loginBtn: true, + loginBtn: false, - iconHolder: false, + iconHolder: true, iconProfile: false, - iconCart: false, + iconCart: true, iconSearch: false, };