feat: add shadcn styling and conditional nav

This commit is contained in:
Bart van der Braak 2024-01-30 11:13:17 +01:00
parent 8b51e6816e
commit 6ebca59554
15 changed files with 200 additions and 102 deletions

View file

@ -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: []
};