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,6 +42,8 @@
<body> <body>
<div class="htmlmessage"> <div class="htmlmessage">
<h1>Spaceport</h1> <h1>Spaceport</h1>
<p>Loading...</p>
<div class="errormessage">
<p>If you are reading this message, there's been an error.</p> <p>If you are reading this message, there's been an error.</p>
<noscript><p>You need to enable JavaScript to run this app.</p></noscript> <noscript><p>You need to enable JavaScript to run this app.</p></noscript>
<p> <p>
@ -47,6 +51,7 @@
please contact Tanner (protospace@tannercollin.com) for help. please contact Tanner (protospace@tannercollin.com) for help.
</p> </p>
</div> </div>
</div>
<div id="root"></div> <div id="root"></div>
<!-- <!--
This HTML file is a template. This HTML file is a template.