summaryrefslogtreecommitdiff
path: root/frontend/src/scenes/SplashScreen/components
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2017-07-31 18:44:01 +0200
committerVictor Chabbert <chabbertvi@eisti.eu>2017-08-07 22:41:20 +0200
commitbe86c9d23cdae888598e1f7de7812d7e0f1ca12c (patch)
treef39e95e3e8781c336b6221ce91c557d9e7e84fb0 /frontend/src/scenes/SplashScreen/components
parentUpdrade react router and react router redux (diff)
downloadseven-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.js17
-rw-r--r--frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpgbin0 -> 571089 bytes
-rw-r--r--frontend/src/scenes/SplashScreen/components/logo-7-wonders.pngbin0 -> 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
new file mode 100644
index 00000000..5a28e933
--- /dev/null
+++ b/frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg
Binary files differ
diff --git a/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png b/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png
new file mode 100644
index 00000000..96974d3e
--- /dev/null
+++ b/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png
Binary files differ
bgstack15