|
|
@ -62,7 +62,7 @@ class Home extends Component { |
|
|
|
<div |
|
|
|
css={{ |
|
|
|
paddingTop: 45, |
|
|
|
paddingBottom: 20, |
|
|
|
paddingBottom: 10, |
|
|
|
|
|
|
|
[media.greaterThan('small')]: { |
|
|
|
paddingTop: 60, |
|
|
@ -137,8 +137,11 @@ class Home extends Component { |
|
|
|
</p> |
|
|
|
<Flex |
|
|
|
valign="center" |
|
|
|
halign="center" |
|
|
|
css={{ |
|
|
|
paddingTop: 40, |
|
|
|
flexWrap: 'wrap', |
|
|
|
justifyContent: 'center', |
|
|
|
|
|
|
|
[media.greaterThan('xlarge')]: { |
|
|
|
paddingTop: 65, |
|
|
@ -279,10 +282,16 @@ class Home extends Component { |
|
|
|
background: colors.dark, |
|
|
|
color: colors.white, |
|
|
|
paddingTop: 45, |
|
|
|
paddingBottom: 45, |
|
|
|
paddingBottom: 25, |
|
|
|
}}> |
|
|
|
<Container> |
|
|
|
<Flex valign="center"> |
|
|
|
<Flex |
|
|
|
valign="center" |
|
|
|
halign="center" |
|
|
|
css={{ |
|
|
|
flexWrap: 'wrap', |
|
|
|
justifyContent: 'center', |
|
|
|
}}> |
|
|
|
<CtaItem> |
|
|
|
<ButtonLink to="/docs/getting-started.html" type="primary"> |
|
|
|
Get Started |
|
|
@ -312,8 +321,6 @@ Home.propTypes = { |
|
|
|
const CtaItem = ({children, primary = false}) => ( |
|
|
|
<div |
|
|
|
css={{ |
|
|
|
width: '50%', |
|
|
|
|
|
|
|
[media.between('small', 'large')]: { |
|
|
|
paddingLeft: 20, |
|
|
|
}, |
|
|
@ -324,13 +331,22 @@ const CtaItem = ({children, primary = false}) => ( |
|
|
|
|
|
|
|
'&:first-child': { |
|
|
|
textAlign: 'right', |
|
|
|
paddingRight: 15, |
|
|
|
paddingRight: 7, |
|
|
|
paddingLeft: 7, |
|
|
|
[media.lessThan('small')]: { |
|
|
|
marginBottom: 10, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
'&:nth-child(2)': { |
|
|
|
paddingRight: 7, |
|
|
|
paddingLeft: 7, |
|
|
|
[media.greaterThan('small')]: { |
|
|
|
paddingLeft: 15, |
|
|
|
}, |
|
|
|
[media.lessThan('small')]: { |
|
|
|
marginBottom: 10, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}}> |
|
|
|
{children} |
|
|
|