From c2eda5c0f25850d1c64ed238458e2bd696d06cc3 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sat, 9 Jun 2018 18:13:47 +0200 Subject: Fix home screen style --- .../scenes/SplashScreen/components/HomeLayout.js | 18 --------- .../components/background-zeus-temple.jpg | Bin 571089 -> 0 bytes .../SplashScreen/components/logo-7-wonders.png | Bin 301442 -> 0 bytes frontend/src/scenes/SplashScreen/index.js | 45 --------------------- 4 files changed, 63 deletions(-) delete mode 100644 frontend/src/scenes/SplashScreen/components/HomeLayout.js delete mode 100644 frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg delete mode 100644 frontend/src/scenes/SplashScreen/components/logo-7-wonders.png delete mode 100644 frontend/src/scenes/SplashScreen/index.js (limited to 'frontend/src/scenes/SplashScreen') diff --git a/frontend/src/scenes/SplashScreen/components/HomeLayout.js b/frontend/src/scenes/SplashScreen/components/HomeLayout.js deleted file mode 100644 index c9950f44..00000000 --- a/frontend/src/scenes/SplashScreen/components/HomeLayout.js +++ /dev/null @@ -1,18 +0,0 @@ -// @flow -import type { Node } from 'react'; -import React from 'react'; -import { ErrorToastContainer } from '../../../components/errors/errorToastContainer'; -import background from './background-zeus-temple.jpg'; -import logo from './logo-7-wonders.png'; - -export type HomeLayoutProps = { - children?: Node, -} - -export const HomeLayout = ({children}: HomeLayoutProps) => ( -
- Seven Wonders - {children} - -
-); diff --git a/frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg b/frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg deleted file mode 100644 index 5a28e933..00000000 Binary files a/frontend/src/scenes/SplashScreen/components/background-zeus-temple.jpg and /dev/null differ diff --git a/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png b/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png deleted file mode 100644 index 96974d3e..00000000 Binary files a/frontend/src/scenes/SplashScreen/components/logo-7-wonders.png and /dev/null differ diff --git a/frontend/src/scenes/SplashScreen/index.js b/frontend/src/scenes/SplashScreen/index.js deleted file mode 100644 index 1eee4e1b..00000000 --- a/frontend/src/scenes/SplashScreen/index.js +++ /dev/null @@ -1,45 +0,0 @@ -// @flow -import { Button, Classes, InputGroup, Intent } from '@blueprintjs/core'; -import React, { Component } from 'react'; -import { connect } from 'react-redux'; -import { actions } from '../../redux/players'; -import { HomeLayout } from './components/HomeLayout'; - -export type SplashScreenProps = { - chooseUsername: (username: string) => void, -} - -class SplashScreenPresenter extends Component { - _username = ''; - - play = e => { - e.preventDefault(); - if (this._username !== undefined) { - this.props.chooseUsername(this._username); - } - }; - - render() { - return ( - -
- (this._username = e.target.value)} - rightElement={this.renderSubmit()} - /> - -
- ); - } - - renderSubmit = () => ( -