diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-07-31 18:44:01 +0200 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-08-07 22:41:20 +0200 |
commit | be86c9d23cdae888598e1f7de7812d7e0f1ca12c (patch) | |
tree | f39e95e3e8781c336b6221ce91c557d9e7e84fb0 /frontend/src/scenes/SplashScreen/components | |
parent | Updrade react router and react router redux (diff) | |
download | seven-wonders-be86c9d23cdae888598e1f7de7812d7e0f1ca12c.tar.gz seven-wonders-be86c9d23cdae888598e1f7de7812d7e0f1ca12c.tar.bz2 seven-wonders-be86c9d23cdae888598e1f7de7812d7e0f1ca12c.zip |
Refactor routes to new structure
Diffstat (limited to 'frontend/src/scenes/SplashScreen/components')
-rw-r--r-- | frontend/src/scenes/SplashScreen/components/HomeLayout.js | 17 | ||||
-rw-r--r-- | frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg | bin | 0 -> 571089 bytes | |||
-rw-r--r-- | frontend/src/scenes/SplashScreen/components/logo-7-wonders.png | bin | 0 -> 301442 bytes |
3 files changed, 17 insertions, 0 deletions
diff --git a/frontend/src/scenes/SplashScreen/components/HomeLayout.js b/frontend/src/scenes/SplashScreen/components/HomeLayout.js new file mode 100644 index 00000000..86666eb2 --- /dev/null +++ b/frontend/src/scenes/SplashScreen/components/HomeLayout.js @@ -0,0 +1,17 @@ +// @flow +import type { Children } from 'react'; +import React from 'react'; +import { Banner } from 'rebass'; +import ErrorToastContainer from '../../../components/errors/errorToastContainer'; +import background from './background-zeus-temple.jpg'; +import logo from './logo-7-wonders.png'; + +export default ({ children }: { children: Children }) => ( + <div> + <Banner align="center" backgroundImage={background}> + <img src={logo} alt="Seven Wonders" /> + {children} + </Banner> + <ErrorToastContainer /> + </div> +); diff --git a/frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg b/frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg Binary files differnew file mode 100644 index 00000000..5a28e933 --- /dev/null +++ b/frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg diff --git a/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png b/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png Binary files differnew file mode 100644 index 00000000..96974d3e --- /dev/null +++ b/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png |