diff --git a/src/main/java/com/basecamp/HyprLink/controller/ProfileController.java b/src/main/java/com/basecamp/HyprLink/controller/ProfileController.java index b82ae60..85b4612 100644 --- a/src/main/java/com/basecamp/HyprLink/controller/ProfileController.java +++ b/src/main/java/com/basecamp/HyprLink/controller/ProfileController.java @@ -36,7 +36,7 @@ public String getProfileById(@PathVariable Long id, Model model) { @GetMapping("/profile") public String searchProfile(Principal principal, Model model) { return processUserInfoByUsername(principal.getName(), principal, model); } - @GetMapping("/profile/username/{userName}") + @GetMapping("/profile/{userName}") public String getProfileByUsername(@PathVariable String userName, Principal principal, Model model) { return processUserInfoByUsername(userName, principal, model); } diff --git a/src/main/resources/static/css/default.css b/src/main/resources/static/css/default.css index b4e0612..053341b 100644 --- a/src/main/resources/static/css/default.css +++ b/src/main/resources/static/css/default.css @@ -74,7 +74,6 @@ body { .nav-right button { border: none; background: none; - padding: 0 0 3px 0; } .nav-right button:hover { color: #3b82f6; diff --git a/src/main/resources/static/css/landing.css b/src/main/resources/static/css/landing.css index 58cccbb..162b462 100644 --- a/src/main/resources/static/css/landing.css +++ b/src/main/resources/static/css/landing.css @@ -115,7 +115,7 @@ body { .nav-center button, .nav-right button { border: none; background: none; - padding: 0 0 3px 0; + padding: 0; } .nav-center button:hover, .nav-right button:hover { color: #3b82f6; diff --git a/src/main/resources/static/css/nav.css b/src/main/resources/static/css/nav.css index 18fa7a1..e6a73ac 100644 --- a/src/main/resources/static/css/nav.css +++ b/src/main/resources/static/css/nav.css @@ -54,10 +54,14 @@ align-items: center; } -.nav-center a, .nav-center button { +.nav-center a { font-size: 1.2rem; } +.nav-center button { + font-size: 1rem; +} + .nav button:hover { color: #3b82f6; } @@ -87,7 +91,7 @@ .nav-center button, .nav-right button { border: none; background: none; - padding: 0 0 3px 0; + padding: 0; } .nav-center button:hover, .nav-right button:hover { color: #3b82f6; diff --git a/src/main/resources/static/css/templates.css b/src/main/resources/static/css/templates.css index 3ff1a10..0306a61 100644 --- a/src/main/resources/static/css/templates.css +++ b/src/main/resources/static/css/templates.css @@ -144,7 +144,7 @@ body { .nav-center button, .nav-right button { border: none; background: none; - padding: 0 0 3px 0; + padding: 0; } .nav-center button:hover, .nav-right button:hover { color: #3b82f6; diff --git a/src/main/resources/templates/templates.html b/src/main/resources/templates/templates.html index cd8cdf9..112851e 100644 --- a/src/main/resources/templates/templates.html +++ b/src/main/resources/templates/templates.html @@ -15,10 +15,7 @@ HyperLink - - +