add noscript info message
This commit is contained in:
parent
e730e85b45
commit
3930220c3e
1 changed files with 25 additions and 0 deletions
25
dist/index.html
vendored
25
dist/index.html
vendored
|
@ -7,12 +7,14 @@
|
|||
<style>
|
||||
* {
|
||||
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;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<h1>JavaScript Disabled</h1>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
Alternatively, you may also obtain the source code and run it locally:<br>
|
||||
<a href="https://git.bsd.gay/fef/wfcjs">https://git.bsd.gay/fef/wfcjs</a>
|
||||
</p>
|
||||
</noscript>
|
||||
<canvas id="render"></canvas>
|
||||
<script type="text/javascript" src="bundle.js"></script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue