move containers and header to framework

This commit is contained in:
Colin Megill
2017-10-04 01:06:24 -07:00
parent 1048ce336b
commit 3b093cd371
5 changed files with 0 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
.primaryButton {
border: 1px solid black;
padding: 10px 15px;
background: none;
cursor: pointer;
font-size: 14px;
}
+5
View File
@@ -0,0 +1,5 @@
.container {
max-width: 1200px;
margin: auto;
min-height: 100%;
}
+11
View File
@@ -0,0 +1,11 @@
import React from 'react';
import styles from './container.css';
const Container = props => (
<div className={styles.container}>
{props.children}
</div>
);
export default Container;
+3
View File
@@ -0,0 +1,3 @@
.header {
background: red;
}
+15
View File
@@ -0,0 +1,15 @@
import React from 'react';
import Container from './container';
import styles from './header.css';
const Header = () => (
<header className={styles.header}>
<Container>
</Container>
</header>
);
export default Header;