]> git.r.bdr.sh - rbdr/blog/commitdiff
Remove unnecessary static files
authorRuben Beltran del Rio <redacted>
Wed, 14 Feb 2024 21:40:09 +0000 (22:40 +0100)
committerRuben Beltran del Rio <redacted>
Wed, 14 Feb 2024 21:40:09 +0000 (22:40 +0100)
static/css/style.css [deleted file]
static/favicon.ico [deleted file]
static/favicon.png [deleted file]
static/images/header_background.png [deleted file]
static/images/header_foreground.png [deleted file]
static/js/blog.js [deleted file]
templates/index.html

diff --git a/static/css/style.css b/static/css/style.css
deleted file mode 100644 (file)
index 0261e9d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-canvas {
-  width: 64px;
-  height: 64px;
-  display: inline-block;
-  background-color: gainsboro;
-}
-
-@media (prefers-color-scheme: dark) {
-  body {
-    color: white;
-    background-color: black;
-  }
-
-  a {
-    color: #5dc1fd;
-  }
-
-  a:visited {
-    color: #ed6eff;
-  }
-}
diff --git a/static/favicon.ico b/static/favicon.ico
deleted file mode 100644 (file)
index 2399da6..0000000
Binary files a/static/favicon.ico and /dev/null differ
diff --git a/static/favicon.png b/static/favicon.png
deleted file mode 100644 (file)
index d4c3bb0..0000000
Binary files a/static/favicon.png and /dev/null differ
diff --git a/static/images/header_background.png b/static/images/header_background.png
deleted file mode 100644 (file)
index 6d1989f..0000000
Binary files a/static/images/header_background.png and /dev/null differ
diff --git a/static/images/header_foreground.png b/static/images/header_foreground.png
deleted file mode 100644 (file)
index e0fadd1..0000000
Binary files a/static/images/header_foreground.png and /dev/null differ
diff --git a/static/js/blog.js b/static/js/blog.js
deleted file mode 100644 (file)
index 68c13da..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-'use strict';
-
-/* globals window */
-
-((w) => {
-
-  const internals = {
-    // Application entry point, for now just band to keyboard
-
-    main() {
-
-      w.document.addEventListener('keydown', internals._onKeyDown);
-    },
-
-    // Handles key events to point to the correct blog post.
-
-    _onKeyDown(e) {
-
-      if (['1','2','3'].indexOf(e.key) > -1) {
-        w.location.hash = e.key;
-      }
-    }
-  };
-
-  w.addEventListener('load', internals.main);
-})(window);
index f1967e46c374574f98a6e03950b83c72e2fcf769..e28be64242f428fc1a949bf8ad24113247e1ae9a 100644 (file)
@@ -34,8 +34,5 @@
       <p>There are no posts yet.</p>
     {{?}}
     </main>
-    <footer>
-      <p>Press 1, 2, and 3 to switch.</p>
-    </footer>
   </body>
 </html>