mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
make default cover cleaner
This commit is contained in:
@@ -14,7 +14,7 @@ import InfoPopUp from './InfoPopup.jsx'
|
||||
import Timeline from './Timeline.jsx'
|
||||
import Notification from './Notification.jsx'
|
||||
import StaticPage from './StaticPage'
|
||||
import TemplateCover from './presentational/covers/TemplateCover'
|
||||
import TemplateCover from './TemplateCover'
|
||||
|
||||
import { parseDate } from '../common/utilities'
|
||||
import { isMobile } from 'react-device-detect'
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
import React from 'react'
|
||||
|
||||
export default ({ showAppHandler }) => (
|
||||
<div className='default-cover-container'>
|
||||
<h3>Here's an example cover.</h3>
|
||||
<p>Replace it with a more descriptive one:</p>
|
||||
<ul>
|
||||
<li>Create a new component in <code>components/presentational/covers</code>.</li>
|
||||
<li>Import in in <code>components/Dashboard.jsx</code> in the <code>render</code> function.</li>
|
||||
</ul>
|
||||
<br /><br />
|
||||
<div>
|
||||
<button onClick={showAppHandler}>Go to app</button>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
@@ -17,3 +17,5 @@
|
||||
@import 'scene';
|
||||
@import 'mediaplayer';
|
||||
@import 'cover';
|
||||
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@ $header-inset: 10px;
|
||||
|
||||
$banner-height: 100px;
|
||||
|
||||
a {
|
||||
color: $yellow !important;
|
||||
}
|
||||
|
||||
.mo-overlay {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -89,7 +89,7 @@ const initial = {
|
||||
cover: {
|
||||
title: 'project title',
|
||||
subtitle: 'project subtitle',
|
||||
description: 'A description of the project goes here.\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nThis description may contain markdown.\n\n#### markdown\n\n### markdown\n\n## markdown'
|
||||
description: 'A description of the project goes here.\n\nThis description may contain markdown.\n\n# This is a large title, for example.\n\n## Whereas this is a slightly smaller title.\n\nCheck out docs/custom-covers.md in the [Timemap GitHub repo](https://github.com/forensic-architecture/timemap) for more information around how to specify custom covers.'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user