window.Landing = function Landing({ navigate, density }) {
// Live stats from central; copy + structure from env.js so the user can
// edit headlines, features, and how-it-works in one place without touching
// React.
const health = window.api.useHealth();
const L = (window.__ENV && window.__ENV.LANDING) || {};
const features = L.features || [];
const steps = L.how_steps || [];
return (
{L.eyebrow && (
{L.eyebrow}
)}
{L.headline_top}
{L.headline_bottom}
{L.sub}
{window.api.fmtNumber(health.entities)}
Entities ยท financial
{window.api.fmtNumber(health.relationships)}
Relationships
{window.api.fmtNumber(health.facts)}
Facts indexed
{features.length > 0 && (
{L.features_eyebrow &&
{L.features_eyebrow}
}
{L.features_h}
{L.features_lede &&
{L.features_lede}
}
{features.map((f, i) => (
))}
)}
{steps.length > 0 && (
{L.how_eyebrow &&
{L.how_eyebrow}
}
{L.how_h}
{steps.map((s, i) => (
))}
)}
{L.cta_eyebrow &&
{L.cta_eyebrow}
}
{L.cta_h}
{L.cta_lede &&
{L.cta_lede}
}
);
};