Add "Join Discord" button

Based of the patreon supporter button.
Add a key "discordLink" to the config.json file and set it to your
Discord invite link.
This commit is contained in:
Stubenhocker1399
2019-09-07 22:22:00 +02:00
parent cba4e94da2
commit 9f30d98895
18 changed files with 186 additions and 6 deletions
@@ -1,5 +1,5 @@
import { Component } from '@angular/core';
import { supporterLink } from '../../../client/data';
import { supporterLink, discordLink } from '../../../client/data';
import { GENERAL_RULES } from '../../../common/constants';
@Component({
@@ -8,5 +8,6 @@ import { GENERAL_RULES } from '../../../common/constants';
})
export class PlayNotice {
readonly patreonLink = supporterLink;
readonly discordLink = discordLink;
readonly rules = GENERAL_RULES;
}