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

import { LAYOUT } from '/@/router/constant';
import locales from '/@/utils/locales';

const dashboard: AppRouteModule = {
  path: '/about',
  name: 'About',
  component: LAYOUT,
  redirect: '/about/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'simple-icons:about-dot-me',
    title: locales.routes.about,
    orderNo: 100000,
  },
  children: [
    {
      path: 'index',
      name: 'AboutPage',
      component: () => import('/@/views/base/about/index.vue'),
      meta: {
        title: locales.routes.about,
        icon: 'simple-icons:about-dot-me',
        hideMenu: true,
      },
    },
  ],
};

export default dashboard;
