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

const routes = [
  {
    path: '/',
    name: 'Notes',
    component: () => import('../views/NotesView.vue'),
  },
  {
    path: '/tasks',
    name: 'Tasks',
    component: () => import('../views/TasksView.vue'),
  },
  {
    path: '/reminders',
    name: 'Reminders',
    component: () => import('../views/RemindersView.vue'),
  },
  {
    path: '/body',
    name: 'Body',
    component: () => import('../views/BodyView.vue'),
  },
  {
    path: '/music',
    name: 'Music',
    component: () => import('../views/MusicView.vue'),
  },
  {
    path: '/docs',
    name: 'Docs',
    component: () => import('../views/DocsView.vue'),
  },
  {
    path: '/planning',
    name: 'Planning',
    component: () => import('../views/PlanningView.vue'),
  },
  {
    path: '/sleep-buddy',
    name: 'SleepBuddy',
    component: () => import('../views/SleepBuddyView.vue'),
  },
]

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

export default router
