diff --git a/web/src/App.tsx b/web/src/App.tsx index a616279..dcf4018 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -134,6 +134,27 @@ function Nav({ ); } +function Dashboard({ + links, + monitors, +}: { + links: Link[]; + monitors: Monitor[]; +}) { + return ( +
+ + + +
+ {monitors.map((it) => ( + + ))} +
+
+ ); +} + function MobileTopBar({ category }: { category: Category }) { const label = CATEGORIES.find((c) => c.id === category)?.label ?? ""; return ( @@ -198,20 +219,7 @@ function MainScreen({ }`} > {category === "dashboard" && ( -
-
- - -
-
- -
- {content.monitors.map((it) => ( - - ))} -
-
-
+ )} {category === "exec" && (