diff options
Diffstat (limited to 'frontend/src/layouts')
-rw-r--r-- | frontend/src/layouts/HomeLayout.js | 10 | ||||
-rw-r--r-- | frontend/src/layouts/LobbyLayout.js | 10 |
2 files changed, 14 insertions, 6 deletions
diff --git a/frontend/src/layouts/HomeLayout.js b/frontend/src/layouts/HomeLayout.js index 4b93a163..76236383 100644 --- a/frontend/src/layouts/HomeLayout.js +++ b/frontend/src/layouts/HomeLayout.js @@ -1,9 +1,8 @@ import React from 'react' -import { - Banner -} from 'rebass' +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> @@ -11,5 +10,10 @@ export default (props) => ( <img src={logo} alt="Seven Wonders"/> {props.children} </Banner> + <ReduxToastr + timeOut={4000} + preventDuplicates + position="bottom-left" + progressBar/> </div> ) diff --git a/frontend/src/layouts/LobbyLayout.js b/frontend/src/layouts/LobbyLayout.js index 83c210a1..dba3d589 100644 --- a/frontend/src/layouts/LobbyLayout.js +++ b/frontend/src/layouts/LobbyLayout.js @@ -1,8 +1,7 @@ import React from 'react' -import { - Banner, -} from 'rebass' +import { Banner } from 'rebass' import logo from './logo-7-wonders.png' +import ReduxToastr from 'react-redux-toastr' export default (props) => ( <div> @@ -14,5 +13,10 @@ export default (props) => ( <img src={logo} alt="Seven Wonders Logo"/> </Banner> {props.children} + <ReduxToastr + timeOut={4000} + preventDuplicates + position="bottom-left" + progressBar/> </div> ) |