diff options
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | public/index.html | 3 | ||||
-rw-r--r-- | public/lite/bare.css | 8 | ||||
-rw-r--r-- | public/lite/index.html | 51 | ||||
-rw-r--r-- | public/lite/redirect.js | 1 |
5 files changed, 63 insertions, 2 deletions
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 @@ </head> <body> <noscript> - <strong>We're sorry but this website doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> + <meta http-equiv="refresh" content="1;url=/lite/"> + Redirecting to the <a href="/lite/">Lite version</a>... </noscript> <div id="app"></div> <!-- built files will be auto injected --> 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 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width,initial-scale=1.0"> + <meta name="robots" content="noindex"> + <link rel="icon" href="/favicon.ico"> + <link rel="canonical" href="https://www.themanaworld.org"> + <link href="bare.css" rel="stylesheet"> + <title>The Mana World (Lite)</title> + </head> + <body> + <h1>The Mana World</h1> + <section class="nojs"> + <h2>JavaScript notice</h2> + <p>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 <a target="_blank" rel="noopener" href="https://github.com/themanaworld/themanaworld-website">https://github.com/themanaworld/themanaworld-website</a></p> + </section> + <section> + <h2>About The Mana World</h2> + <blockquote> + <p>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.</p> + </blockquote> + </section> + <section> + <h2>Account registration</h2> + <blockquote> + <p>To create a game account without using the full website, contact us at registration@themanaworld.org</p> + <p>Make sure to <a href="https://wiki.themanaworld.org/index.php/Downloads">download our game client</a> in order to play.</p> + </blockquote> + </section> + <section> + <h2>Account recovery</h2> + <blockquote> + <p>If you need help accessing your account (lost username or password), contact us at support@themanaworld.org</p> + </blockquote> + </section> + <section> + <h2>Support</h2> + <blockquote> + <p>You can find helpful articles <a href="https://wiki.themanaworld.org">on our wiki</a>. If you require further assistance, feel free to contact us.</p> + </blockquote> + <h3>Contact us</h3> + <ul> + <li>On IRC: <a href="https://forums.themanaworld.org/viewforum.php?f=41">#themanaworld on Freenode</a></li> + <li>On Discord: <a href="https://forums.themanaworld.org/viewforum.php?f=65">The Mana World server</a></li> + <li>On the forums: <a href="https://forums.themanaworld.org/viewforum.php?f=3">Support and Bug reports</a></li> + </ul> + </section> + <script src="redirect.js"></script> + </body> +</html> 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 = "/"; |