diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2025-08-19 13:23:56 +0200 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2025-08-19 13:23:56 +0200 |
| commit | 97be0afd140c7c9e1fd03ba5ab4e486d90907129 (patch) | |
| tree | ab9dcf8ebab077b5fc7ab149c6ce8c13c21caaab /frontend/src/components/GameCategory.tsx | |
| parent | organised pages, started work on theme (diff) | |
| download | lphub-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.tsx | 6 |
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 { | |||
| 11 | const GameCategory: React.FC<GameCategoryProps> = ({ cat, game }) => { | 11 | const 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 | }; |