aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/routes.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/routes.tsx')
-rw-r--r--src/frontend/app/routes.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/frontend/app/routes.tsx b/src/frontend/app/routes.tsx
new file mode 100644
index 0000000..1bca5e8
--- /dev/null
+++ b/src/frontend/app/routes.tsx
@@ -0,0 +1,9 @@
+import { type RouteConfig, index, route } from "@react-router/dev/routes";
+
+export default [
+ index("routes/index.tsx"),
+ route("/stops", "routes/stoplist.tsx"),
+ route("/map", "routes/map.tsx"),
+ route("/estimates/:id", "routes/estimates-$id.tsx"),
+ route("/settings", "routes/settings.tsx")
+] satisfies RouteConfig;