import { buildInitials, getCategoryBgColorFromName, getCategoryColorFromName, } from "@/shared/utils/category-colors"; import { cn } from "@/shared/utils/ui"; interface EstablishmentLogoProps { name: string; size?: number; className?: string; } export function EstablishmentLogo({ name, size = 32, className, }: EstablishmentLogoProps) { const initials = buildInitials(name); const color = getCategoryColorFromName(name); const bgColor = getCategoryBgColorFromName(name); return (