From 636b0323075225c584b62719ed51e75521bb7ffb Mon Sep 17 00:00:00 2001
From: aura <nw@moneybot.cc>
Date: Tue, 17 Feb 2026 22:39:42 +0100
Subject: push source

---
 moneyjsx/src/index-page.tsx | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 moneyjsx/src/index-page.tsx

(limited to 'moneyjsx/src/index-page.tsx')

diff --git a/moneyjsx/src/index-page.tsx b/moneyjsx/src/index-page.tsx
new file mode 100644
index 0000000..a7130d2
--- /dev/null
+++ b/moneyjsx/src/index-page.tsx
@@ -0,0 +1,32 @@
+import * as JSX from "./jsx";
+import * as user from "./user";
+
+import PaymentSuccess from "./payment-success";
+import FirstLanding from "./first-landing";
+import Tutorial from "./support-tutorial"
+import Terminal from "./terminal";
+import Support from "./support";
+import Upgrade from "./upgrade";
+import Models from "./support-models";
+import Login from "./login";
+import Home from "./home";
+import ToS from "./support-tos";
+import Api from "./support-api";
+
+JSX.addRoute( "/payment-success", () => <PaymentSuccess /> );
+JSX.addRoute( "/first-landing", () => <FirstLanding /> );
+JSX.addRoute( "/terminal", () => <Terminal /> );
+JSX.addRoute( "/tutorial", () => <Tutorial /> );
+JSX.addRoute( "/support", () => <Support /> );
+JSX.addRoute( "/upgrade", () => <Upgrade /> );
+JSX.addRoute( "/models", () => <Models /> );
+JSX.addRoute( "/login", () => <Login /> );
+JSX.addRoute( "/tos", () => <ToS /> );
+JSX.addRoute( "/api", () => <Api /> );
+JSX.addRoute( "/", () => <Home /> );
+
+window.onpopstate = JSX.onPopState;
+JSX.onPreNavigate( user.onNavigate );
+
+const url = new URL( window.location.href );
+JSX.navigateParams( url.pathname, url.searchParams.entries() );
-- 
cgit v1.2.3

