From d5319656bbac681e83d2c9f98576cabe817baa31 Mon Sep 17 00:00:00 2001 From: Helianthella Date: Tue, 22 Dec 2020 12:17:52 -0500 Subject: display a bare-bones website when javascript is disabled redirects to /lite when disabled, then redirects back when enabled --- package.json | 2 +- public/index.html | 3 ++- public/lite/bare.css | 8 ++++++++ public/lite/index.html | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ public/lite/redirect.js | 1 + 5 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 public/lite/bare.css create mode 100644 public/lite/index.html create mode 100644 public/lite/redirect.js diff --git a/package.json b/package.json index f0321c2..f84e06b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "themanaworld-website", - "version": "6.0.0", + "version": "6.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/public/index.html b/public/index.html index 29e8c5e..a95e3b5 100644 --- a/public/index.html +++ b/public/index.html @@ -9,7 +9,8 @@
diff --git a/public/lite/bare.css b/public/lite/bare.css new file mode 100644 index 0000000..9e4d36e --- /dev/null +++ b/public/lite/bare.css @@ -0,0 +1,8 @@ +.nojs { + margin: 2em; + border: solid 3px orange; + padding: 1em; + background: beige; + color: darkblue; + contain: content; +} diff --git a/public/lite/index.html b/public/lite/index.html new file mode 100644 index 0000000..d85319b --- /dev/null +++ b/public/lite/index.html @@ -0,0 +1,51 @@ + + + + + + + + + + The Mana World (Lite) + + +

The Mana World

+
+

JavaScript notice

+

You are seeing the Lite version of our website because you have disabled JavaScript for this domain. To enable interactive features, please whitelist this domain. We do not use any non-free JavaScript and you can find the source code of this website at https://github.com/themanaworld/themanaworld-website

+
+
+

About The Mana World

+
+

The Mana World (TMW) is a serious effort to create an innovative free and open source MMORPG. TMW uses 2D graphics and aims to create a large and diverse interactive world. It is licensed under the GPL, making sure this game can't ever run away from you.

+
+
+
+

Account registration

+
+

To create a game account without using the full website, contact us at registration@themanaworld.org

+

Make sure to download our game client in order to play.

+
+
+
+

Account recovery

+
+

If you need help accessing your account (lost username or password), contact us at support@themanaworld.org

+
+
+
+

Support

+
+

You can find helpful articles on our wiki. If you require further assistance, feel free to contact us.

+
+

Contact us

+ +
+ + + diff --git a/public/lite/redirect.js b/public/lite/redirect.js new file mode 100644 index 0000000..ca3b4cf --- /dev/null +++ b/public/lite/redirect.js @@ -0,0 +1 @@ +document.location.href = "/"; -- cgit v1.2.3-60-g2f50