From 0539d6963ebedd554cd3cd36b6c94df9659d6a6b Mon Sep 17 00:00:00 2001
From: Maksymilian Jopek <maks@jopek.eu>
Date: Mon, 28 Apr 2025 18:03:28 +0200
Subject: Initial commit

Simple frontend version with mock API
---
 src/index.tsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/index.tsx

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
new file mode 100644
index 0000000..de08c81
--- /dev/null
+++ b/src/index.tsx
@@ -0,0 +1,17 @@
+/* @refresh reload */
+import "./index.css";
+
+import { Suspense } from "solid-js";
+import { render } from "solid-js/web";
+
+import { Router } from "@solidjs/router";
+import routes from "~solid-pages";
+
+render(
+  () => (
+    <Router root={(props) => <Suspense>{props.children}</Suspense>}>
+      {routes}
+    </Router>
+  ),
+  document.getElementById("root"),
+);
-- 
cgit v1.3.1

