diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2018-06-08 23:34:06 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2018-06-09 12:49:52 +0200 |
commit | 9298af15fdd228c51b1e5765c68c5062687ba96e (patch) | |
tree | 61329a8f0fc31cce85ea804e7c4667762287ddf9 /frontend/src/scenes/SplashScreen/components/HomeLayout.js | |
parent | Cleanup the mess (diff) | |
download | seven-wonders-9298af15fdd228c51b1e5765c68c5062687ba96e.tar.gz seven-wonders-9298af15fdd228c51b1e5765c68c5062687ba96e.tar.bz2 seven-wonders-9298af15fdd228c51b1e5765c68c5062687ba96e.zip |
Remove rebass dependency
Diffstat (limited to 'frontend/src/scenes/SplashScreen/components/HomeLayout.js')
-rw-r--r-- | frontend/src/scenes/SplashScreen/components/HomeLayout.js | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/frontend/src/scenes/SplashScreen/components/HomeLayout.js b/frontend/src/scenes/SplashScreen/components/HomeLayout.js index 08029d45..c9950f44 100644 --- a/frontend/src/scenes/SplashScreen/components/HomeLayout.js +++ b/frontend/src/scenes/SplashScreen/components/HomeLayout.js @@ -1,7 +1,6 @@ // @flow import type { Node } 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'; @@ -10,12 +9,10 @@ export type HomeLayoutProps = { children?: Node, } -export const HomeLayout = ({ children }: HomeLayoutProps) => ( - <div> - <Banner align="center" backgroundImage={background}> - <img src={logo} alt="Seven Wonders" /> - {children} - </Banner> - <ErrorToastContainer /> +export const HomeLayout = ({children}: HomeLayoutProps) => ( + <div style={{backgroundImage: `url(${background})`}}> + <img src={logo} alt="Seven Wonders"/> + {children} + <ErrorToastContainer/> </div> ); |