From d19aebd898af77dbc65fabfc4fe905f72769ccc7 Mon Sep 17 00:00:00 2001 From: Wolfboy248 Date: Wed, 11 Dec 2024 09:41:13 +0100 Subject: fix/frontend: games page css rehaul, small maplist fixes --- frontend/src/components/GameCategory.tsx | 8 +++++--- frontend/src/components/GameEntry.tsx | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'frontend/src/components') diff --git a/frontend/src/components/GameCategory.tsx b/frontend/src/components/GameCategory.tsx index d8879ef..80ee416 100644 --- a/frontend/src/components/GameCategory.tsx +++ b/frontend/src/components/GameCategory.tsx @@ -3,6 +3,8 @@ import { Link } from "react-router-dom"; import { Game, GameCategoryPortals } from '@customTypes/Game'; import "@css/Games.css" +import games from "@css/Games.module.css"; +import info from "@css/Info.module.css"; interface GameCategoryProps { game: Game; @@ -11,11 +13,11 @@ interface GameCategoryProps { const GameCategory: React.FC = ({cat, game}) => { return ( - = ({ game }) => { }, [game.category_portals]); return ( -
-
-
+
+
+
{game.name}
-
+
{catInfo.map((cat, index) => { return })} -- cgit v1.2.3