aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/App.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/App.tsx')
-rw-r--r--src/client/App.tsx13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/client/App.tsx b/src/client/App.tsx
index fa42302..01d843a 100644
--- a/src/client/App.tsx
+++ b/src/client/App.tsx
@@ -1,8 +1,13 @@
+import { Route, Switch } from "wouter";
+import { HomePage, LoginPage, NotFoundPage, RegisterPage } from "./pages";
+
export function App() {
return (
- <div>
- <h1>Kioku</h1>
- <p>Spaced repetition learning app</p>
- </div>
+ <Switch>
+ <Route path="/" component={HomePage} />
+ <Route path="/login" component={LoginPage} />
+ <Route path="/register" component={RegisterPage} />
+ <Route component={NotFoundPage} />
+ </Switch>
);
}