Skip to content

Commit e36afb0

Browse files
committed
Implement themes docs page
1 parent 66b3c6b commit e36afb0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/app/themes.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 Themes() {
4+
return (
5+
<div>
6+
<AppGitHubGenericMarkdown url="https://raw.githubusercontent.com/LibreSplit/LibreSplit/refs/heads/main/docs/themes.md" />
7+
</div>
8+
);
9+
}

src/router.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Home } from "./app/home";
44
import { NotFound } from "./app/not-found";
55
import { SettingsKeybinds } from "./app/settings-keybinds";
66
import { SplitFiles } from "./app/split-files";
7+
import { Themes } from "./app/themes";
78
import { Route, Routes } from "react-router";
89

910
export default function AppRouter() {
@@ -16,6 +17,7 @@ export default function AppRouter() {
1617
<Route path="/docs/auto-splitters.md" element={<AutoSplitters />} />
1718
<Route path="/docs/settings-keybinds.md" element={<SettingsKeybinds />} />
1819
<Route path="/docs/split-files.md" element={<SplitFiles />} />
20+
<Route path="/docs/themes.md" element={<Themes />} />
1921

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

0 commit comments

Comments
 (0)