aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-11-16 04:47:11 +0800
committerFabio Berger <me@fabioberger.com>2018-11-16 04:47:11 +0800
commitfd4a782bdd5e3e87e731d5288eb1bafa402295bc (patch)
tree238382c5daa3dc43da3a98574c47998510de2784
parent9b1ec5baaa6011d8d0034cb823aebd7ddfc80eb3 (diff)
downloaddexon-sol-tools-fd4a782bdd5e3e87e731d5288eb1bafa402295bc.tar
dexon-sol-tools-fd4a782bdd5e3e87e731d5288eb1bafa402295bc.tar.gz
dexon-sol-tools-fd4a782bdd5e3e87e731d5288eb1bafa402295bc.tar.bz2
dexon-sol-tools-fd4a782bdd5e3e87e731d5288eb1bafa402295bc.tar.lz
dexon-sol-tools-fd4a782bdd5e3e87e731d5288eb1bafa402295bc.tar.xz
dexon-sol-tools-fd4a782bdd5e3e87e731d5288eb1bafa402295bc.tar.zst
dexon-sol-tools-fd4a782bdd5e3e87e731d5288eb1bafa402295bc.zip
Update call-to-action links
-rw-r--r--packages/website/ts/pages/launch_kit/launch_kit.tsx8
-rw-r--r--packages/website/ts/utils/constants.ts2
2 files changed, 6 insertions, 4 deletions
diff --git a/packages/website/ts/pages/launch_kit/launch_kit.tsx b/packages/website/ts/pages/launch_kit/launch_kit.tsx
index 208e84b12..1e798f093 100644
--- a/packages/website/ts/pages/launch_kit/launch_kit.tsx
+++ b/packages/website/ts/pages/launch_kit/launch_kit.tsx
@@ -127,7 +127,7 @@ export class LaunchKit extends React.Component<LaunchKitProps, LaunchKitState> {
className={`flex clearfix sm-mx-auto ${isSmallScreen ? 'justify-center' : ''}`}
>
<Container paddingRight="20px">
- <Link to={WebsitePaths.Docs}>
+ <Link to={constants.URL_LAUNCH_KIT} shouldOpenInNewTab={true}>
<Button
padding={isSmallScreen ? smallButtonPadding : largeButtonPadding}
borderRadius="4px"
@@ -140,7 +140,7 @@ export class LaunchKit extends React.Component<LaunchKitProps, LaunchKitState> {
</Link>
</Container>
<div>
- <Link to={WebsitePaths.Portal}>
+ <Link to={constants.URL_LAUNCH_KIT_BLOG_POST} shouldOpenInNewTab={true}>
<Button
backgroundColor={lighterBackgroundColor}
borderColor={colors.white}
@@ -233,7 +233,7 @@ export class LaunchKit extends React.Component<LaunchKitProps, LaunchKitState> {
paddingTop="5px"
>
<Container paddingRight="20px">
- <Link to={WebsitePaths.Docs}>
+ <Link to={constants.URL_LAUNCH_KIT} shouldOpenInNewTab={true}>
<Button
padding={isSmallScreen ? smallButtonPadding : largeButtonPadding}
borderRadius="4px"
@@ -247,7 +247,7 @@ export class LaunchKit extends React.Component<LaunchKitProps, LaunchKitState> {
</Link>
</Container>
<div>
- <Link to={constants.URL_ZEROEX_CHAT}>
+ <Link to={constants.URL_ZEROEX_CHAT} shouldOpenInNewTab={true}>
<Button
padding={isSmallScreen ? smallButtonPadding : largeButtonPadding}
borderRadius="4px"
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index 0a8a86c50..75ffe338f 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -95,6 +95,8 @@ export const constants = {
URL_TWITTER: 'https://twitter.com/0xproject',
URL_WETH_IO: 'https://weth.io/',
URL_ZEROEX_CHAT,
+ URL_LAUNCH_KIT: 'https://github.com/0xProject/0x-launch-kit',
+ URL_LAUNCH_KIT_BLOG_POST: 'https://blog.0xproject.com',
URL_WEB3_DOCS: 'https://github.com/ethereum/wiki/wiki/JavaScript-API',
URL_WEB3_DECODED_LOG_ENTRY_EVENT:
'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L123',