summaryrefslogtreecommitdiff
path: root/app/routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/routes.ts')
-rw-r--r--app/routes.ts12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/routes.ts b/app/routes.ts
index 935792d..a4e737f 100644
--- a/app/routes.ts
+++ b/app/routes.ts
@@ -1,5 +1,15 @@
-import { type RouteConfig, index } from "@react-router/dev/routes";
+import { type RouteConfig, index, route } from "@react-router/dev/routes";
export default [
index("routes/home.tsx"),
+ route("/bands/new", "routes/band-new.tsx"),
+ route("/bands/of/:uuid", "routes/band-by-uuid.tsx"),
+ route("/bands/named/:slug", "routes/band-by-slug.tsx"),
+ route("/bands/of/:uuid/edit", "routes/band-edit.tsx"),
+ route("/bands/of/:uuid/history", "routes/band-history.tsx"),
+ route("/artists/new", "routes/artist-new.tsx"),
+ route("/artists/of/:uuid", "routes/artist-by-uuid.tsx"),
+ route("/artists/named/:slug", "routes/artist-by-slug.tsx"),
+ route("/artists/of/:uuid/edit", "routes/artist-edit.tsx"),
+ route("/artists/of/:uuid/history", "routes/artist-history.tsx"),
] satisfies RouteConfig;