fix: redesing and add features

This commit is contained in:
2026-02-07 12:06:35 -06:00
parent 4f103c25b5
commit d55aac6605
40 changed files with 1486 additions and 403 deletions

View File

@@ -1,13 +1,13 @@
import { createRouter, createWebHistory } from "vue-router";
import Pokedex from "./components/Pokedex.vue";
import Page404 from "./components/404.vue";
import About from "./components/About.vue";
import Home from "./pages/Home.vue";
import Pokedex from "./pages/Pokedex.vue";
import NotFound from "./pages/NotFound.vue";
const routes = [
{ path: "/", component: About, name: "home" },
{ path: "/", component: Home, name: "home" },
{ path: "/pokemon/:id", component: Pokedex, name: "pokemon" },
{ path: "/about", component: About, name: "about" },
{ path: "/:catchAll(.*)", component: Page404, name: "404" },
{ path: "/home", component: Home, name: "home-alias" },
{ path: "/:catchAll(.*)", component: NotFound, name: "404" },
];
const history = createWebHistory();