/* global React */ // Taína Borges mark — three balls: T (yellow), B (brown), camera (dark/light). // Small reusable React component. `size` sets the ball diameter in px. // `variant`: "light" (on light bg = dark camera ball) | "dark" (on dark bg = light camera ball) // `wordmark`: if true, place "TAÍNA BORGES" wordmark on the left. function TBMark({ size = 26, variant = 'light', wordmark = false, gap = 4 }) { const isLight = variant === 'light'; const ink = isLight ? '#161513' : '#F4EFE5'; const yellow = '#DEA61F'; const brown = '#7E4834'; const cameraBg = isLight ? '#161513' : '#F4EFE5'; const cameraFg = isLight ? '#F4EFE5' : '#161513'; // Ball SVG factory (we draw text/icons inside) const ballStyle = (bg) => ({ width: size, height: size, borderRadius: '50%', background: bg, display: 'inline-flex', alignItems: 'center', justifyContent: 'center', flexShrink: 0, }); const letterSize = Math.round(size * 0.66); const camSize = Math.round(size * 0.5); return ( {wordmark && ( tainá borges . )} T B {/* tiny camera icon, inline SVG so it scales perfectly */} ); } window.TBMark = TBMark;