Skip to content

Commit 61ae930

Browse files
committed
Implement troubleshooting page
1 parent e36afb0 commit 61ae930

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

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

src/router.tsx

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

1011
export default function AppRouter() {
@@ -18,6 +19,7 @@ export default function AppRouter() {
1819
<Route path="/docs/settings-keybinds.md" element={<SettingsKeybinds />} />
1920
<Route path="/docs/split-files.md" element={<SplitFiles />} />
2021
<Route path="/docs/themes.md" element={<Themes />} />
22+
<Route path="/docs/troubleshooting.md" element={<Troubleshooting />} />
2123

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

0 commit comments

Comments
 (0)