aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-18 08:56:00 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-18 08:56:00 +0800
commite5815538e492e3758b8c9c985472d0fe73df3930 (patch)
tree7d6e49f639f3848589d3d912615e4b74e8ed24cd /packages
parent2c24cff9503faed373efc2f1f02e71d2cead4b4f (diff)
downloaddexon-sol-tools-e5815538e492e3758b8c9c985472d0fe73df3930.tar
dexon-sol-tools-e5815538e492e3758b8c9c985472d0fe73df3930.tar.gz
dexon-sol-tools-e5815538e492e3758b8c9c985472d0fe73df3930.tar.bz2
dexon-sol-tools-e5815538e492e3758b8c9c985472d0fe73df3930.tar.lz
dexon-sol-tools-e5815538e492e3758b8c9c985472d0fe73df3930.tar.xz
dexon-sol-tools-e5815538e492e3758b8c9c985472d0fe73df3930.tar.zst
dexon-sol-tools-e5815538e492e3758b8c9c985472d0fe73df3930.zip
Use constants
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/@next/pages/launch_kit.tsx14
1 files changed, 5 insertions, 9 deletions
diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx
index 7b15e5352..67fd5ee57 100644
--- a/packages/website/ts/@next/pages/launch_kit.tsx
+++ b/packages/website/ts/@next/pages/launch_kit.tsx
@@ -10,9 +10,9 @@ import { Icon } from 'ts/@next/components/icon';
import { SiteWrap } from 'ts/@next/components/siteWrap';
import { Section } from 'ts/@next/components/newLayout';
-import { ModalContact } from '../components/modals/modal_contact';
+import { constants } from 'ts/utils/constants';
-import { WebsitePaths } from 'ts/types';
+import { ModalContact } from '../components/modals/modal_contact';
const offersData = [
{
@@ -91,7 +91,7 @@ export class NextLaunchKit extends React.Component {
subline="Dive into our docs, or contact us if needed"
mainCta={{
text: 'Get Started',
- href: 'https://github.com/0xProject/0x-launch-kit/#table-of-contents',
+ href: `${constants.URL_LAUNCH_KIT}/#table-of-contents`,
shouldOpenInNewTab: true,
}}
secondaryCta={{ text: 'Get in Touch', onClick: this._onOpenContactModal.bind(this) }}
@@ -112,15 +112,11 @@ export class NextLaunchKit extends React.Component {
const HeroActions = () => (
<React.Fragment>
- <Button href="https://github.com/0xProject/0x-launch-kit" isInline={true} target="_blank">
+ <Button href={constants.URL_LAUNCH_KIT} isInline={true} target="_blank">
Get Started
</Button>
- <Button
- to={'https://blog.0xproject.com/introducing-the-0x-launch-kit-4acdc3453585'}
- isTransparent={true}
- isInline={true}
- >
+ <Button to={constants.URL_LAUNCH_KIT_BLOG_POST} isTransparent={true} isInline={true}>
Learn More
</Button>
</React.Fragment>