feat: Display upvote count below the upvote tick

This commit is contained in:
Kerby Martino (aider) committed 2025-05-01 03:52:39 +08:00
1 parent cc020dbcd2
commit 4eda9ec1b4
1 file changed
+2 -2
+2 -2
View File
@@ -19,13 +19,13 @@
{% for post in site.posts %} {% for post in site.posts %}
<div class="mb-4"> <div class="mb-4">
<article class="flex items-start"> <article class="flex items-start">
<div class="flex items-center mr-4"> <div class="flex flex-col items-center mr-4">
<button class="upvote-button text-text-muted hover:text-link-hover" aria-label="Upvote"> <button class="upvote-button text-text-muted hover:text-link-hover" aria-label="Upvote">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 15l7-7 7 7"></path> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 15l7-7 7 7"></path>
</svg> </svg>
<span class="ml-1 text-sm">{{ post.upvotes }}</span>
</button> </button>
<span class="text-sm mt-1">{{ post.upvotes }}</span>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>