Skip to content

Commit 623512c

Browse files
committed
add noscript
1 parent 163c3a3 commit 623512c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

css/main.css

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ body {
5454
margin: 0;
5555
}
5656

57+
noscript {
58+
display: block;
59+
padding: 20px;
60+
}
61+
5762
p { line-height: 150%; }
5863
a { text-decoration: none; }
5964

index.html

+4
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@
1212
import {main} from "./src/main.js";
1313
main(document.body);
1414
</script>
15+
<noscript>
16+
<h1>Please enable javascript</h1>
17+
<p>Matrix.to preserves your privacy by only processing which rooms and people you view on the client side. For this to work, it needs javascript.</p>
18+
</noscript>
1519
</body>
1620
</html>

0 commit comments

Comments
 (0)