feat: Display sample post link above mobile comments

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-04 16:59:13 +08:00
1 parent 4f78eee1f3
commit 5f5fc52add
1 file changed
+2
+2
View File
@@ -5,6 +5,8 @@
<div class="mt-4"> <div class="mt-4">
<div id="mobile-comments-list" class="space-y-4"> <div id="mobile-comments-list" class="space-y-4">
{% for comment in top_comments %} {% for comment in top_comments %}
<span class="text-text-muted opacity-75">Comment on:</span>
<a href="#" class="text-primary font-action hover:underline">"Sample Post"</a>
<div class="border-b border-gray-200 pb-3 mb-3" id="mobile-comment-comment1"> <div class="border-b border-gray-200 pb-3 mb-3" id="mobile-comment-comment1">
<p class="text-sm mb-2">{{ comment.content }} <p class="text-sm mb-2">{{ comment.content }}
</p> </p>