add noscript info message

anna 1 year ago
parent e730e85b45
commit 3930220c3e
Signed by: fef
GPG Key ID: EC22E476DC2D3D84

dist/index.html vendored

@ -7,12 +7,14 @@
* {
box-sizing: border-box;
font-family: sans-serif;
html, body {
margin: 0;
overflow: hidden;
background-color: black;
color: #ccc;
#render {
@ -21,9 +23,32 @@
left: 0;
background-color: black;
noscript {
display: block;
margin-top: 60px;
text-align: center;
line-height: 1.5rem;
a {
color: #cb54c2;
<h1>JavaScript Disabled</h1>
It appears that JavaScript is disabled in your browser. Excellent!<br>
However, by nature of being an interactive game, this site requires it.<br>
Please enable JavaScript in your browser's settings to play this game.
Alternatively, you may also obtain the source code and run it locally:<br>
<a href=""></a>
<canvas id="render"></canvas>
<script type="text/javascript" src="bundle.js"></script>