diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2025-08-26 08:20:51 +0200 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2025-08-26 08:20:51 +0200 |
| commit | ddfe5015c9237fbe0fea44f8bcde31708eb3adac (patch) | |
| tree | db7d9812461c0ab0dc39812465f20bc958f9bf67 /frontend/src/pages/Games/Games.tsx | |
| parent | Moved breadcrum navigation into its own component (diff) | |
| download | lphub-css.tar.gz lphub-css.tar.bz2 lphub-css.zip | |
Fixed some inconsistant styles and fixed category queryparam in maplist pagecss
Diffstat (limited to 'frontend/src/pages/Games/Games.tsx')
| -rw-r--r-- | frontend/src/pages/Games/Games.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/src/pages/Games/Games.tsx b/frontend/src/pages/Games/Games.tsx index ea46733..2f084f3 100644 --- a/frontend/src/pages/Games/Games.tsx +++ b/frontend/src/pages/Games/Games.tsx | |||
| @@ -3,6 +3,7 @@ import { Helmet } from "react-helmet"; | |||
| 3 | 3 | ||
| 4 | import GameEntry from "@components/GameEntry.tsx"; | 4 | import GameEntry from "@components/GameEntry.tsx"; |
| 5 | import { Game } from "@customTypes/Game.ts"; | 5 | import { Game } from "@customTypes/Game.ts"; |
| 6 | import BreadcrumbNav from "@components/BreadcrumbNav/BreadcrumbNav"; | ||
| 6 | 7 | ||
| 7 | interface GamesProps { | 8 | interface GamesProps { |
| 8 | games: Game[]; | 9 | games: Game[]; |
| @@ -10,11 +11,12 @@ interface GamesProps { | |||
| 10 | 11 | ||
| 11 | const Games: React.FC<GamesProps> = ({ games }) => { | 12 | const Games: React.FC<GamesProps> = ({ games }) => { |
| 12 | return ( | 13 | return ( |
| 13 | <div className="py-12 px-12 w-full"> | 14 | <div> |
| 14 | <Helmet> | 15 | <Helmet> |
| 15 | <title>LPHUB | Games</title> | 16 | <title>LPHUB | Games</title> |
| 16 | </Helmet> | 17 | </Helmet> |
| 17 | <section> | 18 | |
| 19 | <section className="px-12 pt-8 w-full"> | ||
| 18 | <h1 className="text-3xl mb-8">Games</h1> | 20 | <h1 className="text-3xl mb-8">Games</h1> |
| 19 | <div className="flex flex-col w-full"> | 21 | <div className="flex flex-col w-full"> |
| 20 | {games.map((game, index) => ( | 22 | {games.map((game, index) => ( |