|
|
@ -38,6 +38,8 @@ const HeaderDesign1 = ({ |
|
|
|
whiteIconCart, |
|
|
|
whiteIconCart, |
|
|
|
whiteIconHamburgerMenu, |
|
|
|
whiteIconHamburgerMenu, |
|
|
|
darkIconHamburgerMenu, |
|
|
|
darkIconHamburgerMenu, |
|
|
|
|
|
|
|
headerDivider, |
|
|
|
|
|
|
|
headerDividerColor, |
|
|
|
}) => { |
|
|
|
}) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<header |
|
|
|
<header |
|
|
@ -63,6 +65,9 @@ const HeaderDesign1 = ({ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
)} |
|
|
|
|
|
|
|
{headerDivider && ( |
|
|
|
|
|
|
|
<div className="border-b border-lightGrayBorderColor mb-5"></div> |
|
|
|
|
|
|
|
)} |
|
|
|
<div className="flex justify-between items-center relative"> |
|
|
|
<div className="flex justify-between items-center relative"> |
|
|
|
<div className="ml-10"> |
|
|
|
<div className="ml-10"> |
|
|
|
<span className={`text-sm font-bold ml-4 ${siteNameTextColor}`}> |
|
|
|
<span className={`text-sm font-bold ml-4 ${siteNameTextColor}`}> |
|
|
@ -113,7 +118,7 @@ const HeaderDesign1 = ({ |
|
|
|
<input |
|
|
|
<input |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
|
placeholder="نام کالا را جستجو کنید..." |
|
|
|
placeholder="نام کالا را جستجو کنید..." |
|
|
|
className="text-xs rounded-lg pr-4 pl-10 py-2 w-full border border-gray-400" |
|
|
|
className="text-xs rounded-lg pr-4 pl-10 py-2 w-full border border-gray-400 font-light text-lightGrayTextColor placeholder-gray-400 focus:outline-none" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -152,6 +157,9 @@ const HeaderDesign1 = ({ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
{headerDivider && ( |
|
|
|
|
|
|
|
<div className="border-b border-lightGrayBorderColor mt-5"></div> |
|
|
|
|
|
|
|
)} |
|
|
|
{bottomHeader && ( |
|
|
|
{bottomHeader && ( |
|
|
|
<div className="flex items-center mt-4 relative w-full "> |
|
|
|
<div className="flex items-center mt-4 relative w-full "> |
|
|
|
<div className="ml-10 flex items-center"> |
|
|
|
<div className="ml-10 flex items-center"> |
|
|
@ -234,6 +242,9 @@ HeaderDesign1.defaultProps = { |
|
|
|
btnPY: "py-2", |
|
|
|
btnPY: "py-2", |
|
|
|
btnPX: "px-8", |
|
|
|
btnPX: "px-8", |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
headerDivider: true, |
|
|
|
|
|
|
|
headerDividerColor: "border-lightGrayBorderColor", |
|
|
|
|
|
|
|
|
|
|
|
topHeader: true, |
|
|
|
topHeader: true, |
|
|
|
bottomHeader: true, |
|
|
|
bottomHeader: true, |
|
|
|
|
|
|
|
|
|
|
@ -244,7 +255,7 @@ HeaderDesign1.defaultProps = { |
|
|
|
// icons
|
|
|
|
// icons
|
|
|
|
loginBtn: false, |
|
|
|
loginBtn: false, |
|
|
|
|
|
|
|
|
|
|
|
whiteIconCart: true, |
|
|
|
whiteIconCart: false, |
|
|
|
darkCrimsonIconCart: false, |
|
|
|
darkCrimsonIconCart: false, |
|
|
|
|
|
|
|
|
|
|
|
whiteIconHamburgerMenu: false, |
|
|
|
whiteIconHamburgerMenu: false, |
|
|
|