<% User user = (User) request.getAttribute("user"); %>
<%= user != null ? user.getUsername() : "anonyme"%>
diff --git a/S2/DevWeb/Projet/src/main/webapp/static/css/index.css b/S2/DevWeb/Projet/src/main/webapp/static/css/index.css
index 8c342d1..149fe3d 100644
--- a/S2/DevWeb/Projet/src/main/webapp/static/css/index.css
+++ b/S2/DevWeb/Projet/src/main/webapp/static/css/index.css
@@ -3,7 +3,7 @@ html{
}
.content {
- display: inline-flex;
+ display: flex;
flex-direction: column;
align-items: flex-start;
gap: 30px;
diff --git a/S2/DevWeb/Projet/src/main/webapp/static/css/navbar.css b/S2/DevWeb/Projet/src/main/webapp/static/css/navbar.css
index 4384c1e..c04acd8 100644
--- a/S2/DevWeb/Projet/src/main/webapp/static/css/navbar.css
+++ b/S2/DevWeb/Projet/src/main/webapp/static/css/navbar.css
@@ -4,7 +4,7 @@ nav {
justify-content: space-between;
padding: 10px;
}
-.content {
+.nav-content {
display: flex;
flex-direction: row;
gap: 40px;