From bcf964f0851cc2d7582085efda200b58e8c5704d Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Sun, 3 May 2026 16:39:33 +0700 Subject: feat: overhaul like button --- views/partials/blog-page-like-button.html | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'views') diff --git a/views/partials/blog-page-like-button.html b/views/partials/blog-page-like-button.html index d8238f4..54b2914 100644 --- a/views/partials/blog-page-like-button.html +++ b/views/partials/blog-page-like-button.html @@ -1,5 +1,28 @@ \ No newline at end of file + class="accent-button rounded-xl flex flex-row shrink-0 w-fit h-full mx-2 my-auto{{ if .Liked }} active{{ end }}"> + {{ if .Liked }} + + + Like Hand 1 Streamline Icon: https://streamlinehq.com + + + + + + + + +
{{ .LikedCount }}
+ {{ else }} + + + Like Hand Streamline Icon: https://streamlinehq.com + + + + + + +
{{ .LikedCount }}
+ {{ end }} + -- cgit v1.3.1+13