nicolium: add more meaningful noscript message

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-18 15:39:47 +01:00
parent 23afe742a9
commit a755799a4f
2 changed files with 22 additions and 1 deletions

View File

@ -25,6 +25,14 @@
</div>
</div>
</div>
<noscript>To use this website, please enable JavaScript.</noscript>
<noscript
><span class="noscript">
To use Nicolium, please enable JavaScript.
<br />
<a href="https://nicolium.app/" target="_blank" rel="noopener noreferrer"
>What is Nicolium?</a
>
</span></noscript
>
</body>
</html>

View File

@ -54,6 +54,19 @@ body {
}
}
.noscript {
position: absolute;
inset: 0;
padding: 1rem;
text-align: center;
a {
@include mixins.text($size: inherit, $theme: subtle);
text-decoration-line: underline;
}
}
#app {
height: 100%;
}