summaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-03-13 00:10:44 +0000
committerSam Nystrom <sam@samnystrom.dev>2024-03-13 20:17:07 -0400
commit570f47670bf9f361eeb073b9124be56465498c83 (patch)
tree9dd7dd8667e9056495b90f7b066cc872f9cec702 /src/index.tsx
parentb9f3cbc58d66478656f547d1672a0b39a01c2e88 (diff)
feat: style project list
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.tsx b/src/index.tsx
index b49ee66..bed8b66 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -8,12 +8,13 @@ import { NodeEditor } from './NodeEditor.tsx';
import './index.css';
export const App = () => {
- const pb = useMemo(() => new PocketBase(`https://${window.location.hostname}:8080/`));
+ const pb = useMemo(() => new PocketBase(`/`));
return (
<Pb.Provider value={pb}>
<header>
<a class="title action" href="/">DataNodes</a>
<nav>
+ < a class="action" href="/play">Try Now</a>
<a class="action" href="/login">Log In</a>
<a class="action" href="/signup">Sign Up</a>
</nav>