Update 2 files

- /src/main/resources/templates/my-profile.html
- /src/main/resources/static/css/my-profile.css
This commit is contained in:
Madeleine Stamp
2026-04-23 19:37:42 -06:00
parent 5d38a9bdcd
commit 92001a8e49
2 changed files with 39 additions and 1 deletions
@@ -420,3 +420,35 @@ a {
flex-shrink: 0;
width: 50%;
}
/* =========================
Top Row (My Recipes + Feedback)
========================= */
.profile-top-row {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.profile-top-row h2 {
margin: 0;
}
/* =========================
Feedback Button
========================= */
.feedback-btn {
background: var(--dark);
color: var(--dark-yellow) !important;
border-radius: 8px;
padding: 6px 14px;
font-weight: 700;
font-size: 0.7em;
text-decoration: none !important;
display: inline-block;
}
.feedback-btn:hover {
background: var(--dusty-red-hover);
}
+7 -1
View File
@@ -45,7 +45,13 @@
<!-- Main Content — recipes -->
<main class="main-content">
<h2>My Recipes</h2>
<div class="profile-top-row">
<h2>My Recipes</h2>
<a href="https://forms.gle/qUx73EL7vjBDBXde7"
target="_blank"
rel="noopener noreferrer"
class="feedback-btn">Give Feedback</a>
</div>
<p th:if="${#lists.isEmpty(profile.recipes)}">You have not created any recipes yet.</p>