added nojs warning

This commit is contained in:
nin0dev 2024-07-29 16:23:17 -04:00
parent fc7959737f
commit b47f03ff2a
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
<style>
div {
color: black;
background-color: lightcoral;
padding: 10px;
margin-bottom: 20px;
border-radius: 10px;
}
a {
color: blue;
}
</style>
<noscript>
<div>
<p>
<h4>ENABLE JAVASCRIPT OR I WILL KILL YOU</h4>
I will not. However, you seem to be living in fear of technology, as you have JavaScript disabled. This means that some features (eg. dragging, submitting forms) will not work. Enable JS to fully enjoy this website!
<br/>
Rest assured, there's no external tracking. You can check this site's source code on the <a href="https://git.nin0.dev/nin0/website">nin0/website</a> repository on my Forgejo.
</p>
</div>
</noscript>

View file

@ -1,5 +1,6 @@
---
import Contacts from "../components/Contacts.astro";
import FearOfTechnology from "../components/FearOfTechnology.astro";
import GroupBox from "../components/GroupBox.astro";
import Me from "../components/Me.astro";
import Presence from "../components/Presence.astro";
@ -9,6 +10,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
---
<BaseLayout tabTitle="Home - nin0dev">
<FearOfTechnology />
<Window title="Home" maxWidth="600px">
<Me />
<Presence />