feat: add site onboarding route

This commit is contained in:
Tom Boullay
2026-05-30 04:00:09 +02:00
parent 8cfee1ac93
commit a2cff0567e
15 changed files with 907 additions and 0 deletions
+8
View File
@@ -5,6 +5,7 @@ import {
createRouter,
} from "@tanstack/react-router";
import { HomePage } from "@/pages/page";
import { SitePage } from "@/pages/site/page";
import { EditorPage } from "@/pages/editor/page";
import { GalleryPage } from "@/pages/gallery/page";
import { WaypointEditorPage } from "@/pages/waypoint/page";
@@ -42,6 +43,12 @@ const indexRoute = createRoute({
component: HomePage,
});
const siteRoute = createRoute({
getParentRoute: () => rootRoute,
path: "/site",
component: SitePage,
});
const editorRoute = createRoute({
getParentRoute: () => rootRoute,
path: "/editor",
@@ -102,6 +109,7 @@ const docsChildRoutes = [
const routeTree = rootRoute.addChildren([
indexRoute,
siteRoute,
editorRoute,
galleryRoute,
waypointRoute,