summaryrefslogtreecommitdiff
path: root/src/views/Registration.vue
diff options
context:
space:
mode:
authorHelianthella <git@gumi.ca>2020-12-25 23:44:30 -0500
committerHelianthella <git@gumi.ca>2020-12-25 23:44:30 -0500
commite8238555e8dc999c7cc7f3f9b99617b0d8cd5016 (patch)
tree40bb64befbaf3f7eeecc1dc5fabb3bf056dc3da1 /src/views/Registration.vue
parent618691cbce7932e1ca4e79873b7b5b3550dc51a9 (diff)
downloadwebsite-e8238555e8dc999c7cc7f3f9b99617b0d8cd5016.tar.gz
website-e8238555e8dc999c7cc7f3f9b99617b0d8cd5016.tar.bz2
website-e8238555e8dc999c7cc7f3f9b99617b0d8cd5016.tar.xz
website-e8238555e8dc999c7cc7f3f9b99617b0d8cd5016.zip
remove the notice about Doomsday
Diffstat (limited to 'src/views/Registration.vue')
-rw-r--r--src/views/Registration.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/Registration.vue b/src/views/Registration.vue
index 35c7d07..9fdd686 100644
--- a/src/views/Registration.vue
+++ b/src/views/Registration.vue
@@ -4,9 +4,7 @@
<p>Welcome to The Mana World! With this form you can register for a new game account.</p>
<p>Please note that you will also need to download and install <a href="https://wiki.themanaworld.org/index.php/Downloads" target="_blank">ManaPlus</a>, our official game client.</p>
<br>
- <div class="specialEvent">
- <b>The apocalypse is upon us.</b> Due the Doomsday Event, whole towns may vanish from the map temporarily. <a href="https://forums.themanaworld.org/viewtopic.php?p=161550#p161550">Read more details here &#xffeb;</a>
- </div>
+ <div class="specialEvent" v-if="specialEvent" v-html="specialEvent"></div>
<button v-if="!step" @click="isRecaptchaAccepted ? start() : step = -2">Begin!</button>
<div v-if="step == -2">
@@ -162,6 +160,8 @@ export default class Registration extends Vue {
recaptcha_key = process.env.VUE_APP_RECAPTCHA;
+ specialEvent = process.env.VUE_APP_EVENT?.trim() ?? ""; // special in-game events
+
async mounted () {
// already loaded (user returned to this page)
if (reCAPTCHA.isReady) {