feat: update notification layout and add form layout

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-06 14:12:09 +08:00
1 parent 6643a6d194
commit fde36ab87c
8 files changed
+21 -8

No files matched your search

-2
View File
@@ -1,4 +1,3 @@
<div class="max-w-screen-lg mx-auto px-4 py-8">
<h1 class="text-3xl font-bold text-text-title mb-6 pb-4 border-b border-gray-200">You have {{ page.notification_count }} notifications.</h1> <h1 class="text-3xl font-bold text-text-title mb-6 pb-4 border-b border-gray-200">You have {{ page.notification_count }} notifications.</h1>
<div class="notification-list space-y-4"> <div class="notification-list space-y-4">
@@ -45,7 +44,6 @@
<p class="text-text-muted text-center pt-4">No more notifications.</p> <p class="text-text-muted text-center pt-4">No more notifications.</p>
</div> </div>
</div>
<script> <script>
document.addEventListener('DOMContentLoaded', function() { document.addEventListener('DOMContentLoaded', function() {
+15
View File
@@ -0,0 +1,15 @@
<!doctype html>
<html lang="en" class="bg-bg-light">
{% include head.liquid %}
<body class="font-sans text-text-default pt-navbar-height">
{% include simple_navbar.liquid %}
<main class="max-w-screen-lg mx-auto py-4 pb-16">
<div class="px-4 mt-4">
{{ content }}
</div>
</main>
</body>
</html>
+1 -1
View File
@@ -5,7 +5,7 @@
<body class="font-sans text-text-default pt-navbar-height"> <body class="font-sans text-text-default pt-navbar-height">
{% include simple_navbar.liquid %} {% include simple_navbar.liquid %}
<main class="max-w-screen-lg mx-auto py-4 pb-16"> <main class="max-w-screen-lg mx-auto py-4 pb-16 bg-bg-footer">
<div class="px-4 mt-4"> <div class="px-4 mt-4">
{{ content }} {{ content }}
</div> </div>
+1 -1
View File
@@ -1,5 +1,5 @@
--- ---
layout: simple layout: form
title: Change Password title: Change Password
permalink: /changepw/ permalink: /changepw/
--- ---
+1 -1
View File
@@ -1,5 +1,5 @@
--- ---
layout: simple layout: form
title: Reset Your Password title: Reset Your Password
permalink: /forgot-password/ permalink: /forgot-password/
--- ---
+1 -1
View File
@@ -1,5 +1,5 @@
--- ---
layout: simple layout: form
title: Join the conversation title: Join the conversation
caption: Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates! caption: Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates!
permalink: /login/ permalink: /login/
+1 -1
View File
@@ -1,5 +1,5 @@
--- ---
layout: content layout: simple
title: Notifications title: Notifications
permalink: /notifications/ permalink: /notifications/
notification_count: 20 notification_count: 20
+1 -1
View File
@@ -1,5 +1,5 @@
--- ---
layout: simple layout: form
title: Submit title: Submit
permalink: /submit/ permalink: /submit/
--- ---