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

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

const routes: RouteRecordRaw[] = [
  // {
  //   meta: {
  //     icon: 'lucide:layout-dashboard',
  //     order: -1,
  //     title: $t('page.dashboard.title'),
  //   },
  //   name: 'Dashboard2',
  //   path: '/dashboard2',
  //   children: [
  //     {
  //       name: 'Workspace',
  //       path: '/workspace',
  //       component: () => import('#/views/dashboard/workspace/index.vue'),
  //       meta: {
  //         icon: 'carbon:workspace',
  //         title: $t('page.dashboard.workspace'),
  //       },
  //     },
  //     {
  //       name: 'Analytics',
  //       path: '/analytics',
  //       component: () => import('#/views/dashboard/analytics/index.vue'),
  //       meta: {
  //         affixTab: true,
  //         icon: 'lucide:area-chart',
  //         title: $t('page.dashboard.analytics'),
  //       },
  //     },
  //   ],
  // },
  {
    name: 'Dashboard',
    path: '/dashboard',
    component: () => import('#/views/dashboard/index.vue'),
    meta: {
      icon: 'ion:home-outline',
      title: $t('page.dashboard.title'),
      order: -1,
    },
  },
  {
    name: 'Profile',
    path: '/profile',
    component: () => import('#/views/_core/profile/index.vue'),
    meta: {
      icon: 'ant-design:profile-outlined',
      title: $t('ui.widgets.profile'),
      hideInMenu: true,
    },
  },
];

export default routes;
