diff options
-rw-r--r-- | packages/website/README.md | 1 | ||||
-rw-r--r-- | packages/website/translations/chinese.json | 1 | ||||
-rw-r--r-- | packages/website/translations/english.json | 1 | ||||
-rw-r--r-- | packages/website/translations/korean.json | 1 | ||||
-rw-r--r-- | packages/website/translations/russian.json | 1 | ||||
-rw-r--r-- | packages/website/translations/spanish.json | 1 | ||||
-rw-r--r-- | packages/website/ts/components/dropdowns/developers_drop_down.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/types.ts | 1 | ||||
-rw-r--r-- | packages/website/ts/utils/constants.ts | 2 |
9 files changed, 10 insertions, 3 deletions
diff --git a/packages/website/README.md b/packages/website/README.md index d82d045a6..f735b0df5 100644 --- a/packages/website/README.md +++ b/packages/website/README.md @@ -3,7 +3,6 @@ This repository contains our website and [0x Portal DApp][portal-url] (over-the-counter exchange), facilitating trustless over-the-counter trading of Ethereum-based tokens using 0x protocol. [website-url]: https://0xproject.com/ -[whitepaper-url]: https://0xproject.com/pdfs/0x_white_paper.pdf [portal-url]: https://0xproject.com/portal ## Contributing diff --git a/packages/website/translations/chinese.json b/packages/website/translations/chinese.json index 2b1f2a3f5..b99a3cdcb 100644 --- a/packages/website/translations/chinese.json +++ b/packages/website/translations/chinese.json @@ -67,6 +67,7 @@ "BLOG": "博客", "FORUM": "论坛", "CONNECT": "0x 连接", + "PROTOCOL_SPECIFICATION": "protocol specification", "WHITEPAPER": "白皮书", "WIKI": "维基", "WEB3_WRAPPER": "Web3Wrapper", diff --git a/packages/website/translations/english.json b/packages/website/translations/english.json index b2799e264..78f29d0f6 100644 --- a/packages/website/translations/english.json +++ b/packages/website/translations/english.json @@ -69,6 +69,7 @@ "BLOG": "blog", "FORUM": "forum", "CONNECT": "0x Connect", + "PROTOCOL_SPECIFICATION": "protocol specification", "WHITEPAPER": "whitepaper", "WIKI": "wiki", "WEB3_WRAPPER": "Web3Wrapper", diff --git a/packages/website/translations/korean.json b/packages/website/translations/korean.json index 61c431a5a..a421ffb94 100644 --- a/packages/website/translations/korean.json +++ b/packages/website/translations/korean.json @@ -67,6 +67,7 @@ "BLOG": "블로그", "FORUM": "포럼", "CONNECT": "0x Connect", + "PROTOCOL_SPECIFICATION": "protocol specification", "WHITEPAPER": "백서", "WIKI": "위키", "WEB3_WRAPPER": "Web3Wrapper", diff --git a/packages/website/translations/russian.json b/packages/website/translations/russian.json index 3180d4a8e..b3ea29cf3 100644 --- a/packages/website/translations/russian.json +++ b/packages/website/translations/russian.json @@ -67,6 +67,7 @@ "BLOG": "Блог", "FORUM": "Форум", "CONNECT": "0x Connect", + "PROTOCOL_SPECIFICATION": "protocol specification", "WHITEPAPER": "Whitepaper", "WIKI": "Вики", "WEB3_WRAPPER": "Web3Wrapper", diff --git a/packages/website/translations/spanish.json b/packages/website/translations/spanish.json index c23bd609b..db75312c5 100644 --- a/packages/website/translations/spanish.json +++ b/packages/website/translations/spanish.json @@ -68,6 +68,7 @@ "BLOG": "blog", "FORUM": "foro", "CONNECT": "0x Connect", + "PROTOCOL_SPECIFICATION": "protocol specification", "WHITEPAPER": "documento técnico", "WIKI": "wiki", "WEB3_WRAPPER": "Web3Wrapper", 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', |