feat: added noscript tag for showing err in non-supported browser . (#33)

This commit is contained in:
M.Pac 2023-03-23 10:27:10 +02:00 committed by GitHub
parent b2ebf5d95a
commit 0349787685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,9 @@
</head>
<body class="font-sans dark:text-white dark:bg-hex-121212">
<div id="app"></div>
<noscript>
<div>Please enable JavaScript to use this application.</div>
</noscript>
<script>
(function() {
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches