// logo.jsx — The original child-drawing logo + lockups with the wordmark. // // The logo is the source of truth. We never re-draw it; we always use the // image asset directly (logo-solo.JPG — no embedded text, gives us freedom // to compose the wordmark cleanly). const LOGO_SRC = window.LOGO_PATH || 'uploads/logo-transparent.png'; // Bare logo, sized by prop. function Logo({ size = 200, dark = false }) { return ( Casa Lar Luz do Caminho ); } // ──────────────────────────────────────────────────────────────── // Vertical lockup — logo on top, wordmark below (centered) // Used as the primary mark on covers, posters, certificates, footer // ──────────────────────────────────────────────────────────────── function LockupVertical({ size = 220, dark = false, wordmarkScale }) { // wordmark visual width should match logo width roughly const ws = wordmarkScale ?? Math.max(0.7, size / 220); return (
); } // ──────────────────────────────────────────────────────────────── // Horizontal lockup — logo on left, wordmark left-aligned on the right // Used in headers, business cards, signatures // ──────────────────────────────────────────────────────────────── function LockupHorizontal({ size = 64, dark = false, wordmarkScale }) { const ws = wordmarkScale ?? Math.max(0.65, size / 88); return (
); } Object.assign(window, { Logo, LockupVertical, LockupHorizontal, LOGO_SRC });