diff --git a/front/style/home.css b/front/style/home.css
index d9c37f9..4f11371 100644
--- a/front/style/home.css
+++ b/front/style/home.css
@@ -4,4 +4,8 @@
#B {
color : blue;
+}
+
+#IQBall {
+ text-align: center;
}
\ No newline at end of file
diff --git a/front/views/Home.tsx b/front/views/Home.tsx
index fb50fb7..2d2d0be 100644
--- a/front/views/Home.tsx
+++ b/front/views/Home.tsx
@@ -2,8 +2,26 @@ import "../style/home.css"
export default function Home(){
return (
-
+ )
+}
+
+export function Title(){
+ return(
+
+
IQBall
+
![]()
+
+ )
+}
+
+export function Body(){
+ return(
+
+
)
}
\ No newline at end of file
diff --git a/public/index.php b/public/index.php
index 27bd935..8b375d0 100644
--- a/public/index.php
+++ b/public/index.php
@@ -107,6 +107,8 @@ function getRoutes(): AltoRouter {
$ar->map("GET", "/team/members/remove", Action::auth(fn(SessionHandle $s) => getTeamController()->displayDeleteMember($s)));
$ar->map("POST", "/team/members/remove", Action::auth(fn(SessionHandle $s) => getTeamController()->deleteMember($_POST, $s)));
+ //temp
+ $ar->map("GET", "/test", Action::auth(fn(SessionHandle $s) => getUserController()->homeTwig($s)));
return $ar;
}
diff --git a/src/App/Controller/UserController.php b/src/App/Controller/UserController.php
index 920993a..d0707e7 100644
--- a/src/App/Controller/UserController.php
+++ b/src/App/Controller/UserController.php
@@ -26,6 +26,10 @@ class UserController {
return ViewHttpResponse::react("views/Home.tsx", []);
}
+ public function homeTwig(SessionHandle $session): ViewHttpResponse {
+ return ViewHttpResponse::twig("home.twig", []);
+ }
+
/**
* @return ViewHttpResponse account settings page
*/