From bec4e31ea85e53445d29490824fb61035cccfe75 Mon Sep 17 00:00:00 2001 From: s1nical Date: Fri, 16 Aug 2019 05:58:53 -0700 Subject: various removals, fixes, changes - remove license, readme - update humans - resources > doc - todo.todo > spike/todo.todo - mobile excludes for space invaders and wolf3d --- wolf3d/index.html | 7 ++++--- wolf3d/js/main.js | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 wolf3d/js/main.js (limited to 'wolf3d') diff --git a/wolf3d/index.html b/wolf3d/index.html index d269b37..cc0bec0 100644 --- a/wolf3d/index.html +++ b/wolf3d/index.html @@ -4,12 +4,13 @@ s1nical - Wolfenstein 3D - + - - + + +
diff --git a/wolf3d/js/main.js b/wolf3d/js/main.js new file mode 100644 index 0000000..5807029 --- /dev/null +++ b/wolf3d/js/main.js @@ -0,0 +1,4 @@ +// CHECKS IF USER IS ON MOBILE +if (screen.width <= 480) { + location.href = '/mobile'; +} \ No newline at end of file -- cgit v1.2.3