import { createRouter, createWebHistory } from 'vue-router'
import Dashboard from './views/Dashboard.vue'
import SuperAdmin from './views/SuperAdmin.vue'
import Employees from './views/Employees.vue'
import Attendance from './views/Attendance.vue'
import Payroll from './views/Payroll.vue'
import Devices from './views/Devices.vue'

export default createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', component: Dashboard },
    { path: '/super-admin', component: SuperAdmin },
    { path: '/employees', component: Employees },
    { path: '/attendance', component: Attendance },
    { path: '/payroll', component: Payroll },
    { path: '/devices', component: Devices }
  ]
})
