diff --git a/client/src/views/index.js b/client/src/views/index.js index 420606409..c86a62d96 100644 --- a/client/src/views/index.js +++ b/client/src/views/index.js @@ -1,8 +1,6 @@ -import Header from './header' -import Footer from './footer' import Home from './home' import Charts from './charts' import Callback from './callback' import Layout from './layout' -export { Layout, Header, Footer, Home, Charts, Callback } +export { Layout, Home, Charts, Callback } diff --git a/client/src/views/layout/footer/styles.js b/client/src/views/layout/footer/styles.js index 092a34e62..bfe901139 100644 --- a/client/src/views/layout/footer/styles.js +++ b/client/src/views/layout/footer/styles.js @@ -38,7 +38,6 @@ const styles = theme => ({ footer: { borderTop: `4px solid ${theme.palette.secondary.light}`, padding: `${theme.spacing.unit * 6}px 0`, - marginTop: '-42px', backgroundColor: '#19191C', /* #29292c */ color: theme.palette.primary.light }, diff --git a/client/src/views/layout/index.js b/client/src/views/layout/index.js index 742f73946..7b7c2fb7b 100644 --- a/client/src/views/layout/index.js +++ b/client/src/views/layout/index.js @@ -9,9 +9,11 @@ import styles from './styles' class Index extends React.Component { render () { return ( -
+
- {this.props.children} +
+ {this.props.children} +
) diff --git a/client/src/views/layout/styles.js b/client/src/views/layout/styles.js index 45d50d118..062817c9a 100644 --- a/client/src/views/layout/styles.js +++ b/client/src/views/layout/styles.js @@ -1,6 +1,9 @@ const styles = theme => ({ - mainContainer: { - minHeight: 1000 + layout: { + display: 'flex', + flexDirection: 'column', + justifyContent: 'space-between', + minHeight: 'calc(100vh)' } })