Skip to content

Commit 45c70e5

Browse files
committed
Implement settings and keybinds docs page
1 parent 17ec3ae commit 45c70e5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/app/settings-keybinds.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { AppGitHubGenericMarkdown } from "@/components/libresplit/AppGitHubGenericMarkdown";
2+
3+
export function SettingsKeybinds() {
4+
return (
5+
<div>
6+
<AppGitHubGenericMarkdown url="https://raw.githubusercontent.com/LibreSplit/LibreSplit/refs/heads/main/docs/settings-keybinds.md" />
7+
</div>
8+
);
9+
}

src/router.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { AutoSplitters } from "./app/auto-splitters";
22
import { Converter } from "./app/converter";
33
import { Home } from "./app/home";
44
import { NotFound } from "./app/not-found";
5+
import { SettingsKeybinds } from "./app/settings-keybinds";
56
import { Route, Routes } from "react-router";
67

78
export default function AppRouter() {
@@ -12,6 +13,7 @@ export default function AppRouter() {
1213

1314
{/* Documentation pages pulled from GitHub. */}
1415
<Route path="/docs/auto-splitters.md" element={<AutoSplitters />} />
16+
<Route path="/docs/settings-keybinds.md" element={<SettingsKeybinds />} />
1517

1618
{/* Fall back on app's 404 page. This is because of the SPA routing trick with 404.html used in GitHub Pages. */}
1719
<Route path="*" element={<NotFound />} />

0 commit comments

Comments
 (0)