diff options
Diffstat (limited to 'frontend/src/layouts/HomeLayout.js')
-rw-r--r-- | frontend/src/layouts/HomeLayout.js | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/frontend/src/layouts/HomeLayout.js b/frontend/src/layouts/HomeLayout.js index 76236383..77231c77 100644 --- a/frontend/src/layouts/HomeLayout.js +++ b/frontend/src/layouts/HomeLayout.js @@ -1,19 +1,20 @@ -import React from 'react' -import { Banner } from 'rebass' -import logo from './logo-7-wonders.png' -import background from './background-zeus-temple.jpg' -import ReduxToastr from 'react-redux-toastr' +import React from "react"; +import { Banner } from "rebass"; +import logo from "./logo-7-wonders.png"; +import background from "./background-zeus-temple.jpg"; +import ReduxToastr from "react-redux-toastr"; -export default (props) => ( +export default props => ( <div> <Banner align="center" backgroundImage={background}> - <img src={logo} alt="Seven Wonders"/> + <img src={logo} alt="Seven Wonders" /> {props.children} </Banner> <ReduxToastr timeOut={4000} preventDuplicates position="bottom-left" - progressBar/> + progressBar + /> </div> -) +); |