diff --git a/app/features/welcome/components/Welcome.js b/app/features/welcome/components/Welcome.js index c9a35f8..c7759e2 100644 --- a/app/features/welcome/components/Welcome.js +++ b/app/features/welcome/components/Welcome.js @@ -90,35 +90,12 @@ class Welcome extends Component { * @returns {ReactElement} */ render() { - const { state } = this.props.location; - return ( }> -
- -
- - -
- -
- - - + { this._renderHeader() } + { this._renderBody() }
@@ -191,6 +168,53 @@ class Welcome extends Component { url: event.currentTarget.value }); } + + /** + * Renders the body for the welcome page. + * + * @returns {ReactElement} + */ + _renderBody() { + return ( + + + + ); + } + + /** + * Renders the header for the welcome page. + * + * @returns {ReactElement} + */ + _renderHeader() { + const locationState = this.props.location.state; + const locationError = locationState && locationState.error; + + return ( +
+ +
+ + +
+ +
+ ); + } } export default connect()(Welcome);