style: Apply post_list.liquid style to notifications.liquid

This commit is contained in:
Kerby Martino (aider) committed 2025-05-04 03:34:39 +08:00
1 parent 3135760cfa
commit a2865c2421
1 file changed
+15 -12
+15 -12
View File
@@ -4,31 +4,34 @@
<div class="notification-list space-y-4">
<!-- Example Notification: Reply to Post -->
<div class="pb-4 mb-4 border-b border-border-light">
<p class="text-text-title text-sm mb-1">
<a href="/user/user123" class="text-primary font-semibold hover:underline">user123</a> replied to your post:
<small class="text-sm font-action mb-1 block">
<a href="/user/user123" class="text-primary hover:underline">user123</a>
<span class="text-text-muted opacity-75">replied to your post:</span>
<a href="/single-post/1" class="text-primary hover:underline">"The Saga of the Disappearing Ergonomic Chair Continues"</a>
</p>
<span class="text-text-muted text-xs opacity-75 ml-1">2 hours ago</span>
</small>
<p class="text-text-muted text-sm mt-1 pl-4 border-l-2 border-gray-300">"I saw it near the vending machine!"</p>
<small class="text-text-muted text-xs block mt-2">2 hours ago</small>
</div>
<!-- Example Notification: Upvote on Comment -->
<div class="pb-4 mb-4 border-b border-border-light">
<p class="text-text-title text-sm mb-1">
<a href="/user/anotherUser" class="text-primary font-semibold hover:underline">anotherUser</a> upvoted your comment on:
<small class="text-sm font-action mb-1 block">
<a href="/user/anotherUser" class="text-primary hover:underline">anotherUser</a>
<span class="text-text-muted opacity-75">upvoted your comment on:</span>
<a href="/single-post/2#comment-5" class="text-primary hover:underline">"Found the perfect focus playlist"</a>
</p>
<small class="text-text-muted text-xs block mt-2">5 hours ago</small>
<span class="text-text-muted text-xs opacity-75 ml-1">5 hours ago</span>
</small>
</div>
<!-- Example Notification: Reply to Comment -->
<div class="pb-4 mb-4 border-b border-border-light">
<p class="text-text-title text-sm mb-1">
<a href="/user/helpfulHannah" class="text-primary font-semibold hover:underline">helpfulHannah</a> replied to your comment on:
<small class="text-sm font-action mb-1 block">
<a href="/user/helpfulHannah" class="text-primary hover:underline">helpfulHannah</a>
<span class="text-text-muted opacity-75">replied to your comment on:</span>
<a href="/single-post/3#comment-10" class="text-primary hover:underline">"Overheard near the coffee machine"</a>
</p>
<span class="text-text-muted text-xs opacity-75 ml-1">1 day ago</span>
</small>
<p class="text-text-muted text-sm mt-1 pl-4 border-l-2 border-gray-300">"That happens all the time!"</p>
<small class="text-text-muted text-xs block mt-2">1 day ago</small>
</div>
<!-- Add more notifications here -->