From 2896c835e3c59c77f0225947b0823b73c899c047 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Mon, 8 Apr 2019 21:26:40 +0300 Subject: [PATCH] Loading Container UI improvements --- app/src/assets/css/loading-container.css | 8 ++++++++ app/src/containers/LoadingContainer.js | 16 +++++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 app/src/assets/css/loading-container.css diff --git a/app/src/assets/css/loading-container.css b/app/src/assets/css/loading-container.css new file mode 100644 index 0000000..3ce8f8b --- /dev/null +++ b/app/src/assets/css/loading-container.css @@ -0,0 +1,8 @@ +.loading-screen { + text-align: center; +} + +.loading-img { + margin-bottom: 30px; + height: 100px; +} diff --git a/app/src/containers/LoadingContainer.js b/app/src/containers/LoadingContainer.js index de0e3b6..a8f006a 100644 --- a/app/src/containers/LoadingContainer.js +++ b/app/src/containers/LoadingContainer.js @@ -1,8 +1,10 @@ import React, { Children, Component } from 'react'; import { connect } from 'react-redux'; +import '../assets/css/loading-container.css'; import ethereum_logo from '../assets/images/ethereum_logo.svg'; import ipfs_logo from '../assets/images/ipfs_logo.svg'; import orbitdb_logo from '../assets/images/orbitdb_logo.png'; +import logo from '../assets/images/logo.png'; class LoadingContainer extends Component { render() { @@ -11,7 +13,7 @@ class LoadingContainer extends Component {
- ethereum_logo + ethereum_logo

This browser has no connection to the Ethereum network.

Please make sure that:
    @@ -30,7 +32,7 @@ class LoadingContainer extends Component {
    - ethereum_logo + ethereum_logo

    We can't find any Ethereum accounts!.

    @@ -43,7 +45,7 @@ class LoadingContainer extends Component {
    - ethereum_logo + ethereum_logo

    Initializing contracts...

    If this takes too long please make sure they are deployed to the network and you are connected to the correct one. @@ -59,7 +61,7 @@ class LoadingContainer extends Component {

    - ipfs_logo + ipfs_logo

    Initializing IPFS...

    @@ -72,7 +74,7 @@ class LoadingContainer extends Component {
    - orbitdb_logo + orbitdb_logo

    Preparing OrbitDB...

    @@ -87,8 +89,8 @@ class LoadingContainer extends Component {
    -

    -

    Loading dapp...

    + app_logo +

    Loading dapp...