mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-25 06:05:52 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user