diff --git a/front/style/home.css b/front/style/home.css index ed496dc..19067f8 100644 --- a/front/style/home.css +++ b/front/style/home.css @@ -33,7 +33,7 @@ background-color: grey; } -#ps-title { +#titlePersonalSpace h2 { text-align: center; } @@ -57,4 +57,13 @@ background-color: black; padding : 1.5%; margin-bottom: 0px; +} + +table { + width: 100%; +} + +td { + text-align: center; + border : 3px solid black; } \ No newline at end of file diff --git a/front/views/Home.tsx b/front/views/Home.tsx index 9b11d35..9ddb840 100644 --- a/front/views/Home.tsx +++ b/front/views/Home.tsx @@ -12,7 +12,6 @@ export default function Home({ lastTactics, allTactics } : { lastTactics : Tacti
<Body lastTactics={lastTactics} allTactics={allTactics}/> - </div> ) } diff --git a/src/App/Controller/UserController.php b/src/App/Controller/UserController.php index 9ad767f..0af4214 100644 --- a/src/App/Controller/UserController.php +++ b/src/App/Controller/UserController.php @@ -26,7 +26,6 @@ class UserController { $limitNbTactics = 5; $lastTactics = $this->tactics->getLast($limitNbTactics, $session->getAccount()->getId()); $allTactics = $this->tactics->getAll($session->getAccount()->getId()); - return ViewHttpResponse::react("views/Home.tsx", [ "lastTactics" => $lastTactics, "allTactics" => $allTactics