mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Update team and add discord contact config (#143)
Update team and add Discord contact config
This commit is contained in:
committed by
Eliot Partridge
parent
7a34b2cb38
commit
c61174f32f
@@ -148,6 +148,7 @@ Add `config.json` file in root directory with following content. You can use `co
|
|||||||
{
|
{
|
||||||
"title": "Pony Town",
|
"title": "Pony Town",
|
||||||
"discordLink": "https://discordapp.com/invite/<invite_code>", // optional
|
"discordLink": "https://discordapp.com/invite/<invite_code>", // optional
|
||||||
|
"contactDiscord": "your_contact_discord#0000", // optional
|
||||||
"twitterLink": "https://twitter.com/<twitter_name>", // optional
|
"twitterLink": "https://twitter.com/<twitter_name>", // optional
|
||||||
"contactEmail": "<your_contact_email>",
|
"contactEmail": "<your_contact_email>",
|
||||||
"port": 8090,
|
"port": 8090,
|
||||||
|
|||||||
BIN
Binary file not shown.
@@ -3,6 +3,7 @@
|
|||||||
"discordLink": "<LINK_TO_DISCORD_INVITE>",
|
"discordLink": "<LINK_TO_DISCORD_INVITE>",
|
||||||
"twitterLink": "<LINK_TO_TWITTER>",
|
"twitterLink": "<LINK_TO_TWITTER>",
|
||||||
"contactEmail": "[email protected]",
|
"contactEmail": "[email protected]",
|
||||||
|
"contactDiscord": "your_contact_discord#0000",
|
||||||
"port": 8090,
|
"port": 8090,
|
||||||
"adminPort": 8091,
|
"adminPort": 8091,
|
||||||
"host": "http://localhost:8090/",
|
"host": "http://localhost:8090/",
|
||||||
|
|||||||
+18
-13
@@ -30,12 +30,6 @@ export const CREDITS: Credit[] = [
|
|||||||
avatarIndex: 0,
|
avatarIndex: 0,
|
||||||
links: ['https://twitter.com/BytewaveMLP', 'https://github.com/BytewaveMLP']
|
links: ['https://twitter.com/BytewaveMLP', 'https://github.com/BytewaveMLP']
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'Cloud Hop',
|
|
||||||
title: 'Programmer',
|
|
||||||
avatarIndex: 1,
|
|
||||||
links: ['https://twitter.com/blackhole0173', 'https://github.com/blackhole12']
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'CyberPon3',
|
name: 'CyberPon3',
|
||||||
title: 'Programmer / Moderator',
|
title: 'Programmer / Moderator',
|
||||||
@@ -48,24 +42,36 @@ export const CREDITS: Credit[] = [
|
|||||||
avatarIndex: 3,
|
avatarIndex: 3,
|
||||||
links: ['https://github.com/Keupoz']
|
links: ['https://github.com/Keupoz']
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'NotMyWing',
|
|
||||||
title: 'Programmer / Moderator',
|
|
||||||
avatarIndex: 4,
|
|
||||||
links: ['https://twitter.com/NotMyWing', 'https://github.com/Neeve01']
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'Luney',
|
name: 'Luney',
|
||||||
title: 'Programmer',
|
title: 'Programmer',
|
||||||
avatarIndex: 5,
|
avatarIndex: 5,
|
||||||
links: ['https://twitter.com/luneythesnep', 'https://github.com/LunarMist']
|
links: ['https://twitter.com/luneythesnep', 'https://github.com/LunarMist']
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'MysticBlare',
|
||||||
|
title: 'Artist',
|
||||||
|
avatarIndex: 1,
|
||||||
|
links: ['https://twitter.com/MysticBlare']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'NotMyWing',
|
||||||
|
title: 'Programmer / Moderator',
|
||||||
|
avatarIndex: 4,
|
||||||
|
links: ['https://twitter.com/NotMyWing', 'https://github.com/Neeve01']
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'Stubenhocker',
|
name: 'Stubenhocker',
|
||||||
title: 'Programmer',
|
title: 'Programmer',
|
||||||
avatarIndex: 6,
|
avatarIndex: 6,
|
||||||
links: ['https://github.com/Stubenhocker1399', 'https://twitter.com/Stubenhocker13']
|
links: ['https://github.com/Stubenhocker1399', 'https://twitter.com/Stubenhocker13']
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Sunberry',
|
||||||
|
title: 'Moderator',
|
||||||
|
avatarIndex: 9,
|
||||||
|
links: ['https://twitter.com/Sunberreiy']
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'Terncode',
|
name: 'Terncode',
|
||||||
title: 'Programmer',
|
title: 'Programmer',
|
||||||
@@ -118,7 +124,6 @@ export const CONTRIBUTORS: Contributors[] = [
|
|||||||
{ name: 'Wellfugzee' },
|
{ name: 'Wellfugzee' },
|
||||||
{ name: 'ScribblesHeart', links: ['https://www.deviantart.com/scribblesdesu'] },
|
{ name: 'ScribblesHeart', links: ['https://www.deviantart.com/scribblesdesu'] },
|
||||||
{ name: 'dsp2003', links: ['https://dsp2003.tumblr.com/', 'http://www.deviantart.com/dsp2003'] },
|
{ name: 'dsp2003', links: ['https://dsp2003.tumblr.com/', 'http://www.deviantart.com/dsp2003'] },
|
||||||
{ name: 'MysticBlare', links: ['https://twitter.com/MysticBlare'] },
|
|
||||||
{ name: 'Towmacow Waffles', links: ['https://www.deviantart.com/towmacowwaffles'] },
|
{ name: 'Towmacow Waffles', links: ['https://www.deviantart.com/towmacowwaffles'] },
|
||||||
{ name: 'OrchidPony', links: ['https://www.deviantart.com/orchidpony'] },
|
{ name: 'OrchidPony', links: ['https://www.deviantart.com/orchidpony'] },
|
||||||
{ name: 'Cherry Cerise', links: ['https://www.deviantart.com/cherryceriseart'] },
|
{ name: 'Cherry Cerise', links: ['https://www.deviantart.com/cherryceriseart'] },
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ export const discordLink = attr('data-discord-link');
|
|||||||
export const twitterLink = attr('data-twitter-link');
|
export const twitterLink = attr('data-twitter-link');
|
||||||
export const contactEmail = attr('data-email');
|
export const contactEmail = attr('data-email');
|
||||||
export const copyrightName = attr('data-copyright');
|
export const copyrightName = attr('data-copyright');
|
||||||
|
export const contactDiscord = attr('data-contact-discord');
|
||||||
|
|
||||||
/* istanbul ignore next */
|
/* istanbul ignore next */
|
||||||
export const oauthProviders = json<OAuthProvider[]>('oauth-providers', '[]')
|
export const oauthProviders = json<OAuthProvider[]>('oauth-providers', '[]')
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ h1(focusTitle) About
|
|||||||
|
|
||||||
h2 Contact
|
h2 Contact
|
||||||
p For all inquiries please send an email to #[b {{contactEmail}}]
|
p For all inquiries please send an email to #[b {{contactEmail}}]
|
||||||
|
span(*ngIf="contactDiscord")
|
||||||
|
| or message #[b {{contactDiscord}}] on Discord
|
||||||
|
| .
|
||||||
|
|
||||||
h2 Technology
|
h2 Technology
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { getUrl } from '../../../client/rev';
|
|||||||
import { CREDITS, CONTRIBUTORS, Credit } from '../../../client/credits';
|
import { CREDITS, CONTRIBUTORS, Credit } from '../../../client/credits';
|
||||||
import { CHANGELOG } from '../../../generated/changelog';
|
import { CHANGELOG } from '../../../generated/changelog';
|
||||||
import { SUPPORTER_REWARDS_LIST } from '../../../common/constants';
|
import { SUPPORTER_REWARDS_LIST } from '../../../common/constants';
|
||||||
import { discordLink, contactEmail } from '../../../client/data';
|
import { discordLink, contactEmail, contactDiscord } from '../../../client/data';
|
||||||
|
|
||||||
function toCredit(credit: Credit) {
|
function toCredit(credit: Credit) {
|
||||||
return {
|
return {
|
||||||
@@ -28,4 +28,5 @@ export class About {
|
|||||||
readonly rewards = SUPPORTER_REWARDS_LIST;
|
readonly rewards = SUPPORTER_REWARDS_LIST;
|
||||||
readonly discordLink = discordLink;
|
readonly discordLink = discordLink;
|
||||||
readonly contactEmail = contactEmail;
|
readonly contactEmail = contactEmail;
|
||||||
|
readonly contactDiscord = contactDiscord;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';
|
|||||||
import { Subscription } from 'rxjs';
|
import { Subscription } from 'rxjs';
|
||||||
import { GameService } from '../services/gameService';
|
import { GameService } from '../services/gameService';
|
||||||
import { Model, Friend } from '../services/model';
|
import { Model, Friend } from '../services/model';
|
||||||
import { version, host, contactEmail, twitterLink, discordLink, copyrightName } from '../../client/data';
|
import { version, host, contactEmail, twitterLink, discordLink, copyrightName, contactDiscord } from '../../client/data';
|
||||||
import { PonyTownGame } from '../../client/game';
|
import { PonyTownGame } from '../../client/game';
|
||||||
import { faTwitter, faPatreon, faDiscord, faEnvelope, faCog, faHome, faInfoCircle, faHorseHead, faQuestionCircle } from '../../client/icons';
|
import { faTwitter, faPatreon, faDiscord, faEnvelope, faCog, faHome, faInfoCircle, faHorseHead, faQuestionCircle } from '../../client/icons';
|
||||||
import { OAuthProvider, Entity, FakeEntity, Pony } from '../../common/interfaces';
|
import { OAuthProvider, Entity, FakeEntity, Pony } from '../../common/interfaces';
|
||||||
@@ -53,6 +53,7 @@ export class App implements OnInit, OnDestroy {
|
|||||||
readonly aboutIcon = faInfoCircle;
|
readonly aboutIcon = faInfoCircle;
|
||||||
readonly charactersIcon = faHorseHead;
|
readonly charactersIcon = faHorseHead;
|
||||||
readonly contactEmail = contactEmail;
|
readonly contactEmail = contactEmail;
|
||||||
|
readonly contactDiscord = contactDiscord;
|
||||||
readonly discordLink = discordLink;
|
readonly discordLink = discordLink;
|
||||||
readonly twitterLink = twitterLink;
|
readonly twitterLink = twitterLink;
|
||||||
readonly copyright = copyrightName;
|
readonly copyright = copyrightName;
|
||||||
|
|||||||
@@ -5,9 +5,12 @@ h1(focusTitle) Help
|
|||||||
|
|
||||||
section
|
section
|
||||||
h2 Contact
|
h2 Contact
|
||||||
p.
|
p
|
||||||
For technical issues, see the #[a(routerLink="/help" fragment="issues") Common Issues] section. If it doesn't solve your problem,
|
| For technical issues, see the #[a(routerLink="/help" fragment="issues") Common Issues] section. If it doesn't solve your problem,
|
||||||
send an email to #[b {{contactEmail}}].
|
| send an email to #[b {{contactEmail}}]
|
||||||
|
span(*ngIf="contactDiscord")
|
||||||
|
| or message #[b {{contactDiscord}}] on Discord
|
||||||
|
| .
|
||||||
|
|
||||||
section
|
section
|
||||||
h2 Controls
|
h2 Controls
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { emojis } from '../../../client/emoji';
|
import { emojis } from '../../../client/emoji';
|
||||||
import { faArrowLeft, faArrowRight, faArrowUp, faArrowDown } from '../../../client/icons';
|
import { faArrowLeft, faArrowRight, faArrowUp, faArrowDown } from '../../../client/icons';
|
||||||
import { contactEmail } from '../../../client/data';
|
import { contactEmail, contactDiscord } from '../../../client/data';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -17,6 +17,7 @@ export class Help {
|
|||||||
readonly emotes = emojis.map(e => e.names[0]);
|
readonly emotes = emojis.map(e => e.names[0]);
|
||||||
readonly mac = /Macintosh/.test(navigator.userAgent);
|
readonly mac = /Macintosh/.test(navigator.userAgent);
|
||||||
readonly contactEmail = contactEmail;
|
readonly contactEmail = contactEmail;
|
||||||
|
readonly contactDiscord = contactDiscord;
|
||||||
|
|
||||||
// allow scrolling to #issues and #rules fragments
|
// allow scrolling to #issues and #rules fragments
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ export interface AppConfig {
|
|||||||
supporterLink?: string;
|
supporterLink?: string;
|
||||||
discordLink?: string;
|
discordLink?: string;
|
||||||
contactEmail?: string;
|
contactEmail?: string;
|
||||||
|
contactDiscord?: string;
|
||||||
port: number;
|
port: number;
|
||||||
adminPort?: number;
|
adminPort?: number;
|
||||||
host: string;
|
host: string;
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ export function createIndex(assetsPath: string, adminAssetsPath: string) {
|
|||||||
twitterLink: config.twitterLink,
|
twitterLink: config.twitterLink,
|
||||||
discordLink: config.discordLink,
|
discordLink: config.discordLink,
|
||||||
email: config.contactEmail,
|
email: config.contactEmail,
|
||||||
|
contactDiscord: config.contactDiscord,
|
||||||
logo: `${config.host}${getRevImageURL('logo-120.png')}`,
|
logo: `${config.host}${getRevImageURL('logo-120.png')}`,
|
||||||
loadingImage: `data:image/png;base64,${loadingImage.toString('base64')}`,
|
loadingImage: `data:image/png;base64,${loadingImage.toString('base64')}`,
|
||||||
version,
|
version,
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ html(lang="en")
|
|||||||
data-discord-link=discordLink
|
data-discord-link=discordLink
|
||||||
data-twitter-link=twitterLink
|
data-twitter-link=twitterLink
|
||||||
data-email=email
|
data-email=email
|
||||||
|
data-contact-discord=contactDiscord
|
||||||
data-copyright=title
|
data-copyright=title
|
||||||
data-host=host
|
data-host=host
|
||||||
data-local=local
|
data-local=local
|
||||||
|
|||||||
Reference in New Issue
Block a user