// Icon wrapper
function Icon({ name, className = "", fill = false, size }) {
const style = size ? { fontSize: size } : undefined;
return (
{name}
);
}
// MeuCraque logo — original mark:
// - Obsidian tile (violet corners, dark fill) matching app aesthetic
// - Geometric "M" monogram formed by two angular peaks (stadium stands silhouette)
// - Orbital ring + pentagon facet echoing a soccer ball
// - Striking dot at the apex (the goal)
function LogoMark({ size = 40, variant = "default" }) {
const accent = variant === "tertiary" ? "#34d399" : "#a78bfa";
const accentDim = variant === "tertiary" ? "#6ee7b7" : "#c4b5fd";
const uid = React.useId ? React.useId() : Math.random().toString(36).slice(2);
if (variant === "flat") {
return (
);
}
return (
);
}
window.Icon = Icon;
window.LogoMark = LogoMark;
// Back-compat — existing files import `Logomark`
window.Logomark = LogoMark;