diff options
Diffstat (limited to 'frontend/src/layouts/HomeLayout.js')
-rw-r--r-- | frontend/src/layouts/HomeLayout.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/src/layouts/HomeLayout.js b/frontend/src/layouts/HomeLayout.js new file mode 100644 index 00000000..1d1d3bdd --- /dev/null +++ b/frontend/src/layouts/HomeLayout.js @@ -0,0 +1,16 @@ +import React from 'react' +import { + Banner, + Container +} from 'rebass' +import logo from './logo-7-wonders.png' +import background from './background-zeus-temple.jpg' + +export default (props) => ( + <div> + <Banner align="center" backgroundImage={background}> + <img src={logo} alt="Seven Wonders"/> + {props.children} + </Banner> + </div> +) |