Improved homepage 🙏

This commit is contained in:
Tom Moor
2018-07-11 20:23:36 -07:00
parent 95c4574549
commit 19a328ebeb
10 changed files with 209 additions and 104 deletions

View File

@ -2,6 +2,7 @@
import * as React from 'react';
import styled from 'styled-components';
import breakpoint from 'styled-components-breakpoint';
import Centered from './Centered';
import {
developers,
changelog,
@ -102,9 +103,9 @@ const MenuItemDesktop = styled(MenuItem)`
`};
`;
const Nav = styled.nav`
const Nav = styled(Centered)`
display: flex;
padding: 20px 30px;
padding: 20px 0;
align-items: center;
justify-content: space-between;
`;
@ -114,7 +115,7 @@ const BottomNav = styled.nav`
justify-content: center;
align-items: center;
flex-direction: column;
margin-bottom: 40px;
margin: 4em 0;
> div {
display: flex;
@ -124,6 +125,7 @@ const BottomNav = styled.nav`
${breakpoint('tablet')`
flex-direction: row;
margin: 0 0 4em;
> div {
margin: 0 0 0 40px;