Replace Rocket.chat with Discord

This commit is contained in:
Fabio Berger 2018-12-05 11:46:28 +00:00
parent d0b2ee7fc1
commit 0a618f6f4d
9 changed files with 14 additions and 14 deletions

View File

@ -78,7 +78,7 @@
"WEBSITE": "网站", "WEBSITE": "网站",
"DEVELOPERS": "开发人员", "DEVELOPERS": "开发人员",
"HOME": "首页", "HOME": "首页",
"ROCKETCHAT": "聊", "DISCORD": "discord chat",
"BUILD_A_RELAYER": "build a relayer", "BUILD_A_RELAYER": "build a relayer",
"BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch", "BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch",
"DEVELOP_ON_ETHEREUM": "develop on Ethereum", "DEVELOP_ON_ETHEREUM": "develop on Ethereum",

View File

@ -81,7 +81,7 @@
"WEBSITE": "website", "WEBSITE": "website",
"DEVELOPERS": "developers", "DEVELOPERS": "developers",
"HOME": "home", "HOME": "home",
"ROCKETCHAT": "rocket.chat", "DISCORD": "discord chat",
"TRADE_CALL_TO_ACTION": "trade on 0x", "TRADE_CALL_TO_ACTION": "trade on 0x",
"BUILD_A_RELAYER": "build a relayer", "BUILD_A_RELAYER": "build a relayer",
"BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch", "BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch",

View File

@ -77,7 +77,7 @@
"PORTAL_DAPP": "포털 dApp", "PORTAL_DAPP": "포털 dApp",
"WEBSITE": "Website", "WEBSITE": "Website",
"HOME": "홈", "HOME": "홈",
"ROCKETCHAT": "Rocket.chat", "DISCORD": "discord chat",
"DEVELOPERS": "개발자", "DEVELOPERS": "개발자",
"BUILD_A_RELAYER": "build a relayer", "BUILD_A_RELAYER": "build a relayer",
"BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch", "BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch",

View File

@ -76,9 +76,9 @@
"STANDARD_RELAYER_API": "standard relayer API", "STANDARD_RELAYER_API": "standard relayer API",
"PORTAL_DAPP": "DApp-портал", "PORTAL_DAPP": "DApp-портал",
"WEBSITE": "Веб-сайт", "WEBSITE": "Веб-сайт",
"DEVELOPERS": омашняя страница", "DEVELOPERS": ля разработчиков",
"HOME": "Rocket.chat", "HOME": "Домашняя страница",
"ROCKETCHAT": "Для разработчиков", "DISCORD": "discord chat",
"BUILD_A_RELAYER": "build a relayer", "BUILD_A_RELAYER": "build a relayer",
"BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch", "BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch",
"DEVELOP_ON_ETHEREUM": "develop on Ethereum", "DEVELOP_ON_ETHEREUM": "develop on Ethereum",

View File

@ -77,9 +77,9 @@
"STANDARD_RELAYER_API": "API de transmisión estándar", "STANDARD_RELAYER_API": "API de transmisión estándar",
"PORTAL_DAPP": "portal dApp", "PORTAL_DAPP": "portal dApp",
"WEBSITE": "website", "WEBSITE": "website",
"DEVELOPERS": "inicio", "DEVELOPERS": "desarrolladores",
"HOME": "rocket.chat", "HOME": "inicio",
"ROCKETCHAT": "desarrolladores", "DISCORD": "discord chat",
"BUILD_A_RELAYER": "build a relayer", "BUILD_A_RELAYER": "build a relayer",
"BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch", "BUILD_A_RELAYER_DESCRIPTION": "Learn how to build your own 0x relayer from scratch",
"DEVELOP_ON_ETHEREUM": "develop on Ethereum", "DEVELOP_ON_ETHEREUM": "develop on Ethereum",

View File

@ -71,7 +71,7 @@ export class Footer extends React.Component<FooterProps, FooterState> {
], ],
[Key.Community]: [ [Key.Community]: [
{ {
title: this.props.translate.get(Key.RocketChat, Deco.Cap), title: this.props.translate.get(Key.Discord, Deco.Cap),
to: constants.URL_ZEROEX_CHAT, to: constants.URL_ZEROEX_CHAT,
shouldOpenInNewTab: true, shouldOpenInNewTab: true,
}, },
@ -177,7 +177,7 @@ export class Footer extends React.Component<FooterProps, FooterState> {
} }
private _renderMenuItem(link: ALink): React.ReactNode { private _renderMenuItem(link: ALink): React.ReactNode {
const titleToIcon: { [title: string]: string } = { const titleToIcon: { [title: string]: string } = {
[this.props.translate.get(Key.RocketChat, Deco.Cap)]: 'rocketchat.png', [this.props.translate.get(Key.Discord, Deco.Cap)]: 'rocketchat.png',
[this.props.translate.get(Key.Blog, Deco.Cap)]: 'medium.png', [this.props.translate.get(Key.Blog, Deco.Cap)]: 'medium.png',
Twitter: 'twitter.png', Twitter: 'twitter.png',
Reddit: 'reddit.png', Reddit: 'reddit.png',

View File

@ -379,7 +379,7 @@ const sections: FAQSection[] = [
<div> <div>
Join our{' '} Join our{' '}
<a href={constants.URL_ZEROEX_CHAT} target="_blank"> <a href={constants.URL_ZEROEX_CHAT} target="_blank">
Rocket.chat Discord
</a>! As an open source project, 0x will rely on a worldwide community of passionate developers </a>! As an open source project, 0x will rely on a worldwide community of passionate developers
to contribute proposals, ideas and code. to contribute proposals, ideas and code.
</div> </div>

View File

@ -463,7 +463,7 @@ export enum Key {
Website = 'WEBSITE', Website = 'WEBSITE',
Developers = 'DEVELOPERS', Developers = 'DEVELOPERS',
Home = 'HOME', Home = 'HOME',
RocketChat = 'ROCKETCHAT', Discord = 'DISCORD',
TradeCallToAction = 'TRADE_CALL_TO_ACTION', TradeCallToAction = 'TRADE_CALL_TO_ACTION',
OurMissionAndValues = 'OUR_MISSION_AND_VALUES', OurMissionAndValues = 'OUR_MISSION_AND_VALUES',
BuildARelayer = 'BUILD_A_RELAYER', BuildARelayer = 'BUILD_A_RELAYER',

View File

@ -3,7 +3,7 @@ import { BigNumber } from '@0x/utils';
import { Key, WebsitePaths } from 'ts/types'; import { Key, WebsitePaths } from 'ts/types';
const URL_FORUM = 'https://forum.0xproject.com'; const URL_FORUM = 'https://forum.0xproject.com';
const URL_ZEROEX_CHAT = 'https://chat.0xproject.com'; const URL_ZEROEX_CHAT = 'https://discord.gg/d3FTX3M';
export const constants = { export const constants = {
DECIMAL_PLACES_ETH: 18, DECIMAL_PLACES_ETH: 18,