mirror of
https://github.com/makeplane/plane.git
synced 2025-12-15 19:37:51 +01:00
22 lines
1.2 KiB
TypeScript
22 lines
1.2 KiB
TypeScript
import { index, layout, route } from "@react-router/dev/routes";
|
|
import type { RouteConfig } from "@react-router/dev/routes";
|
|
|
|
export default [
|
|
layout("./(all)/(home)/layout.tsx", [index("./(all)/(home)/page.tsx")]),
|
|
layout("./(all)/(dashboard)/layout.tsx", [
|
|
route("general", "./(all)/(dashboard)/general/page.tsx"),
|
|
route("workspace", "./(all)/(dashboard)/workspace/page.tsx"),
|
|
route("workspace/create", "./(all)/(dashboard)/workspace/create/page.tsx"),
|
|
route("email", "./(all)/(dashboard)/email/page.tsx"),
|
|
route("authentication", "./(all)/(dashboard)/authentication/page.tsx"),
|
|
route("authentication/github", "./(all)/(dashboard)/authentication/github/page.tsx"),
|
|
route("authentication/gitlab", "./(all)/(dashboard)/authentication/gitlab/page.tsx"),
|
|
route("authentication/google", "./(all)/(dashboard)/authentication/google/page.tsx"),
|
|
route("authentication/gitea", "./(all)/(dashboard)/authentication/gitea/page.tsx"),
|
|
route("ai", "./(all)/(dashboard)/ai/page.tsx"),
|
|
route("image", "./(all)/(dashboard)/image/page.tsx"),
|
|
]),
|
|
// Catch-all route for 404 handling - must be last
|
|
route("*", "./components/404.tsx"),
|
|
] satisfies RouteConfig;
|