aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-28 02:51:30 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-28 02:51:30 +0800
commitc851c3763060ca4cf9e37d75e36e534f9b7d9294 (patch)
tree82bb74e4521804377869c099cf5eba019f06d4d5 /packages/website/ts/utils
parenta0d7b1efa59cf7322a97ef75268c372068592976 (diff)
parent44d1be27e626c4e80ccf80d3f070a890c45f02ac (diff)
downloaddexon-sol-tools-c851c3763060ca4cf9e37d75e36e534f9b7d9294.tar
dexon-sol-tools-c851c3763060ca4cf9e37d75e36e534f9b7d9294.tar.gz
dexon-sol-tools-c851c3763060ca4cf9e37d75e36e534f9b7d9294.tar.bz2
dexon-sol-tools-c851c3763060ca4cf9e37d75e36e534f9b7d9294.tar.lz
dexon-sol-tools-c851c3763060ca4cf9e37d75e36e534f9b7d9294.tar.xz
dexon-sol-tools-c851c3763060ca4cf9e37d75e36e534f9b7d9294.tar.zst
dexon-sol-tools-c851c3763060ca4cf9e37d75e36e534f9b7d9294.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/website/upgrade-allowance-toggles-to-locks-and-checks
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/constants.ts2
-rw-r--r--packages/website/ts/utils/utils.ts3
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index 20441cd75..005d17823 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -41,6 +41,7 @@ export const constants = {
TAKER_FEE: new BigNumber(0),
TESTNET_NAME: 'Kovan',
NUMERAL_USD_FORMAT: '$0,0.00',
+ EMAIL_JOBS: 'jobs@0xproject.com',
PROJECT_URL_ETHFINEX: 'https://www.ethfinex.com/',
PROJECT_URL_AMADEUS: 'http://amadeusrelay.org',
PROJECT_URL_DDEX: 'https://ddex.io',
@@ -92,4 +93,5 @@ export const constants = {
URL_WEB3_LOG_ENTRY_EVENT: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L127',
URL_WEB3_PROVIDER_DOCS: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L150',
URL_BIGNUMBERJS_GITHUB: 'http://mikemcl.github.io/bignumber.js',
+ URL_MISSION_AND_VALUES_BLOG_POST: 'https://blog.0xproject.com/the-0x-mission-and-values-181a58706f9f',
};
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 439af5e4b..39bbd404c 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -363,9 +363,6 @@ export const utils = {
}
return Environments.UNKNOWN;
},
- shouldShowJobsPage(): boolean {
- return utils.isDevelopment() || utils.isStaging() || utils.isDogfood();
- },
getEthToken(tokenByAddress: TokenByAddress): Token {
return utils.getTokenBySymbol(constants.ETHER_TOKEN_SYMBOL, tokenByAddress);
},