aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/README.md1
-rw-r--r--packages/website/public/images/social/discord.pngbin0 -> 858 bytes
-rw-r--r--packages/website/public/images/social/rocketchat.pngbin1587 -> 0 bytes
-rw-r--r--packages/website/translations/chinese.json1
-rw-r--r--packages/website/translations/english.json1
-rw-r--r--packages/website/translations/korean.json1
-rw-r--r--packages/website/translations/russian.json1
-rw-r--r--packages/website/translations/spanish.json1
-rw-r--r--packages/website/ts/components/dropdowns/developers_drop_down.tsx4
-rw-r--r--packages/website/ts/components/footer.tsx2
-rw-r--r--packages/website/ts/types.ts1
-rw-r--r--packages/website/ts/utils/constants.ts2
12 files changed, 11 insertions, 4 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/public/images/social/discord.png b/packages/website/public/images/social/discord.png
new file mode 100644
index 000000000..1bdb07394
--- /dev/null
+++ b/packages/website/public/images/social/discord.png
Binary files differ
diff --git a/packages/website/public/images/social/rocketchat.png b/packages/website/public/images/social/rocketchat.png
deleted file mode 100644
index 58ff8d293..000000000
--- a/packages/website/public/images/social/rocketchat.png
+++ /dev/null
Binary files differ
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/components/footer.tsx b/packages/website/ts/components/footer.tsx
index 57071ee29..1098d6d0b 100644
--- a/packages/website/ts/components/footer.tsx
+++ b/packages/website/ts/components/footer.tsx
@@ -177,7 +177,7 @@ export class Footer extends React.Component<FooterProps, FooterState> {
}
private _renderMenuItem(link: ALink): React.ReactNode {
const titleToIcon: { [title: string]: string } = {
- [this.props.translate.get(Key.Discord, Deco.Cap)]: 'rocketchat.png',
+ [this.props.translate.get(Key.Discord, Deco.Cap)]: 'discord.png',
[this.props.translate.get(Key.Blog, Deco.Cap)]: 'medium.png',
Twitter: 'twitter.png',
Reddit: 'reddit.png',
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',