import { TUTORIAL as URL_PREFIX } from '@/config/url-prefix'

export default [
  {
    path: '/',
    component: () => import('@/elements/templates/screens/SidebarFluid'),
    name: 'Tutorial',
    redirect: URL_PREFIX,
    meta: {
      menuItem: false,
      requiresAuth: false,
    },
    children: [
      {
        path: URL_PREFIX,
        component: () => import('./components/Tutorial'),
        name: 'TutorialDashboard',
        meta: {
          dashboardMenu: {
            displayName: 'Tutorial.Title', // this is the sidebar title
            priority: 0,
            icon: 'sidebar-tutorial',
          },
          policy: {
            tutorials: 'view',
          },
        },
      },
    ],
  },
]
