// 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("sub")} {tr("cardBody")}
{tr("titleA")}
{tr("titleB")} {tr("titleC")}
{tr("cardHead")}
{tp("sub")}
{tpos("body")}
{e.preventDefault();navigate("programs");}} className="btn btn-light btn-lg"> {tpos("cta")}
{tg("sub")}
{t(lang, "digital.sub")}
{t(lang, "digital." + f.bodyK)}
{ts("sub")}
{tt("quote")}