// screen-shell.jsx // Shared chrome for the 6-screen narrative redesign: // - : section wrapper with background painting, header // (number + title + subtitle + optional CTA), and // a "next screen" hint at the bottom. // - : the small mac-style window header used inside // each screen to frame the product mock. // - : the actual frame holding the mock content. function ScreenCTA({ copy }) { return (
{copy.screens.hero.ctaPrimary}
); } function ScreenShell({ id, num, label, title, sub, withCTA, copy, children, nextLabel, nextHref, divider }) { return (
); } function BrowserChrome({ title, right }) { return (
{title &&
{title}
}
{right || ( )}
); } function ScreenWindow({ chrome, className = "", children }) { return (
{chrome}
{children}
); } Object.assign(window, { ScreenShell, ScreenCTA, BrowserChrome, ScreenWindow });