import { createRouter, createWebHistory } from 'vue-router';
import Dashboard from '../views/Dashboard.vue';

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'Dashboard',
      component: Dashboard,
    },
    {
      path: '/health',
      name: 'Health',
      component: () => import('../views/HealthDashboard.vue'),
    },
    {
      path: '/costs',
      name: 'Costs',
      component: () => import('../views/CostDashboard.vue'),
    },
    {
      path: '/admin',
      name: 'Admin',
      component: () => import('../views/AdminPanel.vue'),
    },
    {
      path: '/monitoring',
      name: 'Monitoring',
      component: () => import('../views/MonitoringDashboard.vue'),
    },
  ],
});

export default router;

