diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-27 14:18:34 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-09-27 14:18:34 +0800 |
| commit | a6b8fe66a76f71757c71669db6337a007b2eab5d (patch) | |
| tree | 46c640b8f54c50a2b25fd9d9730babf57b41a56e /layouts/_partials/posts/action-menu/comment-button.html | |
| parent | 17ebcdac3c4f8d89dabd8b0cb6698f8c5aa0caa8 (diff) | |
refactor: separate action menu into modules
Diffstat (limited to 'layouts/_partials/posts/action-menu/comment-button.html')
| -rw-r--r-- | layouts/_partials/posts/action-menu/comment-button.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/_partials/posts/action-menu/comment-button.html b/layouts/_partials/posts/action-menu/comment-button.html new file mode 100644 index 00000000..bc079a4f --- /dev/null +++ b/layouts/_partials/posts/action-menu/comment-button.html @@ -0,0 +1,7 @@ +<button class="dark:invert flex items-center justify-center gap-1.5 min-w-12 h-12 px-2 border-none bg-transparent text-gray-600 cursor-pointer relative transition-all duration-200 hover:bg-black/5 hover:rounded-lg group" + id="comments-toggle" title="{{ T "actionMenu.comment" }}" data-tooltip> + <img src="/img/comments.svg" width="20" height="20" + alt="{{ T "actionMenu.comment" }}" + class="brightness-40 flex-shrink-0 dark:brightness-70 dark:contrast-120" /> + <span class="text-xs font-bold text-gray-600 min-w-4 text-center bg-white/90 rounded-xl px-1.5 py-0.5 shadow-sm dark:text-gray-400 dark:bg-black/70" id="comment-count">...</span> +</button> |
