diff --git a/frontend/src/components/form/RouteButton.vue b/frontend/src/components/form/RouteButton.vue
new file mode 100644
index 0000000..256941c
--- /dev/null
+++ b/frontend/src/components/form/RouteButton.vue
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index 0394c0c..24498ea 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -1,16 +1,21 @@
-import {createRouter, createWebHistory, type LocationQueryRaw, type RouteLocationRaw} from "vue-router";
+import {createRouter, createWebHistory, type LocationQueryRaw} from "vue-router";
import AdminDashboardView from "@/views/AdminDashboardView.vue";
import AdminNodesView from "@/views/AdminNodesView.vue";
import HomeView from "@/views/HomeView.vue";
import {isNodesFilter, isNodeSortField, isSortDirection, type SearchTerm} from "@/types";
+export interface Route {
+ name: RouteName;
+ query?: LocationQueryRaw;
+}
+
export enum RouteName {
HOME = "home",
ADMIN = "admin",
ADMIN_NODES = "admin-nodes",
}
-export function route(name: RouteName, query?: LocationQueryRaw): RouteLocationRaw {
+export function route(name: RouteName, query?: LocationQueryRaw): Route {
return {
name,
query,