aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-12-06 22:10:35 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:19:26 +0800
commit075fa315e7c409ea33f2e9435d8ba25d61c2f41e (patch)
tree36f30de88eea4264f4ef65fd2ae734d3e37edb6f /packages/website/ts
parentfc5f0c9863859283cca02ae06df1dea6fb2867e4 (diff)
downloaddexon-sol-tools-075fa315e7c409ea33f2e9435d8ba25d61c2f41e.tar
dexon-sol-tools-075fa315e7c409ea33f2e9435d8ba25d61c2f41e.tar.gz
dexon-sol-tools-075fa315e7c409ea33f2e9435d8ba25d61c2f41e.tar.bz2
dexon-sol-tools-075fa315e7c409ea33f2e9435d8ba25d61c2f41e.tar.lz
dexon-sol-tools-075fa315e7c409ea33f2e9435d8ba25d61c2f41e.tar.xz
dexon-sol-tools-075fa315e7c409ea33f2e9435d8ba25d61c2f41e.tar.zst
dexon-sol-tools-075fa315e7c409ea33f2e9435d8ba25d61c2f41e.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',