import { createRouter, createWebHistory } from 'vue-router'
import LanguageView from '../views/LanguageView.vue'
import ComplaintView from '../views/ComplaintView.vue'
import FlowView from '../views/FlowView.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: '/flow', component: FlowView },
    { path: '/pain', component: PainView },
    { path: '/summary', component: SummaryView },
  ],
})

export default router
