claude-code

This commit is contained in:
ashutoshpythoncs@gmail.com
2026-03-31 18:58:05 +05:30
parent a2a44a5841
commit b564857c0b
2148 changed files with 564518 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
"use client";
import { cn } from "@/lib/utils";
interface NotificationBadgeProps {
count: number;
className?: string;
}
export function NotificationBadge({ count, className }: NotificationBadgeProps) {
if (count <= 0) return null;
return (
<span
className={cn(
"absolute -top-1 -right-1 flex items-center justify-center",
"min-w-[16px] h-4 px-1 rounded-full",
"bg-brand-500 text-white text-[10px] font-bold leading-none",
className
)}
>
{count > 99 ? "99+" : count}
</span>
);
}