import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const devices: AppRouteModule = {
  path: '/feedback',
  name: 'Feedback',
  component: LAYOUT,
  redirect: '/feedback/list',
  meta: {
    icon: 'fluent:person-feedback-16-regular',
    title: t('routes.dashboard.feedback'),
    orderNo: 102,
  },
  children: [
    {
      path: 'list',
      name: 'feedbackList',
      component: () => import('/@/views/feedback/list.vue'),
      meta: {
        title: t('routes.dashboard.feedbackList'),
        icon: 'mdi:format-list-bulleted-square',
      },
    },
  ],
};

export default devices;
