Show longest streak badge

cgen-14b91517da6248fa871034acb7bc70ba
This commit is contained in:
Builder.io 2025-10-04 10:40:51 +00:00
parent f0088edf4c
commit 198f3f8369

View file

@ -644,6 +644,16 @@ export default function Dashboard() {
<p className="text-muted-foreground">
{profile?.role || "Member"} Level {profile?.level || 1} {streakLabel} 🔥
</p>
{longestStreak > 0 && (
<div className="mt-3 flex flex-wrap gap-2">
<Badge
variant="outline"
className="border-aethex-400/40 text-aethex-200"
>
Longest streak: {longestStreak}d
</Badge>
</div>
)}
</div>
<div className="flex items-center space-x-4">
<div className="text-sm text-muted-foreground">