|
|
|
@ -36,6 +36,7 @@ function Navbar({ |
|
|
|
|
isLogin, |
|
|
|
|
headerOptions, |
|
|
|
|
addToFavorite, |
|
|
|
|
language, |
|
|
|
|
}) { |
|
|
|
|
const navigation = useNavigate(); |
|
|
|
|
const { logo, hamburgerMenu, qr, shown, menu, title, back, bookmark } = |
|
|
|
@ -239,7 +240,20 @@ function Navbar({ |
|
|
|
|
</div> |
|
|
|
|
)} |
|
|
|
|
|
|
|
|
|
<div className="flex flex-row items-center"> |
|
|
|
|
<div className="flex flex-row items-center "> |
|
|
|
|
<select |
|
|
|
|
style={{ width: "100px" }} |
|
|
|
|
className="flex items-center text-blueC0 border border-blueC0 px-1 rounded base py-1.5 ml-4 cursor-pointer" |
|
|
|
|
> |
|
|
|
|
{language.map((item, index) => ( |
|
|
|
|
<option |
|
|
|
|
className="border border-blueC0 shadow-0 text-blueC0 text-base " |
|
|
|
|
key={index} |
|
|
|
|
> |
|
|
|
|
{item.name} |
|
|
|
|
</option> |
|
|
|
|
))} |
|
|
|
|
</select> |
|
|
|
|
<img |
|
|
|
|
src={searchIcon} |
|
|
|
|
alt="" |
|
|
|
@ -337,4 +351,6 @@ Navbar.defaultProps = { |
|
|
|
|
searchBox: true, |
|
|
|
|
// icons
|
|
|
|
|
loginBtn: true, |
|
|
|
|
|
|
|
|
|
language: [{ name: "فارسی" }, { name: "english" }, { name: "العربیه" }], |
|
|
|
|
}; |
|
|
|
|