Loading screen random message

This commit is contained in:
Marco van Dijk 2022-03-12 17:42:28 +01:00
parent 38b325cf12
commit 09622e2632
2 changed files with 14 additions and 10 deletions

View File

@ -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>

View File

@ -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;