From 388c7afb5029d733e59ee86b6af211e93df71f7a Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 12:49:27 +0100 Subject: Added launch kit page --- packages/website/ts/@next/pages/launch_kit.tsx | 177 +++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 packages/website/ts/@next/pages/launch_kit.tsx (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx new file mode 100644 index 000000000..9318d8a6a --- /dev/null +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -0,0 +1,177 @@ +import * as _ from 'lodash'; +import * as React from 'react'; +import AnchorLink from 'react-anchor-link-smooth-scroll'; +import styled from 'styled-components'; + +import { colors } from 'ts/style/colors'; + +import {Hero} from 'ts/@next/components/hero'; + +import { Banner } from 'ts/@next/components/banner'; +import { Button } from 'ts/@next/components/button'; +import { Icon } from 'ts/@next/components/icon'; +import { SiteWrap } from 'ts/@next/components/siteWrap'; +import { Slide, Slider } from 'ts/@next/components/slider/slider'; +import { Heading, Paragraph } from 'ts/@next/components/text'; + +import {Definition} from 'ts/@next/components/definition'; +import {Column, Section, WrapSticky} from 'ts/@next/components/newLayout'; + +const offersData = [ + { + icon: 'supportForAllEthereumStandards', + title: 'Perfect for developers who need a simple drop-in marketplace', + description: ( + + ), + }, +]; + +export class NextLaunchKit extends React.PureComponent { + public render(): React.ReactNode { + return ( + + } + actions={} + /> + +
+ + + + + +
+ +
+ {_.map(offersData, (item, index) => ( + + ))} +
+ + +
+ ); + } +} + +const HeroActions = () => ( + <> + + + + +); + +interface SectionProps { + isNotRelative?: boolean; +} + +const SectionWrap = styled.div` + position: ${props => !props.isNotRelative && 'relative'}; + + & + & { + padding-top: 60px; + margin-top: 60px; + } + + & + &:before { + content: ''; + position: absolute; + top: 0; + left: 0; + height: 1px; + background-color: #3d3d3d; + } + + @media (min-width: 768px) { + & + &:before { + width: 100vw; + } + } + + @media (max-width: 768px) { + text-align: left; + + & + &:before { + width: 100%; + } + } +`; + +const NavStickyWrap = styled(WrapSticky)` + padding-left: 60px; + z-index: 15; + + @media (max-width: 768px) { + display: none; + } +`; + +const ChapterLink = styled(AnchorLink)` + color: ${props => props.theme.textColor}; + font-size: 22px; + margin-bottom: 25px; + display: block; + opacity: 0.8; + + &:hover, + &:active { + opacity: 1; + } +`; + +const ChapterItemWrap = styled.div` + max-width: 560px; + margin-top: 60px; +`; -- cgit From ba89429aecbb608182897f70c72acdb0323518f9 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 13:19:22 +0100 Subject: Tweak definition --- packages/website/ts/@next/pages/launch_kit.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 9318d8a6a..c3447f12f 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -55,6 +55,7 @@ export class NextLaunchKit extends React.PureComponent { > ))} -- cgit From 4590d07e7f75b532683da83fe59917cdaba51579 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 13:31:27 +0100 Subject: Tweak launch kit + add icons --- packages/website/ts/@next/pages/launch_kit.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index c3447f12f..15710bed9 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -58,7 +58,7 @@ export class NextLaunchKit extends React.PureComponent { titleSize="small" description="Tap into and share liquidity with other relayers" icon="supportForAllEthereumStandards" - iconSize="large" + iconSize="medium" isInline={true} /> @@ -66,8 +66,8 @@ export class NextLaunchKit extends React.PureComponent { title="Extensible Code Repo" titleSize="small" description="Fork and extend to support modes of exchange" - icon="networkedLiquidity" - iconSize="large" + icon="code-repo" + iconSize="medium" isInline={true} /> @@ -75,8 +75,8 @@ export class NextLaunchKit extends React.PureComponent { title="Exchange Ethereum based Tokens" titleSize="small" description="Enable trading for any ERC-20 or ERC-721 asset" - icon="flexibleIntegration" - iconSize="large" + icon="eth-based-tokens" + iconSize="medium" isInline={true} /> -- cgit From 8a06dccbbf7e95b4223446cbd018f55b90214a62 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 14:00:12 +0100 Subject: Tweak launch kit --- packages/website/ts/@next/pages/launch_kit.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 15710bed9..24e75765b 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -42,9 +42,11 @@ export class NextLaunchKit extends React.PureComponent { return ( } + figure={} actions={} /> -- cgit From c145349af0fa4566fe884491aa75fb0953835432 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 18:02:01 +0100 Subject: Replace launch kit icon --- packages/website/ts/@next/pages/launch_kit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 24e75765b..e9684246d 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -46,7 +46,7 @@ export class NextLaunchKit extends React.PureComponent { isFullWidth={false} title="0x Launch Kit" description="Launch a relayer in under a minute" - figure={} + figure={} actions={} /> -- cgit From f9dfecaf132b67eb041b1089fa50e38767c1ae47 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Fri, 14 Dec 2018 18:50:09 +0100 Subject: Cleanup --- packages/website/ts/@next/pages/launch_kit.tsx | 34 +------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index e9684246d..74c620cf4 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -3,19 +3,14 @@ import * as React from 'react'; import AnchorLink from 'react-anchor-link-smooth-scroll'; import styled from 'styled-components'; -import { colors } from 'ts/style/colors'; - import {Hero} from 'ts/@next/components/hero'; import { Banner } from 'ts/@next/components/banner'; import { Button } from 'ts/@next/components/button'; import { Icon } from 'ts/@next/components/icon'; import { SiteWrap } from 'ts/@next/components/siteWrap'; -import { Slide, Slider } from 'ts/@next/components/slider/slider'; -import { Heading, Paragraph } from 'ts/@next/components/text'; -import {Definition} from 'ts/@next/components/definition'; -import {Column, Section, WrapSticky} from 'ts/@next/components/newLayout'; +import {Section, WrapSticky} from 'ts/@next/components/newLayout'; const offersData = [ { @@ -154,30 +149,3 @@ const SectionWrap = styled.div` } } `; - -const NavStickyWrap = styled(WrapSticky)` - padding-left: 60px; - z-index: 15; - - @media (max-width: 768px) { - display: none; - } -`; - -const ChapterLink = styled(AnchorLink)` - color: ${props => props.theme.textColor}; - font-size: 22px; - margin-bottom: 25px; - display: block; - opacity: 0.8; - - &:hover, - &:active { - opacity: 1; - } -`; - -const ChapterItemWrap = styled.div` - max-width: 560px; - margin-top: 60px; -`; -- cgit From 96cb278caed79961be08e9145cbd59e91e12d9a4 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Fri, 14 Dec 2018 18:56:53 +0100 Subject: Cleanup --- packages/website/ts/@next/pages/launch_kit.tsx | 35 +------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 74c620cf4..e02eac644 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -1,6 +1,5 @@ import * as _ from 'lodash'; import * as React from 'react'; -import AnchorLink from 'react-anchor-link-smooth-scroll'; import styled from 'styled-components'; import {Hero} from 'ts/@next/components/hero'; @@ -10,7 +9,7 @@ import { Button } from 'ts/@next/components/button'; import { Icon } from 'ts/@next/components/icon'; import { SiteWrap } from 'ts/@next/components/siteWrap'; -import {Section, WrapSticky} from 'ts/@next/components/newLayout'; +import {Section} from 'ts/@next/components/newLayout'; const offersData = [ { @@ -117,35 +116,3 @@ const HeroActions = () => ( interface SectionProps { isNotRelative?: boolean; } - -const SectionWrap = styled.div` - position: ${props => !props.isNotRelative && 'relative'}; - - & + & { - padding-top: 60px; - margin-top: 60px; - } - - & + &:before { - content: ''; - position: absolute; - top: 0; - left: 0; - height: 1px; - background-color: #3d3d3d; - } - - @media (min-width: 768px) { - & + &:before { - width: 100vw; - } - } - - @media (max-width: 768px) { - text-align: left; - - & + &:before { - width: 100%; - } - } -`; -- cgit From dde2baf2043011d0fa11db7b4955621c1a0a4446 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Fri, 14 Dec 2018 18:57:49 +0100 Subject: Cleanup --- packages/website/ts/@next/pages/launch_kit.tsx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index e02eac644..71ac675a1 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -1,6 +1,5 @@ import * as _ from 'lodash'; import * as React from 'react'; -import styled from 'styled-components'; import {Hero} from 'ts/@next/components/hero'; @@ -112,7 +111,3 @@ const HeroActions = () => ( ); - -interface SectionProps { - isNotRelative?: boolean; -} -- cgit From 1955c846f27ee5830bfbff201237dae6dcc99e5d Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 19:51:39 +0100 Subject: Fixes --- packages/website/ts/@next/pages/launch_kit.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 71ac675a1..1f53be34b 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -5,6 +5,7 @@ import {Hero} from 'ts/@next/components/hero'; import { Banner } from 'ts/@next/components/banner'; import { Button } from 'ts/@next/components/button'; +import { Definition } from 'ts/@next/components/definition'; import { Icon } from 'ts/@next/components/icon'; import { SiteWrap } from 'ts/@next/components/siteWrap'; -- cgit From a1410409fff5a015c5afbe3eabc1cbc8e70d1735 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 22:37:01 +0100 Subject: Add contact modal to pages with contact link --- packages/website/ts/@next/pages/launch_kit.tsx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 1f53be34b..43b538df4 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -10,6 +10,7 @@ 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'; const offersData = [ { @@ -31,7 +32,10 @@ const offersData = [ }, ]; -export class NextLaunchKit extends React.PureComponent { +export class NextLaunchKit extends React.Component { + public state = { + isContactModalOpen: false, + }; public render(): React.ReactNode { return ( @@ -94,11 +98,20 @@ export class NextLaunchKit extends React.PureComponent { heading="Need more flexibility?" subline="Dive into our docs, or contact us if needed" mainCta={{ text: 'Get Started', href: '/docs' }} - secondaryCta={{ text: 'Get in Touch', href: '/contact' }} + secondaryCta={{ text: 'Get in Touch', href: this._onOpenContactModal.bind(this) }} /> + ); } + + public _onOpenContactModal = (): void => { + this.setState({ isContactModalOpen: true }); + } + + public _onDismissContactModal = (): void => { + this.setState({ isContactModalOpen: false }); + } } const HeroActions = () => ( -- cgit From b9fa158092c0179d41f5cf7b4f62eec95dd7f4f6 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 14 Dec 2018 23:03:45 +0100 Subject: Update links and routes --- packages/website/ts/@next/pages/launch_kit.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 43b538df4..30fedba1b 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -12,6 +12,8 @@ import { SiteWrap } from 'ts/@next/components/siteWrap'; import {Section} from 'ts/@next/components/newLayout'; import { ModalContact } from '../components/modals/modal_contact'; +import { WebsitePaths } from 'ts/types'; + const offersData = [ { icon: 'supportForAllEthereumStandards', @@ -120,7 +122,7 @@ const HeroActions = () => ( Get Started - -- cgit From 51b1cab72a80b8ef05038ecf392d9c72b8d4294e Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Fri, 14 Dec 2018 14:46:05 -0800 Subject: fix(website) replace 0xproject.com with 0x.org --- packages/website/ts/@next/pages/launch_kit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 30fedba1b..3161d9cf0 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -118,7 +118,7 @@ export class NextLaunchKit extends React.Component { const HeroActions = () => ( <> - -- cgit From 28bad6567bd38e327c93c7dfb7c89c5b68d0a8a3 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Mon, 17 Dec 2018 11:19:59 +0100 Subject: Fix launch kit link --- packages/website/ts/@next/pages/launch_kit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 3161d9cf0..02594e38f 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -118,7 +118,7 @@ export class NextLaunchKit extends React.Component { const HeroActions = () => ( <> - -- cgit From 4611c65aa39b0a76298a611d4f8e1edddaced20d Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Mon, 17 Dec 2018 11:49:59 +0100 Subject: Fix wrong icon name --- packages/website/ts/@next/pages/launch_kit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 02594e38f..d57a44e1b 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -59,7 +59,7 @@ export class NextLaunchKit extends React.Component { title="Networked Liquidity Pool" titleSize="small" description="Tap into and share liquidity with other relayers" - icon="supportForAllEthereumStandards" + icon="networkedLiquidity" iconSize="medium" isInline={true} /> -- cgit From 59325897761c40cd57a30d5ba5c83321a8dbe96a Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Mon, 17 Dec 2018 14:20:53 +0100 Subject: Fix cta links --- packages/website/ts/@next/pages/launch_kit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index d57a44e1b..bef5d2164 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -100,7 +100,7 @@ export class NextLaunchKit extends React.Component { heading="Need more flexibility?" subline="Dive into our docs, or contact us if needed" mainCta={{ text: 'Get Started', href: '/docs' }} - secondaryCta={{ text: 'Get in Touch', href: this._onOpenContactModal.bind(this) }} + secondaryCta={{ text: 'Get in Touch', onClick: this._onOpenContactModal.bind(this) }} /> -- cgit From 248a3998cf9da7884bf85ab917fff240f1af82e9 Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Mon, 17 Dec 2018 15:15:37 -0800 Subject: prettify launch kit --- packages/website/ts/@next/pages/launch_kit.tsx | 48 ++++++++++---------------- 1 file changed, 19 insertions(+), 29 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index bef5d2164..1c0ce7d06 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -1,7 +1,7 @@ import * as _ from 'lodash'; import * as React from 'react'; -import {Hero} from 'ts/@next/components/hero'; +import { Hero } from 'ts/@next/components/hero'; import { Banner } from 'ts/@next/components/banner'; import { Button } from 'ts/@next/components/button'; @@ -9,7 +9,7 @@ import { Definition } from 'ts/@next/components/definition'; import { Icon } from 'ts/@next/components/icon'; import { SiteWrap } from 'ts/@next/components/siteWrap'; -import {Section} from 'ts/@next/components/newLayout'; +import { Section } from 'ts/@next/components/newLayout'; import { ModalContact } from '../components/modals/modal_contact'; import { WebsitePaths } from 'ts/types'; @@ -20,15 +20,9 @@ const offersData = [ title: 'Perfect for developers who need a simple drop-in marketplace', description: (
    -
  • - Quickly launch a market for your project’s token -
  • -
  • - Seamlessly create an in-game marketplace for digital items and collectables -
  • -
  • - Easily build a 0x relayer for your local market -
  • +
  • Quickly launch a market for your project’s token
  • +
  • Seamlessly create an in-game marketplace for digital items and collectables
  • +
  • Easily build a 0x relayer for your local market
), }, @@ -47,14 +41,10 @@ export class NextLaunchKit extends React.Component { title="0x Launch Kit" description="Launch a relayer in under a minute" figure={} - actions={} + actions={} /> -
+
- {_.map(offersData, (item, index) => ( - - ))} + {_.map(offersData, (item, index) => ( + + ))}
{ this.setState({ isContactModalOpen: true }); - } + }; public _onDismissContactModal = (): void => { this.setState({ isContactModalOpen: false }); - } + }; } const HeroActions = () => ( -- cgit From 62f5c58d83b09e1b4b320aea47c93f482242c340 Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Mon, 17 Dec 2018 15:39:02 -0800 Subject: fragment and launchkit url --- packages/website/ts/@next/pages/launch_kit.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 1c0ce7d06..189c46892 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -107,13 +107,17 @@ export class NextLaunchKit extends React.Component { } const HeroActions = () => ( - <> + - - + ); -- cgit From c5f85a365bc9f478de03229d362463b489f7b0d3 Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Mon, 17 Dec 2018 16:01:21 -0800 Subject: Allow banner to open in new window --- packages/website/ts/@next/pages/launch_kit.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 189c46892..7b15e5352 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -89,7 +89,11 @@ export class NextLaunchKit extends React.Component { @@ -108,7 +112,7 @@ export class NextLaunchKit extends React.Component { const HeroActions = () => ( - -- cgit 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/@next/pages/launch_kit.tsx') 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 From e34aa4d85936ac4305cfc4fdb4825059059e2d5d Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Mon, 17 Dec 2018 17:00:06 -0800 Subject: Fix link --- packages/website/ts/@next/pages/launch_kit.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 67fd5ee57..7ae54293b 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -116,8 +116,8 @@ const HeroActions = () => ( Get Started - ); -- cgit From 531ed5496158ed318cc8313daa1a200f67b1b6dd Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Thu, 20 Dec 2018 00:06:39 +0100 Subject: Fix page titles --- packages/website/ts/@next/pages/launch_kit.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/website/ts/@next/pages/launch_kit.tsx') diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 7ae54293b..605bce91c 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -1,5 +1,6 @@ import * as _ from 'lodash'; import * as React from 'react'; +import DocumentTitle from 'react-document-title'; import { Hero } from 'ts/@next/components/hero'; @@ -35,6 +36,7 @@ export class NextLaunchKit extends React.Component { public render(): React.ReactNode { return ( +