router.push('/')}
+ onClick={() => router.push("/")}
src={assets.logo}
alt="logo"
/>
@@ -31,27 +33,91 @@ const Navbar = () => {
Contact
- {isSeller && }
-
+ {isSeller && (
+
+ )}
-
+ {user ? (
+ <>
+
+
+ } onClick={() => router.push("/")} />
+
+
+ } onClick={() => router.push("/all-products")} />
+
+
+ } onClick={() => router.push("/cart")} />
+
+
+ } onClick={() => router.push("/my-orders")} />
+
+
+
+
+
+ >
+ ) : (
+
+ )}
- {isSeller && }
-
+ {isSeller && (
+
+ )}
+ {user ? (
+ <>
+
+
+ } onClick={() => router.push("/")} />
+
+
+ } onClick={() => router.push("/all-products")} />
+
+
+
+ } onClick={() => router.push("/cart")} />
+
+
+ } onClick={() => router.push("/my-orders")} />
+
+
+
+
+
+ >
+ ) : (
+
+ )}