diff --git a/src/components/Navbar/index.js b/src/components/Navbar/index.js index 3723861..f15fe2e 100644 --- a/src/components/Navbar/index.js +++ b/src/components/Navbar/index.js @@ -67,6 +67,7 @@ function Navbar({ getCartProducts(); } }, [isLogin]); + return isMobile ? (
{/* landscape start */} - {/* landscape end */} {/* portrait start */} +
{hamburgerMenu && ( @@ -96,6 +97,7 @@ function Navbar({ /> )} + {!title && back ? (
+ {/* portrait end */}
@@ -206,9 +209,14 @@ function Navbar({ to="/" className="flex flex-row items-center text-2xl font-black text-green7B" > - + {window.t("دانوین")} +
+ {overLayer && (
)} -
+
+ setOverLayer(true)} /> + {isLogin && (
@@ -273,6 +284,7 @@ function Navbar({ {/* */}
)} + {!isLogin ? ( { backgroundColor: "white", }} > -