aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-12-06 22:10:35 +0800
committerFabio Berger <me@fabioberger.com>2018-12-06 22:10:35 +0800
commitdcad94df4c8f4587020267362ffb911f4a3caa01 (patch)
treee27e3bc13ac5fbe166ee57bf0731c1a6353260ed /packages/website/ts
parenta699a12161f5d12b5c19155f9f1fe2481be10c28 (diff)
downloaddexon-sol-tools-dcad94df4c8f4587020267362ffb911f4a3caa01.tar
dexon-sol-tools-dcad94df4c8f4587020267362ffb911f4a3caa01.tar.gz
dexon-sol-tools-dcad94df4c8f4587020267362ffb911f4a3caa01.tar.bz2
dexon-sol-tools-dcad94df4c8f4587020267362ffb911f4a3caa01.tar.lz
dexon-sol-tools-dcad94df4c8f4587020267362ffb911f4a3caa01.tar.xz
dexon-sol-tools-dcad94df4c8f4587020267362ffb911f4a3caa01.tar.zst
dexon-sol-tools-dcad94df4c8f4587020267362ffb911f4a3caa01.zip
Switch out whitepaper with 0x protocol specification
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/dropdowns/developers_drop_down.tsx4
-rw-r--r--packages/website/ts/types.ts1
-rw-r--r--packages/website/ts/utils/constants.ts2
3 files changed, 5 insertions, 2 deletions
diff --git a/packages/website/ts/components/dropdowns/developers_drop_down.tsx b/packages/website/ts/components/dropdowns/developers_drop_down.tsx
index b8a35fab0..079132f2b 100644
--- a/packages/website/ts/components/dropdowns/developers_drop_down.tsx
+++ b/packages/website/ts/components/dropdowns/developers_drop_down.tsx
@@ -53,8 +53,8 @@ const usefulLinksToLinkInfo: ALink[] = [
shouldOpenInNewTab: true,
},
{
- title: Key.Whitepaper,
- to: WebsitePaths.Whitepaper,
+ title: Key.ProtocolSpecification,
+ to: constants.URL_PROTOCOL_SPECIFICATION,
shouldOpenInNewTab: true,
},
];
diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts
index d2914dbfe..b20dd7095 100644
--- a/packages/website/ts/types.ts
+++ b/packages/website/ts/types.ts
@@ -496,6 +496,7 @@ export enum Key {
GetInTouch = 'GET_IN_TOUCH',
LearnMore = 'LEARN_MORE',
GetStarted = 'GET_STARTED',
+ ProtocolSpecification = 'PROTOCOL_SPECIFICATION',
}
export enum SmartContractDocSections {
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index 6597d51b4..715199515 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -81,6 +81,8 @@ export const constants = {
URL_GITHUB_ORG: 'https://github.com/0xProject',
URL_GITHUB_WIKI: 'https://github.com/0xProject/wiki',
URL_FORUM,
+ URL_PROTOCOL_SPECIFICATION:
+ 'https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md',
URL_METAMASK_CHROME_STORE: 'https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn',
URL_METAMASK_FIREFOX_STORE: 'https://addons.mozilla.org/en-US/firefox/addon/ether-metamask/',
URL_COINBASE_WALLET_IOS_APP_STORE: 'https://itunes.apple.com/us/app/coinbase-wallet/id1278383455?mt=8',