// Inboxli — section components (bilingual: copy comes from i18n.js) const { useState: useStateS } = React; // ============ LANGUAGE SWITCH ============ function FlagEN() { return ( ); } function FlagSR() { return ( ); } function LangSwitch({ compact }) { const lang = useLang(); const copy = INBOXLI_COPY[lang]; return (
); } // ============ NAV ============ function Nav() { const [open, setOpen] = useStateS(false); const c = useCopy().nav; return ( ); } // ============ HERO ============ function Hero({ headline, sub, primaryCta, secondaryCta }) { const c = useCopy().hero; return (
{c.kicker}

{headline.before} {headline.marker && <>{headline.marker}{" "}} {headline.italic && <>{headline.italic}{" "}} {headline.after}

{sub}

{secondaryCta} {c.meta}
); } function HeroCollage() { const c = useCopy().hero.collage; return (