Add <noscript> message

Avoids a blank page when JS is disabled.
This commit is contained in:
Simon Ser 2020-06-24 15:43:19 +02:00
parent 61b0425128
commit 0c79b9a3ee
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -2,10 +2,13 @@
<html>
<head>
<meta charset="utf-8">
<title>IRC client</title>
<title>gamja IRC client</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<noscript>
<p>Unfortunately gamja requires JavaScript. Please enable it!</p>
</noscript>
<script type="module">
import { html, render } from "/lib/index.js";
import App from "/components/app.js";