diff options
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() ); |
