// Primitives.jsx — shared building blocks for the Growth Mind website const { useState, useEffect } = React; function Kicker({ children, center, onDark }) { return {children}; } function Btn({ children, variant = "primary", size, href = "#", onDark, icon, onClick, type }) { const cls = ["btn", "btn-" + variant, size === "sm" && "btn-sm", onDark && "btn-on-dark"] .filter(Boolean).join(" "); if (type === "submit") { return ( ); } return ( {icon && } {children} ); } function Tag({ children, variant }) { return {children}; } function LogoMark({ size = 34, reversed }) { return ( Growth Mind ); } function Wordmark({ height = 30, light }) { return ( Growth
Mind
); } Object.assign(window, { Kicker, Btn, Tag, LogoMark, Wordmark });