import { createRouter, createWebHistory } from "vue-router";

const routes = [
  {
    path: "/",
    name: "Home",
    component: () => import("@/components/HomePage.vue"),
  },
  {
    path: "/name-generator",
    name: "NameGenerator",
    component: () => import("@/components/NameGenerator.vue"),
  },
  {
    path: "/attribute-calculator",
    name: "AttributeCalculator",
    component: () => import("@/components/AttributeCalculator.vue"),
  },
];

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

export default router;
