From f1ce5053a365bd9754d779ba93dac26eb9809c23 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Thu, 17 Jul 2025 14:39:09 +0200 Subject: [PATCH] Sever icon and a few other stuff --- src/app/dashboard/server.tsx | 36 ++++++++++++++++++++------------- src/app/servers/Map.tsx | 39 +++++++++++++++++++++++++----------- src/hooks/useSession.ts | 4 ++++ 3 files changed, 53 insertions(+), 26 deletions(-) diff --git a/src/app/dashboard/server.tsx b/src/app/dashboard/server.tsx index 3c1ef37..52b9572 100644 --- a/src/app/dashboard/server.tsx +++ b/src/app/dashboard/server.tsx @@ -31,6 +31,7 @@ import { MemoryStick, Network, Pencil, + ServerIcon, Trash, Wifi, } from "lucide-react"; @@ -73,22 +74,29 @@ export default function ServerComponent({ <> - + - {server.name} - -
- {server.status[0].toUpperCase() + server.status.slice(1)}{" "} - {" · "} - {server.ip} - {server.location && ( -
- - {server.location} -
- )} +
+
+
- +
+ {server.name} + +
+ {server.status[0].toUpperCase() + server.status.slice(1)} + {" · "} + {server.ip} + {server.location && ( +
+ + {server.location} +
+ )} +
+
+
+
(null); @@ -71,17 +78,25 @@ export default function Map({ servers }: { servers: Server[] }) { {sheet && ( - {sheet.name} - - {sheet.status[0].toUpperCase() + sheet.status.slice(1)} {" · "} - {sheet.ip} - {sheet.location && ( - - - {sheet.location} - - )} - +
+
+ +
+
+ {sheet.name} + + {sheet.status[0].toUpperCase() + sheet.status.slice(1)}{" "} + {" · "} + {sheet.ip} + {sheet.location && ( + + + {sheet.location} + + )} + +
+