aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/GameCategory.tsx
diff options
context:
space:
mode:
authorWolfboy248 <georgejvindkarlsen@gmail.com>2025-08-19 13:23:56 +0200
committerWolfboy248 <georgejvindkarlsen@gmail.com>2025-08-19 13:23:56 +0200
commit97be0afd140c7c9e1fd03ba5ab4e486d90907129 (patch)
treeab9dcf8ebab077b5fc7ab149c6ce8c13c21caaab /frontend/src/components/GameCategory.tsx
parentorganised pages, started work on theme (diff)
downloadlphub-97be0afd140c7c9e1fd03ba5ab4e486d90907129.tar.gz
lphub-97be0afd140c7c9e1fd03ba5ab4e486d90907129.tar.bz2
lphub-97be0afd140c7c9e1fd03ba5ab4e486d90907129.zip
organised pages, started work on theme
Diffstat (limited to 'frontend/src/components/GameCategory.tsx')
-rw-r--r--frontend/src/components/GameCategory.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/components/GameCategory.tsx b/frontend/src/components/GameCategory.tsx
index b18c9d9..7ae3850 100644
--- a/frontend/src/components/GameCategory.tsx
+++ b/frontend/src/components/GameCategory.tsx
@@ -11,12 +11,12 @@ interface GameCategoryProps {
11const GameCategory: React.FC<GameCategoryProps> = ({ cat, game }) => { 11const GameCategory: React.FC<GameCategoryProps> = ({ cat, game }) => {
12 return ( 12 return (
13 <Link 13 <Link
14 className="bg-surface text-center w-full h-[100px] rounded-3xl text-foreground m-3 hover:bg-surface1 transition-colors flex flex-col justify-between p-4" 14 className="bg-block text-center w-full rounded-3xl text-foreground transition-colors flex flex-col justify-between p-2"
15 to={"/games/" + game.id + "?cat=" + cat.category.id} 15 to={"/games/" + game.id + "?cat=" + cat.category.id}
16 > 16 >
17 <p className="text-3xl font-semibold">{cat.category.name}</p> 17 <span className="text-2xl font-barlow-semicondensed-regular">{cat.category.name}</span>
18 <br /> 18 <br />
19 <p className="font-bold text-4xl">{cat.portal_count}</p> 19 <span className="text-5xl font-barlow-semicondensed-semibold">{cat.portal_count}</span>
20 </Link> 20 </Link>
21 ); 21 );
22}; 22};