diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-18 07:39:22 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-12-18 07:39:22 +0800 |
commit | 64e84a35106717e569a8268494af83732eda7fd3 (patch) | |
tree | 69b6261a4871856143d93e468258d1114437e749 | |
parent | 4cf3172c900f9b7ea7102ff2785932e8c9f473ca (diff) | |
download | dexon-sol-tools-64e84a35106717e569a8268494af83732eda7fd3.tar dexon-sol-tools-64e84a35106717e569a8268494af83732eda7fd3.tar.gz dexon-sol-tools-64e84a35106717e569a8268494af83732eda7fd3.tar.bz2 dexon-sol-tools-64e84a35106717e569a8268494af83732eda7fd3.tar.lz dexon-sol-tools-64e84a35106717e569a8268494af83732eda7fd3.tar.xz dexon-sol-tools-64e84a35106717e569a8268494af83732eda7fd3.tar.zst dexon-sol-tools-64e84a35106717e569a8268494af83732eda7fd3.zip |
feat: fix blog link
-rw-r--r-- | packages/website/ts/@next/components/footer.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/components/header.tsx | 3 | ||||
-rw-r--r-- | packages/website/ts/utils/constants.ts | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/footer.tsx b/packages/website/ts/@next/components/footer.tsx index fedae5a1b..1e4d7789b 100644 --- a/packages/website/ts/@next/components/footer.tsx +++ b/packages/website/ts/@next/components/footer.tsx @@ -41,7 +41,7 @@ const linkRows: LinkRows[] = [ links: [ { url: WebsitePaths.Docs, text: 'Documentation' }, { url: constants.URL_GITHUB_ORG, text: 'GitHub', shouldOpenInNewTab: true }, - { url: constants.URL_PROTOCOL_SPECIFICATION, text: 'Protocol Spec', shouldOpenInNewTab: true }, + { url: constants.URL_PROTOCOL_SPECIFICATION, text: 'Protogcol Spec', shouldOpenInNewTab: true }, ], }, { diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx index 00d45f123..e6b49e395 100644 --- a/packages/website/ts/@next/components/header.tsx +++ b/packages/website/ts/@next/components/header.tsx @@ -15,6 +15,7 @@ import { MobileNav } from 'ts/@next/components/mobileNav'; import { FlexWrap } from 'ts/@next/components/newLayout'; import { ThemeValuesInterface } from 'ts/@next/components/siteWrap'; import { WebsitePaths } from 'ts/types'; +import { constants } from 'ts/utils/constants'; interface HeaderProps { location?: Location; @@ -61,7 +62,7 @@ const navItems: NavItemProps[] = [ }, { id: 'blog', - url: 'https://blog.0xproject.com/latest', + url: constants.URL_BLOG, shouldOpenInNewTab: true, text: 'Blog', }, diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts index 0256ccd57..9cc5bf8a5 100644 --- a/packages/website/ts/utils/constants.ts +++ b/packages/website/ts/utils/constants.ts @@ -74,7 +74,7 @@ export const constants = { URL_ANGELLIST: 'https://angel.co/0xproject/jobs', URL_APACHE_LICENSE: 'http://www.apache.org/licenses/LICENSE-2.0', URL_BITLY_API: 'https://api-ssl.bitly.com', - URL_BLOG: 'https://blog.0x.org/latest', + URL_BLOG: 'https://blog.0xproject.com/latest', URL_DISCOURSE_FORUM: 'https://forum.0x.org', URL_FIREFOX_U2F_ADDON: 'https://addons.mozilla.org/en-US/firefox/addon/u2f-support-add-on/', URL_TESTNET_FAUCET: 'https://faucet.0x.org', |