parent
0fa1a6642c
commit
8f6ead0add
5 changed files with 82 additions and 27 deletions
@ -0,0 +1,24 @@ |
|||||||
|
import { |
||||||
|
SummaryContainer, |
||||||
|
Title, |
||||||
|
Description, |
||||||
|
Image, |
||||||
|
Header, |
||||||
|
Summary, |
||||||
|
} from './style'; |
||||||
|
|
||||||
|
const RoadmapSummary = ({ roadmap }) => ( |
||||||
|
<SummaryContainer> |
||||||
|
<Header> |
||||||
|
<Title>{ roadmap.title }</Title> |
||||||
|
<Description>{ roadmap.description }</Description> |
||||||
|
</Header> |
||||||
|
<Summary className="border-top border-bottom"> |
||||||
|
<div className="container"> |
||||||
|
<Image src={ roadmap.picture } /> |
||||||
|
</div> |
||||||
|
</Summary> |
||||||
|
</SummaryContainer> |
||||||
|
); |
||||||
|
|
||||||
|
export default RoadmapSummary; |
@ -0,0 +1,26 @@ |
|||||||
|
import styled from 'styled-components'; |
||||||
|
|
||||||
|
export const SummaryContainer = styled.div``; |
||||||
|
|
||||||
|
export const Header = styled.div` |
||||||
|
text-align: center; |
||||||
|
padding: 55px 0 45px; |
||||||
|
`;
|
||||||
|
|
||||||
|
export const Summary = styled.div` |
||||||
|
text-align: center; |
||||||
|
padding: 50px 0; |
||||||
|
`;
|
||||||
|
|
||||||
|
export const Title = styled.h1` |
||||||
|
font-weight: 700; |
||||||
|
margin-bottom: 12px; |
||||||
|
font-size: 42px; |
||||||
|
`;
|
||||||
|
export const Description = styled.p` |
||||||
|
font-size: 19px; |
||||||
|
margin-bottom: 0; |
||||||
|
`;
|
||||||
|
export const Image = styled.img` |
||||||
|
width: 100%; |
||||||
|
`;
|
@ -1,20 +1,26 @@ |
|||||||
[ |
[ |
||||||
{ |
{ |
||||||
"title": "Frontend Developer", |
"title": "Frontend Developer", |
||||||
"description": "Roadmap to becoming a frontend developer", |
"description": "Step by step guide to becoming a modern frontend developer", |
||||||
|
"featuredDescription": "Step by step guide to becoming a modern frontend developer in 2019", |
||||||
"slug": "/frontend", |
"slug": "/frontend", |
||||||
"picture": "/static/roadmaps/frontend.png" |
"picture": "/static/roadmaps/frontend.png", |
||||||
|
"featured": true |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
"title": "Backend Developer", |
"title": "Backend Developer", |
||||||
"description": "Roadmap to becoming a backend developer", |
"description": "Roadmap to becoming a backend developer", |
||||||
|
"featuredDescription": "Step by step guide to becoming a modern backend developer in 2019", |
||||||
"slug": "/backend", |
"slug": "/backend", |
||||||
"picture": "/static/roadmaps/backend.png" |
"picture": "/static/roadmaps/backend.png", |
||||||
|
"featured": true |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
"title": "DevOps", |
"title": "DevOps Roadmap", |
||||||
"description": "Roadmap for DevOps or any other Operations Role", |
"description": "Roadmap for DevOps or any other Operations Role", |
||||||
|
"featuredDescription": "Step by step guide to become an SRE or for any operations role in 2019", |
||||||
"slug": "/devops", |
"slug": "/devops", |
||||||
"picture": "/static/roadmaps/devops.png" |
"picture": "/static/roadmaps/devops.png", |
||||||
|
"featured": true |
||||||
} |
} |
||||||
] |
] |
Loading…
Reference in new issue