import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    name: 'TeacherList',
    path: '/teacher/list',
    component: () => import('#/views/teacher/list.vue'),
    meta: {
      icon: 'lucide:user-check',
      order: 5,
      title: $t('page.teacher.title'),
    },
  },
  {
    name: 'TeacherDetail',
    path: '/teacher/detail/:id?',
    component: () => import('#/views/teacher/detail.vue'),
    meta: {
      hideInMenu: true,
      title: $t('page.teacher.detail'),
    },
  },
];

export default routes;

