import { createRouter, createWebHashHistory } from "vue-router";
import Home from "../views/Home.vue";

const routes = [
  {
    path: "/",
    name: "Home",
    component: Home,
  },
  {
    path: "/page1",
    name: "Page1",
    component: () => import("../views/page1/index.vue"),
  },
  {
    path: "/page2",
    name: "Page2",
    component: () => import("../views/page2/index.vue"),
  },

  {
    path: "/page3",
    name: "Page3",
    component: () => import("../views/page3/index.vue"),
  },

  {
    path: "/page4",
    name: "Page4",
    component: () => import("../views/page4/index.vue"),
  },

  {
    path: "/page5",
    name: "Page5",
    component: () => import("../views/page5/index.vue"),
  },
  {
    path: "/page6",
    name: "Page6",
    component: () => import("../views/page6/index.vue"),
  },
];

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

export default router;
