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",
"target":"_self",
"href":"/",
"roles":["guest"]
"roles":[0,1,2,3]
},
{
"name":"About",
"name":"Dashboard",
"target":"_self",
"href":"/about",
"roles":["guest"]
"href":"/portal/dashboard",
"roles":[1,2]
},
{
"name":"Docs",
"target":"_blank",
"href":"https://costapy.ditaajipratama.net",
"roles":["guest"]
"name":"Register",
"target":"_self",
"href":"/portal/register/member",
"roles":[0]
},
{
"name":"Login",
"target":"_self",
"href":"/portal/login",
"roles":[0]
},
{
"name":"Logout",
"target":"_self",
"href":"/portal/logout",
"roles":[1,2,3]
}
]
}