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

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

const account: AppRouteModule = {
  path: '/account',
  name: 'Account',
  component: LAYOUT,
  redirect: '/account/index',
  meta: {
    icon: 'medical-icon:care-staff-area',
    title: t('routes.demo.page.account'),
    orderNo: 102,
    hideChildrenInMenu: true,
    hideMenu: true,
  },
  children: [
    {
      path: 'index',
      name: 'AccountSettingPage',
      component: () => import('/@/views/setting/index.vue'),
      meta: {
        title: t('routes.demo.page.accountSetting'),
      },
    },
  ],
};

export default account;
