diff options
Diffstat (limited to 'frontend/src/layouts')
-rw-r--r-- | frontend/src/layouts/HomeLayout.js | 17 | ||||
-rw-r--r-- | frontend/src/layouts/LobbyLayout.js | 17 | ||||
-rw-r--r-- | frontend/src/layouts/index.js | 4 |
3 files changed, 14 insertions, 24 deletions
diff --git a/frontend/src/layouts/HomeLayout.js b/frontend/src/layouts/HomeLayout.js index 77231c77..87462adb 100644 --- a/frontend/src/layouts/HomeLayout.js +++ b/frontend/src/layouts/HomeLayout.js @@ -1,8 +1,8 @@ -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 => ( <div> @@ -10,11 +10,6 @@ export default props => ( <img src={logo} alt="Seven Wonders" /> {props.children} </Banner> - <ReduxToastr - timeOut={4000} - preventDuplicates - position="bottom-left" - progressBar - /> + <ReduxToastr timeOut={4000} preventDuplicates position="bottom-left" progressBar /> </div> ); diff --git a/frontend/src/layouts/LobbyLayout.js b/frontend/src/layouts/LobbyLayout.js index 84d3998f..effdfebb 100644 --- a/frontend/src/layouts/LobbyLayout.js +++ b/frontend/src/layouts/LobbyLayout.js @@ -1,23 +1,18 @@ -import React from "react"; -import { Banner } from "rebass"; -import logo from "./logo-7-wonders.png"; -import ReduxToastr from "react-redux-toastr"; +import React from 'react'; +import { Banner } from 'rebass'; +import logo from './logo-7-wonders.png'; +import ReduxToastr from 'react-redux-toastr'; export default props => ( <div> <Banner align="center" - style={{ minHeight: "30vh", marginBottom: 0 }} + style={{ minHeight: '30vh', marginBottom: 0 }} backgroundImage="https://images.unsplash.com/photo-1431207446535-a9296cf995b1?dpr=1&auto=format&fit=crop&w=1199&h=799&q=80&cs=tinysrgb&crop=" > <img src={logo} alt="Seven Wonders Logo" /> </Banner> {props.children} - <ReduxToastr - timeOut={4000} - preventDuplicates - position="bottom-left" - progressBar - /> + <ReduxToastr timeOut={4000} preventDuplicates position="bottom-left" progressBar /> </div> ); diff --git a/frontend/src/layouts/index.js b/frontend/src/layouts/index.js index f09b2a20..1db9db61 100644 --- a/frontend/src/layouts/index.js +++ b/frontend/src/layouts/index.js @@ -1,2 +1,2 @@ -export { default as HomeLayout } from "./HomeLayout"; -export { default as LobbyLayout } from "./LobbyLayout"; +export { default as HomeLayout } from './HomeLayout'; +export { default as LobbyLayout } from './LobbyLayout'; |