From 451b76481d9bed913b2beb6e4a568ff175f0eac3 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Thu, 15 Aug 2019 12:42:14 +0100 Subject: [PATCH] make default cover cleaner --- src/components/Layout.js | 2 +- src/components/presentational/covers/Default.js | 16 ---------------- src/scss/main.scss | 2 ++ src/scss/overlay.scss | 4 ++++ src/store/initial.js | 2 +- 5 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 src/components/presentational/covers/Default.js diff --git a/src/components/Layout.js b/src/components/Layout.js index 365859e..416688e 100644 --- a/src/components/Layout.js +++ b/src/components/Layout.js @@ -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' diff --git a/src/components/presentational/covers/Default.js b/src/components/presentational/covers/Default.js deleted file mode 100644 index e8b042d..0000000 --- a/src/components/presentational/covers/Default.js +++ /dev/null @@ -1,16 +0,0 @@ -import React from 'react' - -export default ({ showAppHandler }) => ( -
-

Here's an example cover.

-

Replace it with a more descriptive one:

- -

-
- -
-
-) diff --git a/src/scss/main.scss b/src/scss/main.scss index 1c10ad5..84af6c6 100644 --- a/src/scss/main.scss +++ b/src/scss/main.scss @@ -17,3 +17,5 @@ @import 'scene'; @import 'mediaplayer'; @import 'cover'; + + diff --git a/src/scss/overlay.scss b/src/scss/overlay.scss index 3fcd259..0e07dfe 100644 --- a/src/scss/overlay.scss +++ b/src/scss/overlay.scss @@ -8,6 +8,10 @@ $header-inset: 10px; $banner-height: 100px; +a { + color: $yellow !important; +} + .mo-overlay { display: flex; flex-direction: column; diff --git a/src/store/initial.js b/src/store/initial.js index 14b300b..10b5790 100644 --- a/src/store/initial.js +++ b/src/store/initial.js @@ -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.' } },