From ef28973b0683823d2f3e1cee128055b18530d522 Mon Sep 17 00:00:00 2001
From: Sam Nystrom <sam@samnystrom.dev>
Date: Tue, 12 Mar 2024 18:58:36 +0000
Subject: Style login and signup pages

---
 src/index.tsx | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
index 610fb70..b49ee66 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,5 +1,5 @@
 import { render } from 'preact';
-import { useMemo } from 'preact/hooks';
+import { useEffect, useMemo } from 'preact/hooks';
 import { Router } from 'preact-router';
 import PocketBase from 'pocketbase';
 import { Pb } from './pb.ts';
@@ -11,6 +11,13 @@ export const App = () => {
 	const pb = useMemo(() => new PocketBase(`https://${window.location.hostname}:8080/`));
 	return (
 		<Pb.Provider value={pb}>
+			<header>
+				<a class="title action" href="/">DataNodes</a>
+				<nav>
+					<a class="action" href="/login">Log In</a>
+					<a class="action" href="/signup">Sign Up</a>
+				</nav>
+			</header>
 			<Router>
 				<Home path="/" />
 				<SignUp path="/signup" />
-- 
cgit v1.2.3

