import { createApp } from "vue";
import { createRouter, createWebHistory } from "vue-router";
import App from "./App.vue";
import OverviewPage from "./pages/OverviewPage.vue";
import ReleasesPage from "./pages/ReleasesPage.vue";
import SourcesPage from "./pages/SourcesPage.vue";
import FeedbackPage from "./pages/FeedbackPage.vue";
import CompatibilityPage from "./pages/CompatibilityPage.vue";
import "./styles.css";

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: "/", component: OverviewPage },
    { path: "/releases", component: ReleasesPage },
    { path: "/sources", component: SourcesPage },
    { path: "/feedback", component: FeedbackPage },
    { path: "/compatibility", component: CompatibilityPage },
  ],
});

createApp(App).use(router).mount("#app");
