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

This commit is contained in:
M.Pac authored and GitHub committed 2023-03-23 09:27:10 +01:00
1 parent b2ebf5d95a
commit 0349787685
1 file changed
+3
+3
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