From 00e37dc840f7dd9b4ec8d2aa7c17bebad08a2696 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 1 May 2025 21:46:32 +0200 Subject: feat(frontend): more styling --- server/frontend/src/index.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'server/frontend/src/index.tsx') diff --git a/server/frontend/src/index.tsx b/server/frontend/src/index.tsx index 610a78b..3009300 100644 --- a/server/frontend/src/index.tsx +++ b/server/frontend/src/index.tsx @@ -5,7 +5,7 @@ import 'solid-devtools'; import "./index.css"; import type { RouteDefinition } from "@solidjs/router"; import { Router } from "@solidjs/router"; -import { lazy } from "solid-js"; +import { lazy, onMount } from "solid-js"; const root = document.getElementById("root"); @@ -20,4 +20,11 @@ const routes: Array = [ { path: "/analysis/:id", component: lazy(() => import("./Analysis.tsx")) }, ]; -render(() => {routes}, root!); +const Root = () => { + + return
+ {routes} +
+} + +render(() => , root!); -- cgit