From c5007c0510637309344cfd7db693f37e217b374f Mon Sep 17 00:00:00 2001 From: Emiel Van Severen Date: Sat, 2 Nov 2024 22:17:36 +0100 Subject: [PATCH 1/2] Feat: gameservers table view --- .../src/components/Navbar/GameServerNav.tsx | 4 +- packages/web-main/src/components/Player.tsx | 24 +- .../components/cards/GameServerCard/index.tsx | 136 +-------- packages/web-main/src/queries/gameserver.tsx | 6 +- .../web-main/src/routes/_auth/_global.tsx | 4 +- .../-gameservers/GameServersCardView.tsx | 77 +++++ .../-gameservers/GameServersTableView.tsx | 123 ++++++++ .../src/routes/_auth/_global/dashboard.tsx | 2 - .../src/routes/_auth/_global/gameservers.tsx | 283 +++++++++++++----- .../player.$playerId/-PlayerRolesTable.tsx | 2 +- .../src/routes/_auth/_global/users.tsx | 12 +- .../-components/shop/ShopView.tsx | 3 +- 12 files changed, 439 insertions(+), 237 deletions(-) create mode 100644 packages/web-main/src/routes/_auth/_global/-gameservers/GameServersCardView.tsx create mode 100644 packages/web-main/src/routes/_auth/_global/-gameservers/GameServersTableView.tsx diff --git a/packages/web-main/src/components/Navbar/GameServerNav.tsx b/packages/web-main/src/components/Navbar/GameServerNav.tsx index 3f4991a618..53609830cb 100644 --- a/packages/web-main/src/components/Navbar/GameServerNav.tsx +++ b/packages/web-main/src/components/Navbar/GameServerNav.tsx @@ -75,10 +75,10 @@ export const GameServerNav: FC = () => { return (