diff --git a/src/assets/icons/dark-crimson-hamburger-menu.svg b/src/assets/icons/dark-crimson-hamburger-menu.svg new file mode 100644 index 0000000..8d6c858 --- /dev/null +++ b/src/assets/icons/dark-crimson-hamburger-menu.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/components/Header/desgin1/HeaderDesign1.js b/src/components/Header/desgin1/HeaderDesign1.js index 1bd7b46..34b0d8f 100644 --- a/src/components/Header/desgin1/HeaderDesign1.js +++ b/src/components/Header/desgin1/HeaderDesign1.js @@ -4,6 +4,7 @@ import cartIcon from "../../../assets/icons/dark-crimson-cart-icon.svg"; import profileIcon from "../../../assets/icons/dark-crimson-profile-icon.svg"; import searchIcon from "../../../assets/icons/dark-crimson-search-box.svg"; import lightGraySearchIcon from "../../../assets/icons/light-gray-search-box.svg"; +import darkCrimsonHamburgerMenu from "../../../assets/icons/dark-crimson-hamburger-menu.svg"; import verticalLineIcon from "../../../assets/icons/dark-crimson-vertical-line.svg"; const HeaderDesign1 = ({ @@ -24,26 +25,32 @@ const HeaderDesign1 = ({ menuItems, category, searchBox, + topHeader, + bottomHeader, }) => { return (
-
-
- - انتخاب کشور - - - پیگیری سفارش - -
-
- شکایات - - ورود و ثبت نام - + {topHeader && ( +
+
+ + انتخاب کشور + + + پیگیری سفارش + +
+
+ + شکایات{" "} + + + ورود و ثبت نام + +
-
-
+ )} +
Design System @@ -56,7 +63,7 @@ const HeaderDesign1 = ({
{menuItems && (
@@ -81,19 +88,21 @@ const HeaderDesign1 = ({ )} {searchBox && (
- - +
+ + +
)} {loginBtn && ( @@ -129,6 +138,39 @@ const HeaderDesign1 = ({
)}
+ {bottomHeader && ( +
+
+ + + دسته بندی ها کالاها + +
+
+ + محصولات + + + دسته بندی + + + تماس با ما + + + درباره ما + + + پیگیری + + + وبلاگ + +
+
+ )}
); }; @@ -148,9 +190,12 @@ HeaderDesign1.defaultProps = { btnPY: "py-2", btnPX: "px-8", - menuItems: true, + topHeader: true, + bottomHeader: true, + + menuItems: false, category: false, - searchBox: false, + searchBox: true, // icons loginBtn: false,