import { createRouter, createWebHistory } from 'vue-router'
import Dashboard from '@/views/Dashboard.vue'
import Monitor from '@/views/Monitor.vue'
import Government from '@/views/Government.vue'
import Finance from '@/views/Finance.vue'
import Transport from '@/views/Transport.vue'
import Risk from '@/views/Risk.vue'
import Eco from '@/views/Eco.vue'
import Gov from '@/views/Gov.vue'
import Trade from '@/views/Trade.vue'

const routes = [
  {
    path: '/',
    name: 'Dashboard',
    component: Dashboard
  },
  {
    path: '/monitor',
    name: 'Monitor',
    component: Monitor
  },
  {
    path: '/government',
    name: 'Government',
    component: Government
  },
  {
    path: '/finance',
    name: 'Finance',
    component: Finance
  },
  {
    path: '/transport',
    name: 'Transport',
    component: Transport
  },
  {
    path: '/risk',
    name: 'Risk',
    component: Risk
  },
  {
    path: '/eco',
    name: 'Eco',
    component: Eco
  },
  {
    path: '/gov',
    name: 'Gov',
    component: Gov
  },
  {
    path: '/trade',
    name: 'Trade',
    component: Trade
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router