first implementation of pathfinding

This commit is contained in:
math-pixel
2026-05-20 14:34:26 +02:00
parent 4faa226326
commit 54a353de03
12 changed files with 3840 additions and 0 deletions
+8
View File
@@ -6,6 +6,7 @@ import {
} from "@tanstack/react-router";
import { HomePage } from "@/pages/page";
import { EditorPage } from "@/pages/editor/page";
import { WaypointEditorPage } from "@/pages/waypoint/page";
import {
DocsAnimationRoute,
DocsAudioRoute,
@@ -43,6 +44,12 @@ const editorRoute = createRoute({
component: EditorPage,
});
const waypointRoute = createRoute({
getParentRoute: () => rootRoute,
path: "/waypoint",
component: WaypointEditorPage,
});
const docsRoute = createRoute({
getParentRoute: () => rootRoute,
path: "/docs",
@@ -78,6 +85,7 @@ const docsChildRoutes = [
const routeTree = rootRoute.addChildren([
indexRoute,
editorRoute,
waypointRoute,
docsRoute.addChildren(docsChildRoutes),
]);