Menu in navbar

This commit is contained in:
Dita Aji Pratama 2024-06-17 12:51:09 +07:00
parent 69f9941755
commit c3b3f1d942

View File

@ -7,19 +7,31 @@ menu = {
"name":"Home", "name":"Home",
"target":"_self", "target":"_self",
"href":"/", "href":"/",
"roles":["guest"] "roles":[0,1,2,3]
}, },
{ {
"name":"About", "name":"Dashboard",
"target":"_self", "target":"_self",
"href":"/about", "href":"/portal/dashboard",
"roles":["guest"] "roles":[1,2]
}, },
{ {
"name":"Docs", "name":"Register",
"target":"_blank", "target":"_self",
"href":"https://costapy.ditaajipratama.net", "href":"/portal/register/member",
"roles":["guest"] "roles":[0]
},
{
"name":"Login",
"target":"_self",
"href":"/portal/login",
"roles":[0]
},
{
"name":"Logout",
"target":"_self",
"href":"/portal/logout",
"roles":[1,2,3]
} }
] ]
} }