/* global React */ const { useState } = React; /* ---------- brand mark ---------- */ function MLBrandES() { return ( Midorick Solutions — LATAM Y EL CARIBE ); } /* ---------- top nav (Spanish) ---------- */ function MLSiteNavES({ current, enHref }) { const links = [ { id: "home", label: "Inicio", href: "es.html" }, { id: "services", label: "Servicios", href: "servicios.html" }, { id: "tribe", label: "Conoce al Equipo", href: "equipo.html" }, { id: "careers", label: "Empleos", href: "empleos.html" }, { id: "blog", label: "Blog", href: "blog-es.html" }, { id: "contact", label: "Contacto", href: "contacto.html" }, ]; const enMap = { home: "index.html", services: "services.html", tribe: "tribe.html", careers: "careers.html", blog: "blog.html", contact: "contact.html", faq: "faq.html", }; const enTarget = enHref || enMap[current] || "index.html"; return ( ); } /* ---------- footer (Spanish) ---------- */ function MLSiteFooterES() { return ( ); } /* expose */ /* ---------- page hero (shared, language-agnostic) ---------- */ function MLPageHero({ eyebrow, emoji = "\ud83c\udf3f", 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}}
); } Object.assign(window, { MLSiteNavES, MLSiteFooterES, MLBrandES, MLPageHero, PH });