From e5815538e492e3758b8c9c985472d0fe73df3930 Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Mon, 17 Dec 2018 16:56:00 -0800 Subject: Use constants --- packages/website/ts/@next/pages/launch_kit.tsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'packages/website/ts') 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 = () => ( - - -- cgit v1.2.3