Files
project-behind-the-desk/_includes/notifications.liquid
T

39 lines
2.2 KiB
Plaintext

<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">Notifications</h1>
<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:
<a href="/single-post/1" class="text-primary hover:underline">"The Saga of the Disappearing Ergonomic Chair Continues"</a>
</p>
<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:
<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>
</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:
<a href="/single-post/3#comment-10" class="text-primary hover:underline">"Overheard near the coffee machine"</a>
</p>
<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 -->
<p class="text-text-muted text-center pt-4">No more notifications.</p>
</div>
</div>