import { createRouter, createWebHistory } from 'vue-router'
import LanguageView from '../views/LanguageView.vue'
import ComplaintView from '../views/ComplaintView.vue'
import PainView from '../views/PainView.vue'
import SummaryView from '../views/SummaryView.vue'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', redirect: '/language' },
    { path: '/language', component: LanguageView },
    { path: '/complaint', component: ComplaintView },
    { path: '/pain', component: PainView },
    { path: '/summary', component: SummaryView },
  ],
})

export default router
