From c58d0c3e97aa5a7b15aa92f000b222b05480174e Mon Sep 17 00:00:00 2001 From: KalpasWang Date: Fri, 8 Dec 2023 16:10:00 +0800 Subject: [PATCH] bugfix: fix page, button and card layout --- frontend/app/card-picking/page.tsx | 38 ++++++++++--------- frontend/app/level-select/page.tsx | 4 +- .../components/investigator-card2/index.tsx | 1 + 3 files changed, 24 insertions(+), 19 deletions(-) diff --git a/frontend/app/card-picking/page.tsx b/frontend/app/card-picking/page.tsx index d9cae17..e298aef 100644 --- a/frontend/app/card-picking/page.tsx +++ b/frontend/app/card-picking/page.tsx @@ -3,23 +3,27 @@ import { investigators } from "@/config/investigators"; export default function RolePickingDemo() { return ( -
-

- Please Select a Character - 請選擇角色 -

-
- {investigators.map((investigator) => { - const { name, saneImage, sanity } = investigator; - return ( - - ); - })} +
+
+

+ Please Select a Character + + 請選擇角色 + +

+
+ {investigators.map((investigator) => { + const { name, saneImage, sanity } = investigator; + return ( + + ); + })} +
); diff --git a/frontend/app/level-select/page.tsx b/frontend/app/level-select/page.tsx index cc5e39e..8998828 100644 --- a/frontend/app/level-select/page.tsx +++ b/frontend/app/level-select/page.tsx @@ -3,7 +3,7 @@ import { levels } from "@/config/levels"; export default function LevelSelectDemo() { return ( -
+

Please Select the Level of Difficulty @@ -16,7 +16,7 @@ export default function LevelSelectDemo() { return (