/* global React */
const { useState } = React;
/* ---------- brand mark ---------- */
function MLBrand() {
return (
{sub}
— 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 (
{title}
{sub &&