From 894e67863dbb89a4819e825fcdf7117021082b2a Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Tue, 24 Jun 2025 13:29:50 +0200
Subject: Replace leaflet for maplibre, use react-router in framework mode

---
 src/frontend/app/routes.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 src/frontend/app/routes.tsx

(limited to 'src/frontend/app/routes.tsx')

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;
-- 
cgit v1.3

