feat: Add report, reply, and comments in semi-rounded grey shapes with icons
This commit is contained in:
1 parent
047de4569b
commit
49cbaf298a
1 file changed
+12
-1
@@ -31,7 +31,18 @@
|
|||||||
<strong><a href="{{ post.url }}" class="text-text-title font-normal text-base hover:underline">{{ post.title }}</a></strong>
|
<strong><a href="{{ post.url }}" class="text-text-title font-normal text-base hover:underline">{{ post.title }}</a></strong>
|
||||||
</p>
|
</p>
|
||||||
<div class="mt-0 mb-1 text-sm flex items-center">
|
<div class="mt-0 mb-1 text-sm flex items-center">
|
||||||
<small class="text-xs font-action"><a href="#" class="text-xs hover:underline">{{ post.author }}</a> <span class="text-text-muted text-xs opacity-75">{{ post.date | date: "%d %b %Y" }}</span> <a href="#" class="text-text-muted text-xs hover:underline opacity-75">report</a> <a href="#" class="text-text-muted text-xs hover:underline opacity-75">reply</a> <a href="#" class="text-text-muted text-xs hover:underline opacity-75">{{ post.comments_count }} comments</a></small>
|
<small class="text-xs font-action"><a href="#" class="text-xs hover:underline">{{ post.author }}</a> <span class="text-text-muted text-xs opacity-75">{{ post.date | date: "%d %b %Y" }}</span></small>
|
||||||
|
<div class="flex items-center space-x-2 ml-2">
|
||||||
|
<span class="bg-gray-200 text-gray-700 text-xs px-2 py-1 rounded-full flex items-center">
|
||||||
|
<i class="fas fa-flag mr-1"></i> report
|
||||||
|
</span>
|
||||||
|
<span class="bg-gray-200 text-gray-700 text-xs px-2 py-1 rounded-full flex items-center">
|
||||||
|
<i class="fas fa-reply mr-1"></i> reply
|
||||||
|
</span>
|
||||||
|
<span class="bg-gray-200 text-gray-700 text-xs px-2 py-1 rounded-full flex items-center">
|
||||||
|
<i class="fas fa-comment mr-1"></i> {{ post.comments_count }} comments
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user