You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.5 KiB
JavaScript

1 year ago
import {
HiChartPie,
HiUser,
HiUsers,
HiUserGroup,
HiUserCircle,
HiCog,
} from 'react-icons/hi'
import { HiTrophy } from 'react-icons/hi2'
1 year ago
export default [
{
name: 'Dashboard',
1 year ago
show: true,
icon: HiChartPie,
route: route('dashboard'),
active: 'dashboard',
permission: 'view-dashboard',
1 year ago
},
{
name: 'Customers',
show: true,
icon: HiUserCircle,
route: route('customer.index'),
active: 'customer.index',
permission: 'view-customer',
},
{
name: 'Point',
show: true,
icon: HiTrophy,
route: route('customer-point.index'),
active: 'customer-point.index',
permission: 'view-customer-point',
},
{
name: 'Admin',
1 year ago
show: true,
icon: HiUser,
items: [
{
name: 'Roles',
1 year ago
show: true,
icon: HiUserGroup,
route: route('roles.index'),
active: 'roles.*',
permission: 'view-role',
1 year ago
},
{
name: 'Users',
1 year ago
show: true,
icon: HiUsers,
route: route('user.index'),
active: 'user.index',
permission: 'view-user',
1 year ago
},
],
},
{
name: 'Setting',
show: true,
icon: HiCog,
route: route('setting.index'),
active: 'setting.index',
permission: 'view-setting',
},
]