feat: Add "Mark as Read" and "Mark as Unread" buttons to notifications
This commit is contained in:
1 parent
d84cc10808
commit
9618346ae6
1 file changed
+12
@@ -10,6 +10,10 @@
|
|||||||
<a href="/single-post/1" class="text-primary font-action hover:underline">"The Saga of the Disappearing Ergonomic Chair Continues"</a>
|
<a href="/single-post/1" class="text-primary font-action hover:underline">"The Saga of the Disappearing Ergonomic Chair Continues"</a>
|
||||||
<span class="text-text-muted text-xs opacity-75 ml-1">2 hours ago</span>
|
<span class="text-text-muted text-xs opacity-75 ml-1">2 hours ago</span>
|
||||||
</small>
|
</small>
|
||||||
|
<div class="mt-2 flex space-x-2">
|
||||||
|
<button class="px-3 py-1 bg-primary text-white text-xs rounded hover:bg-primary-dark">Mark as Read</button>
|
||||||
|
<button class="px-3 py-1 bg-gray-200 text-gray-700 text-xs rounded hover:bg-gray-300">Mark as Unread</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Example Notification: Upvote on Comment -->
|
<!-- Example Notification: Upvote on Comment -->
|
||||||
@@ -20,6 +24,10 @@
|
|||||||
<a href="/single-post/2#comment-5" class="text-primary font-action hover:underline">"Found the perfect focus playlist"</a>
|
<a href="/single-post/2#comment-5" class="text-primary font-action hover:underline">"Found the perfect focus playlist"</a>
|
||||||
<span class="text-text-muted text-xs opacity-75 ml-1">5 hours ago</span>
|
<span class="text-text-muted text-xs opacity-75 ml-1">5 hours ago</span>
|
||||||
</small>
|
</small>
|
||||||
|
<div class="mt-2 flex space-x-2">
|
||||||
|
<button class="px-3 py-1 bg-primary text-white text-xs rounded hover:bg-primary-dark">Mark as Read</button>
|
||||||
|
<button class="px-3 py-1 bg-gray-200 text-gray-700 text-xs rounded hover:bg-gray-300">Mark as Unread</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Example Notification: Reply to Comment -->
|
<!-- Example Notification: Reply to Comment -->
|
||||||
@@ -30,6 +38,10 @@
|
|||||||
<a href="/single-post/3#comment-10" class="text-primary font-action hover:underline">"Overheard near the coffee machine"</a>
|
<a href="/single-post/3#comment-10" class="text-primary font-action hover:underline">"Overheard near the coffee machine"</a>
|
||||||
<span class="text-text-muted text-xs font-action opacity-75 ml-1">1 day ago</span>
|
<span class="text-text-muted text-xs font-action opacity-75 ml-1">1 day ago</span>
|
||||||
</small>
|
</small>
|
||||||
|
<div class="mt-2 flex space-x-2">
|
||||||
|
<button class="px-3 py-1 bg-primary text-white text-xs rounded hover:bg-primary-dark">Mark as Read</button>
|
||||||
|
<button class="px-3 py-1 bg-gray-200 text-gray-700 text-xs rounded hover:bg-gray-300">Mark as Unread</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Add more notifications here -->
|
<!-- Add more notifications here -->
|
||||||
|
|||||||
Reference in new issue
Block a user