Add loading message

This commit is contained in:
Tanner Collin 2022-01-22 00:45:29 +00:00
parent 25a3f72417
commit 29edacec04

View File

@ -28,7 +28,9 @@
position: absolute; position: absolute;
background: black; background: black;
color: white; color: white;
animation: showMessage 0s 2s forwards; }
.errormessage {
animation: showMessage 0s 5s forwards;
opacity: 0; opacity: 0;
} }
@ -40,12 +42,15 @@
<body> <body>
<div class="htmlmessage"> <div class="htmlmessage">
<h1>Spaceport</h1> <h1>Spaceport</h1>
<p>If you are reading this message, there's been an error.</p> <p>Loading...</p>
<noscript><p>You need to enable JavaScript to run this app.</p></noscript> <div class="errormessage">
<p> <p>If you are reading this message, there's been an error.</p>
Try refreshing the page. If that doesn't work,<br/> <noscript><p>You need to enable JavaScript to run this app.</p></noscript>
please contact Tanner (protospace@tannercollin.com) for help. <p>
</p> Try refreshing the page. If that doesn't work,<br/>
please contact Tanner (protospace@tannercollin.com) for help.
</p>
</div>
</div> </div>
<div id="root"></div> <div id="root"></div>
<!-- <!--