diff options
| author | aura <nw@moneybot.cc> | 2026-02-19 19:57:10 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-02-19 19:57:10 +0100 |
| commit | bedf43af45d97a10a6f62b4f1bb21cd66fda1d71 (patch) | |
| tree | 6501bb95977a574c188bef6a228ff7500b243f3a /public/src/index-page.tsx | |
| parent | b5fca421c8f5f0f8f26d1392ef48635196887fa3 (diff) | |
empty moneyjsx site
Diffstat (limited to 'public/src/index-page.tsx')
| -rw-r--r-- | public/src/index-page.tsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/src/index-page.tsx b/public/src/index-page.tsx new file mode 100644 index 0000000..dabaf05 --- /dev/null +++ b/public/src/index-page.tsx @@ -0,0 +1,10 @@ +import * as JSX from "./jsx"; +import Home from "./home"; + +JSX.setDefaultTitle( "forum.networkheaven.net" ); +JSX.addRoute( "/", () => <Home /> ); + +document.head.appendChild( <link rel="shortcut icon" href="/static/icon.ico" /> ); + +const url = new URL( window.location.href ); +JSX.navigateParams( url.pathname, url.searchParams.entries() ); |
