feat: sync active mailbox pulse indicator with WebSocket connection status

This commit is contained in:
idevakk
2026-03-06 02:50:07 +05:30
parent e6fd4e6f4c
commit c35206664d
3 changed files with 17 additions and 2 deletions

View File

@@ -124,7 +124,8 @@
<div class="absolute top-0 right-0 w-24 h-24 bg-pink-500/5 rounded-full blur-2xl -z-10"></div>
<div class="flex items-center justify-between mb-3">
<div class="flex items-center gap-2">
<div class="w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse"></div>
<div class="w-1.5 h-1.5 rounded-full animate-pulse transition-colors duration-500"
:class="wsConnected ? 'bg-emerald-500' : 'bg-rose-500'"></div>
<span class="text-[10px] font-bold text-zinc-500 uppercase tracking-widest">Active Mailbox</span>
</div>
<div class="flex items-center gap-2">