/* global React, ReactDOM, COPY */ const { useState, useEffect } = React; const INNER_LINKS = { es: [ { href: "/", idx: "01", label: "Inicio" }, { href: "/nosotros.html", idx: "02", label: "Nosotros" }, { href: "/soluciones.html", idx: "03", label: "Soluciones" }, { href: "/desarrollos.html", idx: "04", label: "Desarrollos" }, { href: "/contacto.html", idx: "05", label: "Contacto" }, ], en: [ { href: "/", idx: "01", label: "Home" }, { href: "/nosotros.html", idx: "02", label: "About" }, { href: "/soluciones.html", idx: "03", label: "Solutions" }, { href: "/desarrollos.html", idx: "04", label: "Lab" }, { href: "/contacto.html", idx: "05", label: "Contact" }, ], }; function SolucionesHero({ p }) { return (
{p.tag}

{p.title1}
{p.title2}

{p.desc}

); } function Capabilities({ p }) { const icons = [ (), (), (), ]; return (
{p.tag}

{p.title}

{p.desc}

{p.items.map((item, i) => (
{item.tag} {item.num}
{icons[i]}
{item.title}

{item.body}

    {item.list.map((li, j) =>
  • {li}
  • )}
))}
); } function UseCases({ p }) { return (
{p.tag}

{p.title}

{p.desc}

{p.items.map((item, i) => (
{item.area}
{item.title}

{item.body}

))}
); } function Statement({ p }) { return (

{p.title}

{p.body}

); } function SolucionesCta({ p }) { return (
{p.tag}

{p.pre}
{p.accent}

{p.body}

{p.btn}

{p.note}

); } function SolucionesApp() { const [lang, setLang] = useState("es"); const [direction, setDirection] = useState("a"); useEffect(() => { document.documentElement.setAttribute("data-lang", lang); }, [lang]); useEffect(() => { document.documentElement.setAttribute("data-direction", direction); }, [direction]); useEffect(() => { if (typeof initChat === "function") initChat(); }, []); useReveal(); const t = COPY[lang]; const p = t.soluciones; return ( <>