diff options
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/pages/Maplist/Maplist.tsx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/frontend/src/pages/Maplist/Maplist.tsx b/frontend/src/pages/Maplist/Maplist.tsx index a5649db..d8acdf0 100644 --- a/frontend/src/pages/Maplist/Maplist.tsx +++ b/frontend/src/pages/Maplist/Maplist.tsx | |||
| @@ -7,6 +7,7 @@ import { Game } from "@customTypes/Game.ts"; | |||
| 7 | import { GameChapter, GamesChapters } from "@customTypes/Chapters.ts"; | 7 | import { GameChapter, GamesChapters } from "@customTypes/Chapters.ts"; |
| 8 | 8 | ||
| 9 | import Map from "./Components/Map"; | 9 | import Map from "./Components/Map"; |
| 10 | import BreadcrumbNav from "@components/BreadcrumbNav/BreadcrumbNav"; | ||
| 10 | 11 | ||
| 11 | const Maplist: React.FC = () => { | 12 | const Maplist: React.FC = () => { |
| 12 | const [game, setGame] = React.useState<Game | null>(null); | 13 | const [game, setGame] = React.useState<Game | null>(null); |
| @@ -89,24 +90,17 @@ const Maplist: React.FC = () => { | |||
| 89 | }, [gameChapters, location.search]); | 90 | }, [gameChapters, location.search]); |
| 90 | 91 | ||
| 91 | return ( | 92 | return ( |
| 92 | <div className="px-12"> | 93 | <div className=""> |
| 93 | <Helmet> | 94 | <Helmet> |
| 94 | <title>LPHUB | Maplist</title> | 95 | <title>LPHUB | Maplist</title> |
| 95 | </Helmet> | 96 | </Helmet> |
| 96 | 97 | ||
| 97 | <section className="my-5"> | 98 | <BreadcrumbNav /> |
| 98 | <Link to="/games"> | ||
| 99 | <button className="nav-button rounded-[20px] h-10 bg-surface border-0 text-foreground text-lg font-barlow-semicondensed-regular transition-colors duration-100 hover:bg-surface2 flex items-center px-2"> | ||
| 100 | <i className="triangle mr-2"></i> | ||
| 101 | <span className="px-2">Games List</span> | ||
| 102 | </button> | ||
| 103 | </Link> | ||
| 104 | </section> | ||
| 105 | 99 | ||
| 106 | {load ? ( | 100 | {load ? ( |
| 107 | <div></div> | 101 | <div></div> |
| 108 | ) : ( | 102 | ) : ( |
| 109 | <section> | 103 | <section className="px-12"> |
| 110 | <h1 className="text-3xl sm:text-6xl my-0"> | 104 | <h1 className="text-3xl sm:text-6xl my-0"> |
| 111 | {game?.name} | 105 | {game?.name} |
| 112 | </h1> | 106 | </h1> |