Diffstat (limited to 'views/partials/blog-page-like-button.html')
| -rw-r--r-- | views/partials/blog-page-like-button.html | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/views/partials/blog-page-like-button.html b/views/partials/blog-page-like-button.html deleted file mode 100644 index f23ef9d..0000000 --- a/views/partials/blog-page-like-button.html +++ /dev/null @@ -1,6 +0,0 @@ -<button - hx-put="/api/v1/like" hx-vals='{"like": {{ not .Liked }}}' hx-target="this" hx-swap="outerHTML" hx-trigger="click" - class="text-sm/[0.9] shrink-0 font-spectral text-left px-1 py-0.5 {{ if .Liked }}bg-main-light hover:bg-main-medium text-background-dark border-inset{{ else }}bg-main-dark hover:bg-main-medium text-background-light border-outset{{ end }} cursor-pointer border-2 border-background-dark"> - <i class="fas fa-thumbs-up w-3 h-3"></i> - <span class="italic ml-0.5 text-background-light">({{ .LikedCount }})</span> -</button>
\ No newline at end of file |