/* FTA Landing — primitives */ function Icon({ name, size = 20, stroke = 2, color, style = {} }) { return ( ); } function Logo({ variant = "color", height = 34 }) { const src = variant === "white" ? "assets/logo-horizontal-white-web.png" : "assets/logo-horizontal-color-web.png"; return Fundación Transparencia Activa; } function Button({ children, variant = "primary", size = "md", icon, iconRight, onClick, type = "button", href, full, newTab }) { const cls = `btn btn-${variant} btn-${size}` + (full ? " btn-full" : ""); const inner = (<> {icon && } {children && {children}} {iconRight && } ); if (href) { const ext = newTab ? { target: "_blank", rel: "noopener noreferrer" } : {}; return {inner}; } return ; } function Badge({ children, tone = "neutral", dot }) { return {dot && }{children}; } function Eyebrow({ children, light }) { return
{children}
; } function Field({ label, type = "text", placeholder, value, onChange, hint, error, required, options, textarea }) { return (