Commit d8847ff1 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

edit navbar menu when doesn't login

parent 968d25ec
...@@ -179,10 +179,11 @@ function Navbar(props) { ...@@ -179,10 +179,11 @@ function Navbar(props) {
: [ : [
{ {
id: 0, id: 0,
lable: "Login", label: "Register",
element: "Login", element: <span className="inline-block mx-3 hover:underline">Register</span>,
link: "/login", link: "/register",
}, },
{ id: 1, lable: "Login", element: <span className="inline-block mx-3 hover:underline">Login</span>, link: "/login" },
]; ];
const mobileMenuId = "primary-search-account-menu-mobile"; const mobileMenuId = "primary-search-account-menu-mobile";
...@@ -225,7 +226,7 @@ function Navbar(props) { ...@@ -225,7 +226,7 @@ function Navbar(props) {
component="div" component="div"
sx={{ display: { xs: "none", md: "block" } }} sx={{ display: { xs: "none", md: "block" } }}
> >
MUI <Link href={"/"}>MUI</Link>
</Typography> </Typography>
<Search> <Search>
<SearchIconWrapper> <SearchIconWrapper>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment