feat: Replace upvote icon with Font Awesome back arrow

This commit is contained in:
Kerby Martino (aider) committed 2025-05-01 11:46:40 +08:00
1 parent f18e1fcb23
commit 1895e8c41c
2 files changed
+7 -7

No files matched your search

+6 -6
View File
@@ -7,7 +7,7 @@
{% for comment in top_comments %} {% for comment in top_comments %}
<div class="px-0 text-sm border-l-2 border-gray-300 pl-2 mb-4"> <div class="px-0 text-sm border-l-2 border-gray-300 pl-2 mb-4">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Back"><i class="fas fa-arrow-left"></i></a>
<small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ comment.author }}</a></small> <small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ comment.author }}</a></small>
<small class="ml-2 text-xs text-primary">{{ comment.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small> <small class="ml-2 text-xs text-primary">{{ comment.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small>
</div> </div>
@@ -18,7 +18,7 @@
{% for reply1 in replies1 %} {% for reply1 in replies1 %}
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2"> <div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Back"><i class="fas fa-arrow-left"></i></a>
<small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply1.author }}</a></small> <small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply1.author }}</a></small>
<small class="ml-2 text-xs text-primary">{{ reply1.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small> <small class="ml-2 text-xs text-primary">{{ reply1.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small>
</div> </div>
@@ -35,7 +35,7 @@
{% for reply2 in replies2 %} {% for reply2 in replies2 %}
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2"> <div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Back"><i class="fas fa-arrow-left"></i></a>
<small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply2.author }}</a></small> <small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply2.author }}</a></small>
<small class="ml-2 text-xs text-primary">{{ reply2.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small> <small class="ml-2 text-xs text-primary">{{ reply2.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small>
</div> </div>
@@ -46,7 +46,7 @@
{% for reply3 in replies3 %} {% for reply3 in replies3 %}
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2"> <div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Back"><i class="fas fa-arrow-left"></i></a>
<small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply3.author }}</a></small> <small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply3.author }}</a></small>
<small class="ml-2 text-xs text-primary">{{ reply3.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small> <small class="ml-2 text-xs text-primary">{{ reply3.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small>
</div> </div>
@@ -57,7 +57,7 @@
{% for reply4 in replies4 %} {% for reply4 in replies4 %}
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2"> <div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Back"><i class="fas fa-arrow-left"></i></a>
<small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply4.author }}</a></small> <small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply4.author }}</a></small>
<small class="ml-2 text-xs text-primary">{{ reply4.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small> <small class="ml-2 text-xs text-primary">{{ reply4.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small>
</div> </div>
@@ -68,7 +68,7 @@
{% for reply5 in replies5 %} {% for reply5 in replies5 %}
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2"> <div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Back"><i class="fas fa-arrow-left"></i></a>
<small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply5.author }}</a></small> <small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ reply5.author }}</a></small>
<small class="ml-2 text-xs text-primary">{{ reply5.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small> <small class="ml-2 text-xs text-primary">{{ reply5.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small>
</div> </div>
+1 -1
View File
@@ -3,7 +3,7 @@ layout: default
--- ---
<article class="flex"> <article class="flex">
<div class="mr-2"> <div class="mr-2">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Back"><i class="fas fa-arrow-left"></i></a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>