/* global React */
// Shared page chrome — loaded after Hero.jsx so Promptive.Header is available.
const { Header: _Header, Footer: _Footer } = window.Promptive;

function PageShell({ active, children }) {
  return (
    <React.Fragment>
      <_Header active={active}/>
      {children}
      <_Footer/>
    </React.Fragment>
  );
}

window.Promptive = Object.assign(window.Promptive || {}, { PageShell });
