import { Activity, BarChart3, WalletCards } from 'lucide-react' import { useTranslation } from 'react-i18next' import { formatCompactNumber, formatQuota } from '@/lib/format' import { getRoleLabel } from '@/lib/roles' import { Avatar, AvatarFallback } from '@/components/ui/avatar' import { Skeleton } from '@/components/ui/skeleton' import { StatusBadge } from '@/components/status-badge' import { getUserInitials, getDisplayName } from '../lib' import type { UserProfile } from '../types' // ============================================================================ // Profile Header Component // ============================================================================ interface ProfileHeaderProps { profile: UserProfile | null loading: boolean } export function ProfileHeader({ profile, loading }: ProfileHeaderProps) { const { t } = useTranslation() if (loading) { return (