mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 02:35:09 +02:00
Loading screen random message
This commit is contained in:
parent
38b325cf12
commit
09622e2632
@ -46,6 +46,19 @@ const Startup = (obj) => {
|
||||
}
|
||||
}, [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) {
|
||||
console.log("Rendering Application");
|
||||
return obj.children;
|
||||
@ -58,7 +71,7 @@ const Startup = (obj) => {
|
||||
</div>
|
||||
<div className="stroke roundedOpaque" style={{ width: 'unset', padding: '5em' }}>
|
||||
<div className="stroke">
|
||||
<h1>Loading...</h1>
|
||||
<h1>{texts[Math.floor(Math.random() * texts.length)]}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -477,15 +477,6 @@ svg {
|
||||
margin: 0 auto;
|
||||
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{
|
||||
text-shadow: 0.5px 0.5px 0.8px #948dff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user