/* ===================================================================== ed-sections.jsx — vistas: Hub, Páginas Web, explicador de Plataforma, Contenido, LinkedIn, SEO, Email. Reciben { go } para navegar. ===================================================================== */ /* ---- HUB ---- */ function Hub() { const ED = window.ED; return (
{/* Hero */}
{/* Grilla de 5 categorías */}
{ED.categories.map((c, i) => )}
); } function CategoryCard({ cat }) { const [hover, setHover] = useS(false); return ( setHover(true)} onMouseLeave={() => setHover(false)} style={{ display: "flex", flexDirection: "column", background: "var(--surface)", borderRadius: "var(--r-lg)", padding: "26px 24px", border: "1.5px solid " + (hover ? "var(--navy-300)" : "var(--border)"), boxShadow: hover ? "var(--shadow-md)" : "var(--shadow-sm)", transition: "all 200ms var(--ease-out)" }}>

{cat.title}

{cat.desc}

{cat.sub.map(s => {s})}
Explorar
); } /* ---- PÁGINAS WEB (3 sub-tarjetas) ---- */ function PaginasWeb() { const ED = window.ED; return (
Páginas Web

Sitios que trabajan para vender, no para decorar.

Elige el tipo de página según lo que tu negocio necesita lograr.

{ED.webTypes.map(w => )}
); } function WebTypeCard({ w }) { const platforms = w.platforms.map(k => window.ED.platforms[k]); return (

{w.title}

{w.dolor}
Ideal para
{w.idealPara.map(p => {p})}
Qué es y ver video
Plataformas
{platforms.map((p, i) => ( {p.label} ))}
{w.cta}
); } /* ---- EXPLICADOR DE TIPO DE PÁGINA (Landing / Ventas / Embudo) + VSL ---- */ function TipoView({ tkey }) { const w = (window.ED.webTypes || []).find(x => x.key === tkey); if (!w) return ; const platforms = w.platforms.map(k => window.ED.platforms[k]); return (
Páginas Web

¿Qué es una {w.title.toLowerCase()}?

{w.quees}

{/* VSL */}
{w.dolor} {/* Ideal para + plataformas */}
Ideal para
Plataformas
{platforms.map((p, i) => ( {p.label} ))}
{/* CTA */}

¿Listo para tu {w.title.toLowerCase()}?

Recibe un estimado en menos de un minuto.

{w.cta}
); } /* ---- EXPLICADOR DE PLATAFORMA ---- */ function PlatformView({ pkey }) { const p = window.ED.platforms[pkey]; if (!p) return ; const groupLabel = { landing: "Landing Page", ventas: "Página de Ventas", embudo: "Embudo de Ventas" }[p.group]; return (
{p.accent}

{p.painTitle || p.headline}

{p.painTitle &&

{p.headline}

} {p.dolor}
{/* En palabras simples (para todos los públicos) */} {p.simple && (
En palabras simples

{p.simple}

{p.analogia &&

{p.analogia}

}
)} {/* Beneficios */}
Beneficios
{p.benefits.map((b, i) => (

{b.h}

{b.p}

))}
{/* Comparativa + cuándo sí / no */}
Comparativa rápida

{p.comparativa}

Cuándo SÍ usarla
Cuándo NO
    {p.cuandoNo.map((it, i) =>
  • {it}
  • )}
{/* CTA */}

¿Listo para tu {groupLabel.toLowerCase()} en {p.label}?

Recibe un estimado en menos de un minuto.

Cotizar con {p.label}
); } /* ---- CONTENIDO ---- */ function Contenido() { const s = window.ED.services.contenido; return (
Creación de Contenido

Video que vende, sin productora costosa.

{s.sub.map(sub => (

{sub.title}

{sub.dolor}
Qué incluye
{sub.paquetes.length > 0 && (
Paquetes
{sub.paquetes.map(pq => )}
)}
window.__edCal(sub.title)}>{sub.cta}
))}
); } /* ---- LINKEDIN ---- */ function LinkedInView() { const s = window.ED.services.linkedin; return {s.resultados.map(r => {r})}} />; } /* ---- SEO ---- */ function SeoView() { const s = window.ED.services.seo; return Plazos reales: {s.plazos}} />; } /* ---- EMAIL ---- */ function EmailView() { const s = window.ED.services.email; return Herramientas:{s.herramientas.map(h => {h})}} />; } /* ---- Plantilla compartida para servicios (LinkedIn / SEO / Email) ---- */ function ServicePage({ s, eyebrow, title, extra }) { const items = s.ofrecemos || s.incluye; const offeredLabel = s.ofrecemos ? "Qué ofrecemos" : "Qué incluye"; return (
{eyebrow}

{title}

{s.dolor} {extra}
{offeredLabel}
{items.map((it, i) => (

{it.h}

{it.p}

))}
{/* Paquetes */}
Paquetes
{s.paquetes.map(pq => )}
window.__edCal(s.title)}>{s.cta}
); } /* ---- 404 ---- */ function NotFound() { return (

Esta página no existe

Vuelve al inicio para explorar el ecosistema.

Ir al inicio
); } Object.assign(window, { Hub, PaginasWeb, TipoView, PlatformView, Contenido, LinkedInView, SeoView, EmailView, NotFound });