'use client'; /** Исправлено: все className с шаблонными строками в виде className={\`...\`} */ interface Props { iconSize?: number; showText?: boolean; className?: string; variant?: 'light' | 'dark'; } const strokeColor = (v: 'light' | 'dark') => (v === 'light' ? 'white' : '#4CAF50'); export default function ReflyLogo({ iconSize = 40, showText = true, className = '', variant = 'light' }: Props) { const stroke = strokeColor(variant); const wrapperClass = `flex items-center gap-2 ${className}`; const circleFill = variant === 'light' ? 'rgba(255,255,255,0.2)' : 'rgba(76,175,80,0.15)'; const textClass = `text-xl font-bold tracking-wider whitespace-nowrap ${variant === 'light' ? 'text-white' : 'text-primary-600'}`; return (
{showText && REFLY}
); }