This commit is contained in:
2025-08-08 17:14:09 +08:00
parent 5fc4d09c39
commit 7f34a2f4a0
71 changed files with 6725 additions and 5646 deletions

14
app/routes.ts Normal file
View File

@@ -0,0 +1,14 @@
import {
type RouteConfig,
index,
layout,
route,
} from "@react-router/dev/routes";
export default [
layout("./layouts/Main.layout.tsx", [
index("./pages/Search.page.tsx"),
route("settings", "./pages/Settings.page.tsx"),
route("paragraph/:id", "./pages/Paragraph.page.tsx"),
]),
] satisfies RouteConfig;