import { createRouter, createWebHistory } from 'vue-router'
import PriceCalculator from '../views/PriceCalculator.vue'
import PriceComparison from '../views/PriceComparison.vue'
import BudgetEstimator from '../views/BudgetEstimator.vue'
import InstanceSearch from '../views/InstanceSearch.vue'
import AwsSearchDiscount from '../views/AwsSearchDiscount.vue'
const routes = [
  {
    path: '/',
    name: 'PriceCalculator',
    component: PriceCalculator
  },
  {
    path: '/compare',
    name: 'PriceComparison',
    component: PriceComparison
  },
  {
    path: '/budget',
    name: 'BudgetEstimator',
    component: BudgetEstimator
  },
  {
    path: '/awsSearch',
    name: 'InstanceSearch',
    component: InstanceSearch
  },
  {
    path: '/awsSearchDiscount',
    name: 'AwsSearchDiscount',
    component: AwsSearchDiscount
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router 