summaryrefslogtreecommitdiff
path: root/app/routes.ts
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-08-15 20:12:25 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-08-15 20:12:25 +0900
commitb9e06d9a139e6d9a6d509f500beee97d0d071602 (patch)
tree1e131cac0c65471da6b17ca1abff258412f8816f /app/routes.ts
parent1777cdbf812959e39a2b2abc142afc2fe8932938 (diff)
Add site-wide search for bands and artists
Adds a nav search box and /search route backed by a LIKE-based searchAll() query over band name/area/description and artist name.
Diffstat (limited to 'app/routes.ts')
-rw-r--r--app/routes.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/routes.ts b/app/routes.ts
index 6125a73..5660edb 100644
--- a/app/routes.ts
+++ b/app/routes.ts
@@ -2,6 +2,7 @@ import { type RouteConfig, index, route } from "@react-router/dev/routes";
export default [
index("routes/home.tsx"),
+ route("/search", "routes/search.tsx"),
route("/api/bands", "routes/api-bands.tsx"),
route("/api/artists", "routes/api-artists.tsx"),
route("/api/export", "routes/api-export.tsx"),