Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

514 B
Raw Blame
import { Badge } from "@/components/ui/badge";
import { cn } from "@/lib/utils";
import { BADGE_COLORS, BadgeColor } from "@/lib/badge-colors";

interface StatusBadgeProps {
  label: string;
  color: BadgeColor;
  className?: string;
}

// Reusable colored badge; color values are centralized in @/lib/badge-colors
export function StatusBadge({ label, color, className }: StatusBadgeProps) {
  return (
    <Badge variant="outline" className={cn(BADGE_COLORS[color], className)}>
      {label}
    </Badge>
  );
}