aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-01-18 15:20:34 +0800
committerFabio Berger <me@fabioberger.com>2018-01-18 15:20:34 +0800
commit807d9e3eef883541c4f43838e6ca702b120974e1 (patch)
tree31017bd052ed054eee9b0e622fa4786bd495fd85 /packages
parent9e569b37912cf11fabad7fbc47bf9343c67a354e (diff)
downloaddexon-sol-tools-807d9e3eef883541c4f43838e6ca702b120974e1.tar
dexon-sol-tools-807d9e3eef883541c4f43838e6ca702b120974e1.tar.gz
dexon-sol-tools-807d9e3eef883541c4f43838e6ca702b120974e1.tar.bz2
dexon-sol-tools-807d9e3eef883541c4f43838e6ca702b120974e1.tar.lz
dexon-sol-tools-807d9e3eef883541c4f43838e6ca702b120974e1.tar.xz
dexon-sol-tools-807d9e3eef883541c4f43838e6ca702b120974e1.tar.zst
dexon-sol-tools-807d9e3eef883541c4f43838e6ca702b120974e1.zip
Add discourse forum to Community section of website footer
Diffstat (limited to 'packages')
-rw-r--r--packages/website/public/images/social/discourse.pngbin0 -> 1454 bytes
-rw-r--r--packages/website/ts/components/footer.tsx6
-rw-r--r--packages/website/ts/utils/constants.ts1
3 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/public/images/social/discourse.png b/packages/website/public/images/social/discourse.png
new file mode 100644
index 000000000..4bca3de0d
--- /dev/null
+++ b/packages/website/public/images/social/discourse.png
Binary files differ
diff --git a/packages/website/ts/components/footer.tsx b/packages/website/ts/components/footer.tsx
index 22baf076b..a0f1a0c96 100644
--- a/packages/website/ts/components/footer.tsx
+++ b/packages/website/ts/components/footer.tsx
@@ -71,6 +71,11 @@ const menuItemsBySection: MenuItemsBySection = {
isExternal: true,
path: constants.URL_REDDIT,
},
+ {
+ title: 'Forum',
+ isExternal: true,
+ path: constants.URL_DISCOURSE_FORUM,
+ },
],
Organization: [
{
@@ -100,6 +105,7 @@ const titleToIcon: { [title: string]: string } = {
Blog: 'medium.png',
Twitter: 'twitter.png',
Reddit: 'reddit.png',
+ Forum: 'discourse.png',
};
export interface FooterProps {}
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index 3fc1e6397..dded82114 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -65,6 +65,7 @@ export const constants = {
URL_BIGNUMBERJS_GITHUB: 'http://mikemcl.github.io/bignumber.js',
URL_BITLY_API: 'https://api-ssl.bitly.com',
URL_BLOG: 'https://blog.0xproject.com/latest',
+ URL_DISCOURSE_FORUM: 'https://forum.0xproject.com',
URL_FIREFOX_U2F_ADDON: 'https://addons.mozilla.org/en-US/firefox/addon/u2f-support-add-on/',
URL_ETHER_FAUCET: 'https://faucet.0xproject.com',
URL_GITHUB_ORG: 'https://github.com/0xProject',