mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Loading screen random message
This commit is contained in:
parent
38b325cf12
commit
09622e2632
@ -46,6 +46,19 @@ const Startup = (obj) => {
|
|||||||
}
|
}
|
||||||
}, [refreshInterval]);
|
}, [refreshInterval]);
|
||||||
|
|
||||||
|
const texts = [
|
||||||
|
"Preloading all the things...",
|
||||||
|
"Preloading all the things...",
|
||||||
|
"Preloading all the things...",
|
||||||
|
"Speaking to the NSA...",
|
||||||
|
"Loading...",
|
||||||
|
"Loading...",
|
||||||
|
"Loading...",
|
||||||
|
"Loading...",
|
||||||
|
"Loading...",
|
||||||
|
"Loading..."
|
||||||
|
]
|
||||||
|
|
||||||
if (isLoaded) {
|
if (isLoaded) {
|
||||||
console.log("Rendering Application");
|
console.log("Rendering Application");
|
||||||
return obj.children;
|
return obj.children;
|
||||||
@ -58,7 +71,7 @@ const Startup = (obj) => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="stroke roundedOpaque" style={{ width: 'unset', padding: '5em' }}>
|
<div className="stroke roundedOpaque" style={{ width: 'unset', padding: '5em' }}>
|
||||||
<div className="stroke">
|
<div className="stroke">
|
||||||
<h1>Loading...</h1>
|
<h1>{texts[Math.floor(Math.random() * texts.length)]}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -477,15 +477,6 @@ svg {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
.alwaysOnBottomRight {
|
|
||||||
z-index: 0;
|
|
||||||
position: fixed;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0px;
|
|
||||||
/* transform: translate(-50%, -50%); */
|
|
||||||
margin: 0 auto;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.selectOrch, .selectOrch a{
|
.selectOrch, .selectOrch a{
|
||||||
text-shadow: 0.5px 0.5px 0.8px #948dff;
|
text-shadow: 0.5px 0.5px 0.8px #948dff;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user