aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/routes.tsx
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-28 22:24:26 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-28 22:25:01 +0100
commit48ec0aae80a200d7eb50639ff4c4ca8ae564f29b (patch)
tree8cf2a2a02a49d8295985d90679c33c5bc8375818 /src/frontend/app/routes.tsx
parentb2ddc0ef449ccbe7f0d33e539ccdfc1baef04e2c (diff)
Implement displaying routes with dynamic data from OTP
Diffstat (limited to 'src/frontend/app/routes.tsx')
-rw-r--r--src/frontend/app/routes.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/app/routes.tsx b/src/frontend/app/routes.tsx
index 052eb83..8e98734 100644
--- a/src/frontend/app/routes.tsx
+++ b/src/frontend/app/routes.tsx
@@ -3,7 +3,8 @@ import { type RouteConfig, index, route } from "@react-router/dev/routes";
export default [
index("routes/home.tsx"),
route("/map", "routes/map.tsx"),
- route("/lines", "routes/lines.tsx"),
+ route("/routes", "routes/routes.tsx"),
+ route("/routes/:id", "routes/routes-$id.tsx"),
route("/stops", "routes/stops.tsx"),
route("/stops/:id", "routes/stops-$id.tsx"),
route("/settings", "routes/settings.tsx"),