// ATOM Center โ€” Page: Home const HomePage = ({ lang, navigate }) => { const [audience, setAudience] = useState("entreprise"); const tr = (k) => t(lang, "hero." + k); const tp = (k) => t(lang, "pillars." + k); const tg = (k) => t(lang, "programs." + k); const ts = (k) => t(lang, "stats." + k); const tt = (k) => t(lang, "testi." + k); const tpos = (k) => t(lang, "poster." + k); const pillars = [ { icon: "badge-check", title: tp("c1Title"), body: tp("c1Body") }, { icon: "graduation-cap", title: tp("c2Title"), body: tp("c2Body") }, { icon: "users-round", title: tp("c3Title"), body: tp("c3Body") }, { icon: "award", title: tp("c4Title"), body: tp("c4Body") }]; const programs = [ { badge: tg("p1Badge"), title: tg("p1Title"), vendor: tg("p1Vendor"), items: tg("p1Items"), blue: true }, { badge: tg("p2Badge"), title: tg("p2Title"), vendor: tg("p2Vendor"), items: tg("p2Items"), blue: false }, { badge: tg("p3Badge"), title: tg("p3Title"), vendor: tg("p3Vendor"), items: tg("p3Items"), blue: false }]; const stats = [ { num: ts("s1Num"), label: ts("s1Label") }, { num: ts("s2Num"), label: ts("s2Label") }, { num: ts("s3Num"), label: ts("s3Label") }, { num: ts("s4Num"), label: ts("s4Label") }]; return ( <> {/* HERO */}
{tr("eyebrow")}

{tr("titleA")}
{tr("titleB")} {tr("titleC")}

{tr("sub")}

{e.preventDefault();navigate("contact");}} className="btn btn-primary btn-lg"> {audience === "entreprise" ? tr("ctaPrimary") : tr("ctaPrimaryInd")} {e.preventDefault();navigate(audience === "entreprise" ? "enterprise" : "programs");}} className="btn btn-ghost btn-lg"> {audience === "entreprise" ? tr("ctaSecondary") : tr("ctaSecondaryInd")}
{tr("meta1Num")}
{tr("meta1Label")}
{tr("meta2Num")}
{tr("meta2Label")}
{tr("meta3Num")}
{tr("meta3Label")}
{tr("cardTitle")}

{tr("cardHead")}

{tr("cardBody")}

"
{/* PARTNERS STRIP */}
{t(lang, "partners.label")}
{t(lang, "partners.list").map((p, i) => (
{p.name} ยท {p.desc}
))}
{/* PILLARS */}
{tp("eyebrow")}

{tp("title")}
{tp("titleAccent")}

{tp("sub")}

{pillars.map((p, i) =>

{p.title}

{p.body}

{e.preventDefault();navigate("about");}} className="card-link"> {tp("cardLink")}
)}
{/* POSTER FEATURE โ€” using existing TOSA poster */}
{tpos("eyebrow")}

{tpos("title")}

{tpos("body")}

{e.preventDefault();navigate("programs");}} className="btn btn-light btn-lg"> {tpos("cta")}
Focus TOSA
{/* PROGRAMS PREVIEW */}
{tg("eyebrow")}

{tg("title")}

{tg("sub")}

{programs.map((p, i) =>
{p.badge}

{p.title}

{p.vendor}
    {p.items.map((it, j) =>
  • {it}
  • )}
{tg("duration")} {tg("format")}
{e.preventDefault();navigate("programs");}} style={{ color: "var(--center-blue)", fontWeight: 600 }}>
)}
{e.preventDefault();navigate("programs");}} className="btn btn-dark btn-lg"> {tg("cta")}
{/* DIGITAL / LMS โ€” third pillar */}
{t(lang, "digital.eyebrow")}

{t(lang, "digital.title")}
{t(lang, "digital.titleAccent")}

{t(lang, "digital.sub")}

{t(lang, "digital.stat1Num")}
{t(lang, "digital.stat1Label")}
{t(lang, "digital.stat2Num")}
{t(lang, "digital.stat2Label")}
{t(lang, "digital.stat3Num")}
{t(lang, "digital.stat3Label")}
{ e.preventDefault(); navigate("enterprise"); }} className="btn btn-primary btn-lg" style={{ marginTop: 32 }}> {t(lang, "digital.cta")}
{[ { icon: "monitor", titleK: "f1Title", bodyK: "f1Body" }, { icon: "library", titleK: "f2Title", bodyK: "f2Body" }, { icon: "users-round", titleK: "f3Title", bodyK: "f3Body" }, { icon: "settings", titleK: "f4Title", bodyK: "f4Body" }, ].map((f, i) => (

{t(lang, "digital." + f.titleK)}

{t(lang, "digital." + f.bodyK)}

))}
{/* STATS */}

{ts("title")}

{ts("sub")}

{stats.map((s, i) =>
{s.num}
{s.label}
)}
{/* TESTIMONIAL */}
{tt("eyebrow")}
"
{tt("quote")}
DR
{tt("author")}
{tt("role")}
); }; window.HomePage = HomePage;