style: Align notification layout with other page templates
This commit is contained in:
1 parent
6b3c9bfcde
commit
3135760cfa
1 file changed
+34
-32
@@ -1,36 +1,38 @@
|
|||||||
<div class="max-w-screen-lg mx-auto px-4 py-8">
|
<div class="max-w-screen-lg mx-auto px-4 py-8">
|
||||||
<h1 class="text-2xl font-bold mb-4">Notifications</h1>
|
<h1 class="text-3xl font-bold text-text-title mb-6 pb-4 border-b border-gray-200">Notifications</h1>
|
||||||
|
|
||||||
<!-- Example Notification: Reply to Post -->
|
<div class="notification-list space-y-4">
|
||||||
<div class="bg-white p-4 rounded shadow mb-4 border border-gray-200">
|
<!-- Example Notification: Reply to Post -->
|
||||||
<p class="text-gray-800">
|
<div class="pb-4 mb-4 border-b border-border-light">
|
||||||
<a href="/user/user123" class="text-primary font-semibold hover:underline">user123</a> replied to your post:
|
<p class="text-text-title text-sm mb-1">
|
||||||
<a href="/single-post/1" class="text-primary hover:underline">"The Saga of the Disappearing Ergonomic Chair Continues"</a>
|
<a href="/user/user123" class="text-primary font-semibold hover:underline">user123</a> replied to your post:
|
||||||
</p>
|
<a href="/single-post/1" class="text-primary hover:underline">"The Saga of the Disappearing Ergonomic Chair Continues"</a>
|
||||||
<p class="text-gray-600 text-sm mt-1">"I saw it near the vending machine!"</p>
|
</p>
|
||||||
<span class="text-xs text-gray-500">2 hours ago</span>
|
<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>
|
||||||
|
|
||||||
<!-- Example Notification: Upvote on Comment -->
|
|
||||||
<div class="bg-white p-4 rounded shadow mb-4 border border-gray-200">
|
|
||||||
<p class="text-gray-800">
|
|
||||||
<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>
|
|
||||||
<span class="text-xs text-gray-500">5 hours ago</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Example Notification: Reply to Comment -->
|
|
||||||
<div class="bg-white p-4 rounded shadow mb-4 border border-gray-200">
|
|
||||||
<p class="text-gray-800">
|
|
||||||
<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-gray-600 text-sm mt-1">"That happens all the time!"</p>
|
|
||||||
<span class="text-xs text-gray-500">1 day ago</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Add more notifications here -->
|
|
||||||
<p class="text-gray-500 text-center">No more notifications.</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
Reference in new issue
Block a user