admin/src/menuNavBar.js
koh 7f02e92304
Some checks failed
Build / build (push) Has been cancelled
Initial commit
2025-04-28 13:51:59 +07:00

90 lines
1.5 KiB
JavaScript

import {
mdiMenu,
mdiClockOutline,
mdiCloud,
mdiCrop,
mdiAccount,
mdiCogOutline,
mdiEmail,
mdiLogout,
mdiThemeLightDark,
mdiGithub,
mdiReact,
} from '@mdi/js'
export default [
{
icon: mdiMenu,
label: 'Sample menu',
menu: [
{
icon: mdiClockOutline,
label: 'Item One',
},
{
icon: mdiCloud,
label: 'Item Two',
},
{
isDivider: true,
},
{
icon: mdiCrop,
label: 'Item Last',
},
],
},
{
isCurrentUser: true,
menu: [
{
icon: mdiAccount,
label: 'My Profile',
to: '/profile',
},
{
icon: mdiCogOutline,
label: 'Settings',
},
{
icon: mdiEmail,
label: 'Messages',
},
{
isDivider: true,
},
{
icon: mdiLogout,
label: 'Log Out',
isLogout: true,
},
],
},
{
icon: mdiThemeLightDark,
label: 'Light/Dark',
isDesktopNoLabel: true,
isToggleLightDark: true,
},
{
icon: mdiGithub,
label: 'GitHub',
isDesktopNoLabel: true,
href: 'https://github.com/justboil/admin-one-vue-tailwind',
target: '_blank',
},
{
icon: mdiReact,
label: 'React version',
isDesktopNoLabel: true,
href: 'https://github.com/justboil/admin-one-react-tailwind',
target: '_blank',
},
{
icon: mdiLogout,
label: 'Log out',
isDesktopNoLabel: true,
isLogout: true,
},
]