diff --git a/frontend/index.html b/frontend/index.html index 6bb6e1e..d769b27 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ diff --git a/frontend/src/assets/icons8-admin-55.png b/frontend/src/assets/icons8-admin-55.png new file mode 100644 index 0000000..3219097 Binary files /dev/null and b/frontend/src/assets/icons8-admin-55.png differ diff --git a/frontend/src/assets/icons8-admin-57.png b/frontend/src/assets/icons8-admin-57.png new file mode 100644 index 0000000..346638e Binary files /dev/null and b/frontend/src/assets/icons8-admin-57.png differ diff --git a/frontend/src/assets/icons8-user-70.png b/frontend/src/assets/icons8-user-70.png index 80499ab..90e174c 100644 Binary files a/frontend/src/assets/icons8-user-70.png and b/frontend/src/assets/icons8-user-70.png differ diff --git a/frontend/src/components/AdminUsersTable.jsx b/frontend/src/components/AdminUsersTable.jsx index a1ef8e2..52c59b7 100644 --- a/frontend/src/components/AdminUsersTable.jsx +++ b/frontend/src/components/AdminUsersTable.jsx @@ -34,7 +34,7 @@ function AdminUsersTable({ search }) {
Temps du jeu :
-{timePlayed}
-- Partie :{numberPlayed} -
-- Gagné :{numberWon} -
-Temps du jeu :
+{timePlayed}
++ Partie :{numberPlayed} +
++ Gagné :{numberWon} +
Admin
+ ); } diff --git a/frontend/src/components/input/InputProfil.jsx b/frontend/src/components/input/InputProfil.jsx index 0041a25..236e1cd 100644 --- a/frontend/src/components/input/InputProfil.jsx +++ b/frontend/src/components/input/InputProfil.jsx @@ -1,16 +1,20 @@ +import { useContext } from "react"; import { Link } from "react-router-dom"; -import logo from "../../assets/icons8-user-32.png"; +import logo from "../../assets/icons8-user-70.png"; +import { AuthContext } from "../../../context/AuthContext"; function InputProfil() { - return ( - - - - ); + + ); + } + return ""; } export default InputProfil; diff --git a/frontend/src/components/profilContainer/Profile.jsx b/frontend/src/components/profilContainer/Profile.jsx index 5942817..f2e7cb0 100644 --- a/frontend/src/components/profilContainer/Profile.jsx +++ b/frontend/src/components/profilContainer/Profile.jsx @@ -17,17 +17,19 @@ function ProfilContainer() { alt={profil.alt} width={40} /> -{connected.login.username}
+{connected.login.username}
MEMBRE DEPUIS
{convertTime(profil.createdat)}
+