From 93dfe2be64e8658839bcfe5356adf35f8cde7075 Mon Sep 17 00:00:00 2001
From: Nicolas James <Eele1Ephe7uZahRie@tutanota.com>
Date: Thu, 13 Feb 2025 18:04:18 +1100
Subject: initial commit

---
 src/web/index.jsx | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 src/web/index.jsx

(limited to 'src/web/index.jsx')

diff --git a/src/web/index.jsx b/src/web/index.jsx
new file mode 100644
index 0000000..188b386
--- /dev/null
+++ b/src/web/index.jsx
@@ -0,0 +1,24 @@
+import React from "react";
+import {render} from "react-dom";
+import {BrowserRouter, Routes, Route} from "react-router-dom";
+
+import App from "./components/app/App.jsx";
+import NotFound from "./components/not_found/NotFound.jsx";
+
+import "./reset.css";
+import "./index.css";
+import "@fontsource/heebo";
+
+function BrowserRoutes() {
+    return (
+        <BrowserRouter>
+            <Routes>
+                <Route path="/*" element={<App />} />
+                <Route path="*" element={<NotFound />} />
+            </Routes>
+        </BrowserRouter>
+    );
+}
+
+const root = document.getElementById("root");
+render(<BrowserRoutes />, root);
-- 
cgit v1.2.3

