mirror of
https://gitlab.com/etc404/software-engineering-project.git
synced 2026-05-10 20:52:58 +00:00
logged out display
This commit is contained in:
@@ -19,11 +19,11 @@
|
||||
<nav class="sidebar-left">
|
||||
<ul>
|
||||
<li><a th:href="@{/explore}">Explore</a></li>
|
||||
<li><a th:href="${guest} ? @{/login} : @{/}">Saved</a></li>
|
||||
<li><a th:href="@{/my-profile}">Profile</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/}">Saved</a></li>
|
||||
<li th:unless="${guest}"><a th:href="@{/my-profile}">Profile</a></li>
|
||||
|
||||
<li th:if="${guest}">
|
||||
<a th:href="@{/login}" class="login-link">Login</a>
|
||||
<li th:if="${guest}" class="login-link">
|
||||
<a th:href="@{/login}">Login</a> or <a th:href="@{/register}">Sign Up</a> to create and save recipes
|
||||
</li>
|
||||
|
||||
<li th:unless="${guest}">
|
||||
@@ -43,9 +43,6 @@
|
||||
<div class="recipe-card">
|
||||
<div th:if="${guest}" style="text-align:center; padding: 20px 0;">
|
||||
<p style="margin-bottom:16px;">Log in to view and save your favorite recipes.</p>
|
||||
<a th:href="@{/login}" style="display:inline-block; padding:10px 18px; background:#850000; color:white; text-decoration:none; border-radius:8px;">
|
||||
Login
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div th:unless="${guest}">
|
||||
|
||||
Reference in New Issue
Block a user