Add example cover

This commit is contained in:
Lachlan Kermode
2019-02-07 12:21:23 +00:00
parent ed9af1cbf6
commit 4e96d92616
5 changed files with 29 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ import InfoPopUp from './InfoPopup.jsx'
import Timeline from './Timeline.jsx'
import Notification from './Notification.jsx'
import StaticPage from './StaticPage'
import DefaultCover from './presentational/covers/Default'
import { parseDate } from '../js/utilities'
@@ -160,8 +161,9 @@ class Dashboard extends React.Component {
) : null}
{process.env.features.USE_COVER && (
<StaticPage showing={app.flags.isCover}>
{/* enable USE_COVER in config.js features, and put content here if you want a header */}
{/* enable USE_COVER in config.js features, and customise your header */}
{/* pass 'actions.toggleCover' as a prop to your custom header */}
<DefaultCover showAppHandler={actions.toggleCover} />
</StaticPage>
)}
<LoadingOverlay