feat: Update account settings with merit-based notifications

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-04 19:42:10 +08:00
1 parent 5259d42716
commit f88ecac37f
1 file changed
+35 -35
+35 -35
View File
@@ -160,41 +160,41 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% else %} {% else %}
<!-- Static Examples for Demonstration --> <!-- Static Examples for Demonstration -->
<ul class="space-y-4"> <ul class="space-y-4">
<div class="pb-4 mb-4 border-b border-border-light"> <div class="pb-4 mb-4 border-b border-border-light">
<small class="text-sm mb-1 block"> <small class="text-sm mb-1 block">
<a href="/user/user123" class="text-primary font-action hover:underline">user123</a> <span class="text-primary font-bold">+1 Merit</span>
<span class="text-text-muted opacity-75">upvoted your post:</span> <span class="text-text-muted opacity-75">– Upvote received on post:</span>
<a href="/single-post/1" class="text-primary font-action hover:underline">"Found the perfect focus playlist"</a> <a href="#" class="text-primary font-action hover:underline">"Found the perfect focus playlist"</a>
<span class="text-text-muted text-xs opacity-75 ml-1">May 04, 2025 10:30 AM</span> <span class="text-text-muted text-xs opacity-75 ml-1">May 04, 2025 10:30 AM</span>
</small> </small>
</div> </div>
<div class="pb-4 mb-4 border-b border-border-light"> <div class="pb-4 mb-4 border-b border-border-light">
<small class="text-sm mb-1 block"> <small class="text-sm mb-1 block">
<a href="/user/anotherUser" class="text-primary font-action hover:underline">anotherUser</a> <span class="text-primary font-bold">+2 Merits</span>
<span class="text-text-muted opacity-75">commented on your post:</span> <span class="text-text-muted opacity-75">– New comment on your post:</span>
<a href="/single-post/2" class="text-primary font-action hover:underline">"My standing desk setup"</a> <a href="#" class="text-primary font-action hover:underline">"My standing desk setup"</a>
<span class="text-text-muted text-xs opacity-75 ml-1">May 03, 2025 08:15 PM</span> <span class="text-text-muted text-xs opacity-75 ml-1">May 03, 2025 08:15 PM</span>
</small> </small>
</div> </div>
<div class="pb-4 mb-4 border-b border-border-light"> <div class="pb-4 mb-4 border-b border-border-light">
<small class="text-sm mb-1 block"> <small class="text-sm mb-1 block">
<a href="/user/helpfulHannah" class="text-primary font-action hover:underline">helpfulHannah</a> <span class="text-primary font-bold">+5 Merits</span>
<span class="text-text-muted opacity-75">created a new post:</span> <span class="text-text-muted opacity-75">– Created new post:</span>
<a href="/single-post/3" class="text-primary font-action hover:underline">"The best ergonomic accessories..."</a> <a href="#" class="text-primary font-action hover:underline">"The best ergonomic accessories..."</a>
<span class="text-text-muted text-xs opacity-75 ml-1">May 02, 2025 11:00 AM</span> <span class="text-text-muted text-xs opacity-75 ml-1">May 02, 2025 11:00 AM</span>
</small> </small>
</div> </div>
<div class="pb-4 mb-4 border-b border-border-light"> <div class="pb-4 mb-4 border-b border-border-light">
<small class="text-sm mb-1 block"> <small class="text-sm mb-1 block">
<a href="/user/techGuru" class="text-primary font-action hover:underline">techGuru</a> <span class="text-primary font-bold">+1 Merit</span>
<span class="text-text-muted opacity-75">upvoted your comment on:</span> <span class="text-text-muted opacity-75">– Upvote received on comment for:</span>
<a href="/single-post/4#comment-5" class="text-primary font-action hover:underline">"Office plants that actually survive..."</a> <a href="#" class="text-primary font-action hover:underline">"Office plants that actually survive..."</a>
<span class="text-text-muted text-xs opacity-75 ml-1">May 01, 2025 09:45 AM</span> <span class="text-text-muted text-xs opacity-75 ml-1">May 01, 2025 09:45 AM</span>
</small> </small>
</div> </div>
</ul> </ul>
<!-- End Static Examples --> <!-- End Static Examples -->
{% endif %} {% endif %}