summaryrefslogtreecommitdiff
path: root/frontend/src/scenes/SplashScreen/components/HomeLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/scenes/SplashScreen/components/HomeLayout.js')
-rw-r--r--frontend/src/scenes/SplashScreen/components/HomeLayout.js17
1 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>
+);
bgstack15