mirror of
https://gitlab.com/etc404/software-engineering-project.git
synced 2026-05-10 20:52:58 +00:00
This commit is contained in:
@@ -27,7 +27,7 @@ public class SiteController {
|
||||
this.recipeService = recipeService;
|
||||
this.userService = userService;
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/")
|
||||
public String viewHomePage() {
|
||||
return "redirect:/explore";
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<nav class="sidebar-left">
|
||||
<ul>
|
||||
<li><a th:href="@{/explore}">Explore</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/favorites}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/my-profile}">Profile</a></li>
|
||||
|
||||
<li th:if="${guest}" class="login-link">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<nav class="sidebar-left">
|
||||
<ul>
|
||||
<li><a th:href="@{/explore}">Explore</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/favorites}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/my-profile}">Profile</a></li>
|
||||
|
||||
<li th:if="${guest}" class="login-link">
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<nav class="sidebar-left">
|
||||
<ul>
|
||||
<li><a th:href="@{/explore}">Explore</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/favorites}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/my-profile}">Profile</a></li>
|
||||
|
||||
<li th:if="${guest}" class="login-link">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<nav class="sidebar-left">
|
||||
<ul>
|
||||
<li><a th:href="@{/explore}">Explore</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/favorites}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/my-profile}">Profile</a></li>
|
||||
|
||||
<li th:if="${guest}" class="login-link">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<nav class="sidebar-left">
|
||||
<ul>
|
||||
<li><a th:href="@{/explore}">Explore</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/favorites}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/my-profile}">Profile</a></li>
|
||||
|
||||
<li th:if="${guest}" class="login-link">
|
||||
|
||||
Reference in New Issue
Block a user