import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Home',
    component: () => import('@/views/Home.vue')
  },
  {
    path: '/helpCenter',
    name: 'HelpCenter',
    component: () => import('@/views/HelpCenter.vue'),
  },
  {
    path: '/digitalAssets',
    name: 'DigitalAssets',
    component: () => import('@/views/DigitalAssets.vue'),
  },
  {
    path: '/personalProvenance',
    name: 'PersonalProvenance',
    component: () => import('@/views/PersonalProvenance.vue'),
  },
  {
    path: '/companyProvenance',
    name: 'CompanyProvenance',
    component: () => import('@/views/CompanyProvenance.vue'),
  },
  {
    path: '/autoDeposits',
    name: 'AutoDeposits',
    component: () => import('@/views/Auto.vue'),
  },
  {
    path: '/mail',
    name: 'Mail',
    component: () => import('@/views/Mail.vue'),
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
