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, 10 insertions, 2 deletions
diff --git a/app/routes.ts b/app/routes.ts
index 102b402..028da16 100644
--- a/app/routes.ts
+++ b/app/routes.ts
@@ -1,3 +1,11 @@
-import { type RouteConfig, index } from "@react-router/dev/routes";
+import { type RouteConfig, index, route, prefix } from "@react-router/dev/routes";
-export default [index("routes/home.tsx")] satisfies RouteConfig;
+export default [
+ index("routes/index.tsx"),
+ ...prefix("events", [
+ index("routes/events._index.tsx"),
+ route(":id", "routes/events.$id.tsx"),
+ ]),
+ route("venues", "routes/venues.tsx"),
+ route("api/scrape", "routes/api.scrape.ts"),
+] satisfies RouteConfig;