diff --git a/components/guide-body/index.js b/components/guide-body/index.js index e22de34e2..75d9bcb7e 100644 --- a/components/guide-body/index.js +++ b/components/guide-body/index.js @@ -8,11 +8,13 @@ const GuideBody = ({ guide }) => { - + { + guide.author && + } ); diff --git a/components/roadmap-body/index.js b/components/roadmap-body/index.js index 25be6723c..62103d9d9 100644 --- a/components/roadmap-body/index.js +++ b/components/roadmap-body/index.js @@ -1,29 +1,24 @@ -import { Summary, SummaryContainer } from './style'; +import { Summary, SummaryContainer, UpcomingContainer } from './style'; import SharePage from 'components/share-page'; -import MdRenderer from 'components/md-renderer'; - -const UpcomingGuide = require(`../../storage/guides/upcoming.md`).default; +import GuideBody from 'components/guide-body'; const RoadmapBody = ({ roadmap }) => { + if (roadmap.upcoming) { + return ( + + + + ); + } + return ( { - roadmap.upcoming && ( -
- - - -
- ) - } - { - !roadmap.upcoming && (

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut beatae blanditiis commodi, consequatur, dicta distinctio esse et id, ipsa labore libero nisi odit placeat possimus saepe sed vel vitae voluptate?

- ) }
diff --git a/components/roadmap-body/style.js b/components/roadmap-body/style.js index 557a46888..3031dffb6 100644 --- a/components/roadmap-body/style.js +++ b/components/roadmap-body/style.js @@ -2,6 +2,15 @@ import styled from 'styled-components'; export const SummaryContainer = styled.div``; +export const UpcomingContainer = styled.div` + text-align: center; + padding: 40px 0 50px; + + .container { + position: relative; + } +`; + export const Summary = styled.div` text-align: center; padding: 40px 0 50px;