/* global React */ const { useState } = React; /* ---------- brand mark ---------- */ function MLBrand() { return ( Midorick Solutions — LATAM & CARIBBEAN ); } /* ---------- top nav ---------- */ function MLSiteNav({ current, esHref }) { const [open, setOpen] = useState(false); const links = [ { id: "home", label: "Home", href: "index.html" }, { id: "services", label: "Services", href: "services.html" }, { id: "tribe", label: "Meet the Team", href: "tribe.html" }, { id: "careers", label: "Careers", href: "careers.html" }, { id: "blog", label: "Blog", href: "blog.html" }, { id: "contact", label: "Contact", href: "contact.html" }, ]; const esMap = { home: "es.html", services: "servicios.html", tribe: "equipo.html", careers: "empleos.html", blog: "blog-es.html", contact: "contacto.html", faq: "faq-es.html", }; const esTarget = esHref || esMap[current] || "es.html"; return ( ); } /* ---------- footer ---------- */ function MLSiteFooter() { return ( ); } /* ---------- shared page hero (joyful) ---------- */ function MLPageHero({ eyebrow, emoji = "🌿", title, sub, kicker, tone = "mint", center = false }) { return (
{eyebrow && (
{emoji} {eyebrow}
)}

{title}

{sub &&

{sub}

} {kicker &&
{kicker}
}
); } /* ---------- placeholder image (named slot) ---------- */ function PH({ label, ratio = "16/9", tone = "default", corner, children, style }) { const cls = "ph " + (tone === "dark" ? "ph--dark" : tone === "amber" ? "ph--amber" : ""); return (
{corner && {corner}} {children} {label && {label}}
); } /* expose */ Object.assign(window, { MLSiteNav, MLSiteFooter, MLPageHero, MLBrand, PH });