mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-07-09 17:49:12 +00:00
feat: add shadcn styling and conditional nav
This commit is contained in:
parent
8b51e6816e
commit
6ebca59554
15 changed files with 200 additions and 102 deletions
|
@ -9,28 +9,34 @@ export const navConfig: NavConfig = {
|
|||
mainNav: [
|
||||
{
|
||||
title: 'Home',
|
||||
href: '/'
|
||||
},
|
||||
{
|
||||
title: 'Login',
|
||||
href: '/login'
|
||||
},
|
||||
{
|
||||
title: 'Register',
|
||||
href: '/register'
|
||||
href: '/',
|
||||
always: true
|
||||
},
|
||||
{
|
||||
title: 'Dashboard',
|
||||
href: '/dashboard'
|
||||
href: '/dashboard',
|
||||
auth: true
|
||||
},
|
||||
{
|
||||
title: 'Settings',
|
||||
href: '/settings'
|
||||
href: '/settings',
|
||||
auth: true
|
||||
},
|
||||
{
|
||||
title: 'Login',
|
||||
href: '/login',
|
||||
auth: false,
|
||||
},
|
||||
{
|
||||
title: 'Register',
|
||||
href: '/register',
|
||||
auth: false,
|
||||
},
|
||||
{
|
||||
title: 'Logout',
|
||||
href: '/logout'
|
||||
}
|
||||
href: '/logout',
|
||||
auth: true
|
||||
},
|
||||
],
|
||||
sidebarNav: []
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue