summary refs log tree commit diff
path: root/index.html
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2023-04-02 12:24:23 +0200
committerMalte Voos <git@mal.tc>2023-04-02 12:24:23 +0200
commit58b1fced2563f40990123ab362b0df53b5a91c0e (patch)
tree84faaa57a23633041baffe5d50467e60abc9d5e9 /index.html
parent7d9836ebef1950c550081b2ea9cd3f7718280a02 (diff)
downloadlife-58b1fced2563f40990123ab362b0df53b5a91c0e.tar.gz
life-58b1fced2563f40990123ab362b0df53b5a91c0e.zip
make it run in the browser
Diffstat (limited to 'index.html')
-rw-r--r--index.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..6672a32
--- /dev/null
+++ b/index.html
@@ -0,0 +1,33 @@
+<html>
+  <head>
+    <title>malte's useless webpage</title>
+    <meta charset="utf-8">
+    <style>
+      body {
+        margin: 0;
+        padding: 0;
+        background-color: #000000
+      }
+      a {
+        position: fixed;
+        top: 0;
+        right: 0;
+        color: #ffffff;
+        opacity: 0.8;
+      }
+      a:hover {
+        opacity: 1.0;
+      }
+    </style>
+  </head>
+  <body>
+    <script type="module">
+      import init from './life/life.js';
+      init();
+    </script>
+    <noscript>
+      this site is less boring if you enable javashit.
+    </noscript>
+    <a href="https://git.mal.tc/life">source code</a>
+  </body>
+</html>