aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-18 06:10:51 +0800
committerFabio Berger <me@fabioberger.com>2017-12-18 06:10:51 +0800
commit681617480ab8323cc81e1fc1e7a4f31a84b8b548 (patch)
treeb737d5176c264f7aa889b2229597fb366e7f745d /packages/website/ts
parent95dfac6f9bbf8cf0de2038cfbd4eabb53b979fcd (diff)
downloaddexon-sol-tools-681617480ab8323cc81e1fc1e7a4f31a84b8b548.tar
dexon-sol-tools-681617480ab8323cc81e1fc1e7a4f31a84b8b548.tar.gz
dexon-sol-tools-681617480ab8323cc81e1fc1e7a4f31a84b8b548.tar.bz2
dexon-sol-tools-681617480ab8323cc81e1fc1e7a4f31a84b8b548.tar.lz
dexon-sol-tools-681617480ab8323cc81e1fc1e7a4f31a84b8b548.tar.xz
dexon-sol-tools-681617480ab8323cc81e1fc1e7a4f31a84b8b548.tar.zst
dexon-sol-tools-681617480ab8323cc81e1fc1e7a4f31a84b8b548.zip
Move weth.io url to constants
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/eth_wrappers.tsx2
-rw-r--r--packages/website/ts/utils/constants.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/components/eth_wrappers.tsx b/packages/website/ts/components/eth_wrappers.tsx
index 3ffb05ce0..1a223a05e 100644
--- a/packages/website/ts/components/eth_wrappers.tsx
+++ b/packages/website/ts/components/eth_wrappers.tsx
@@ -99,7 +99,7 @@ export class EthWrappers extends React.Component<EthWrappersProps, EthWrappersSt
<div className="absolute" style={{top: 0, right: 0}}>
<a
target="_blank"
- href="https://weth.io/"
+ href={constants.WETH_IO_URL}
style={{color: LIGHT_GRAY}}
>
<div className="flex">
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index fb81dd9a9..8f645c770 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -83,6 +83,7 @@ export const constants = {
WEB3_DECODED_LOG_ENTRY_EVENT_URL:
'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L123',
WEB3_LOG_ENTRY_EVENT_URL: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L127',
+ WETH_IO_URL: 'https://weth.io/',
ZEROEX_CHAT_URL: 'https://chat.0xproject.com',
// Projects
ETHFINEX_URL: 'https://www.bitfinex.com/ethfinex',