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