summaryrefslogtreecommitdiff
path: root/app/routes.ts
blob: a4e737fd52c3d48af18530137d90d825d8a9032c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;