"use client"; import * as React from "react"; import { cn } from "./lib/utils"; export interface LiveBadgeProps { viewers?: number; variant?: "badge" | "full"; className?: string; } export function LiveBadge({ viewers, variant = "badge", className, ...props }: LiveBadgeProps) { // Embedded keyframe for blinking LIVE dot const blinkKeyframes = { "liveBadgeBlink": ` @keyframes liveBadgeBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } } ` }; const motionReduceClass = "motion-reduce:animate-none motion-reduce:transition-none"; return (
{/* Blinking LIVE dot */}
); }