aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorLibravatar Renard 2020-03-09 12:08:01 -0300
committerLibravatar Renard 2020-03-09 12:08:01 -0300
commita05cf36bc811e6aa711cac7a83e6af2fb54d0619 (patch)
tree2b7f0ff5771128bdd9f50673fedb03dd443c3465 /src/App.js
parentee79e2c2fbbbf07a7e1cf838f0e32253bd304a0a (diff)
downloadbairadio-app-a05cf36bc811e6aa711cac7a83e6af2fb54d0619.tar.gz
bairadio-app-a05cf36bc811e6aa711cac7a83e6af2fb54d0619.tar.xz
bairadio-app-a05cf36bc811e6aa711cac7a83e6af2fb54d0619.zip
Segmento de carga inicial
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/App.js b/src/App.js
index 028b82f..9d70608 100644
--- a/src/App.js
+++ b/src/App.js
@@ -7,7 +7,8 @@ import {
Segment,
List,
Message,
- Dropdown
+ Dropdown,
+ Loader
} from "semantic-ui-react";
import "fomantic-ui-css/semantic.min.css";
import "./App.css";
@@ -208,7 +209,18 @@ class App extends Component {
const isOnline = response.source !== undefined;
if (!ready) {
- return "Loading";
+ return (
+ <Container style={{ paddingTop: "50px" }}>
+ <Segment
+ textAlign="center"
+ style={{ paddingTop: "25px", paddingBottom: "25px" }}
+ >
+ <Loader active inline>
+ Obteniendo informaciĆ³n del servidor de IceCast ...
+ </Loader>
+ </Segment>
+ </Container>
+ );
}
const currentStream = multipleSources