aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-03 23:01:06 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-03 23:01:06 +0800
commit950dae0437b753ba84a012a72e46b0cc5ef4a5b2 (patch)
treea4ec9224caf0f9886080f9aec444c2085da8c2d7 /packages/website/ts
parent05ef537de07f9b70113ea1e2b7600203af2bfa98 (diff)
downloaddexon-sol-tools-950dae0437b753ba84a012a72e46b0cc5ef4a5b2.tar
dexon-sol-tools-950dae0437b753ba84a012a72e46b0cc5ef4a5b2.tar.gz
dexon-sol-tools-950dae0437b753ba84a012a72e46b0cc5ef4a5b2.tar.bz2
dexon-sol-tools-950dae0437b753ba84a012a72e46b0cc5ef4a5b2.tar.lz
dexon-sol-tools-950dae0437b753ba84a012a72e46b0cc5ef4a5b2.tar.xz
dexon-sol-tools-950dae0437b753ba84a012a72e46b0cc5ef4a5b2.tar.zst
dexon-sol-tools-950dae0437b753ba84a012a72e46b0cc5ef4a5b2.zip
Added launch kit
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/@next/components/layout.tsx2
-rw-r--r--packages/website/ts/@next/pages/launchKit.tsx159
-rw-r--r--packages/website/ts/index.tsx2
3 files changed, 163 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/layout.tsx b/packages/website/ts/@next/components/layout.tsx
index 21820f192..2067b67b0 100644
--- a/packages/website/ts/@next/components/layout.tsx
+++ b/packages/website/ts/@next/components/layout.tsx
@@ -37,6 +37,7 @@ interface ColumnProps {
isNoPadding?: boolean;
isPadLarge?: boolean;
bgColor?: string;
+ borderColor?: string;
}
interface GetColWidthArgs {
@@ -142,6 +143,7 @@ export const Column = styled.div<ColumnProps>`
padding: ${props => !props.isNoPadding && (props.isPadLarge ? '60px 30px' : '30px')};
border: 1px dotted rgba(255, 0, 0, 0.3);
background-color: ${props => props.bgColor};
+ border-color: ${props => props.borderColor && `${props.borderColor}`};
@media (min-width: ${BREAKPOINTS.mobile}) {
width: ${props => props.colWidth ? COLUMN_WIDTHS[props.colWidth] : '100%'};
diff --git a/packages/website/ts/@next/pages/launchKit.tsx b/packages/website/ts/@next/pages/launchKit.tsx
new file mode 100644
index 000000000..dd0ff0758
--- /dev/null
+++ b/packages/website/ts/@next/pages/launchKit.tsx
@@ -0,0 +1,159 @@
+import * as React from 'react';
+import styled from 'styled-components';
+
+import {colors} from 'ts/style/colors';
+
+import {Button} from 'ts/@next/components/button';
+import {Column, Section, Wrap, WrapCentered} from 'ts/@next/components/layout';
+import {SiteWrap} from 'ts/@next/components/siteWrap';
+import {Heading, Paragraph} from 'ts/@next/components/text';
+
+import TokensIcon from 'ts/@next/icons/illustrations/tokens.svg';
+import LogoOutlined from 'ts/@next/icons/illustrations/logo-outlined.svg';
+import ProtocolIcon from 'ts/@next/icons/illustrations/protocol.svg';
+
+export const NextLaunchKit = () => (
+ <SiteWrap>
+ <Section>
+ <WrapCentered>
+ <Heading size="medium" isCentered={true}>0x Launch Kit</Heading>
+ <Paragraph size="medium" isCentered={true} isMuted={true}>The definitive starting point for building a business on top of the 0x protocol.</Paragraph>
+ <Button href="#">Get Started</Button>
+ </WrapCentered>
+ </Section>
+
+ <Section>
+ <Wrap>
+ <Column
+ borderColor="#003831"
+ colWidth="1/3"
+ isPadLarge={true}
+ >
+ <WrapCentered>
+ <ProtocolIcon width="140" />
+ <Paragraph isCentered={true}>Tap into and share liquidity with other relayers</Paragraph>
+ </WrapCentered>
+ </Column>
+ <Column
+ borderColor="#003831"
+ colWidth="1/3"
+ isPadLarge={true}
+ >
+ <WrapCentered>
+ <ProtocolIcon width="140" />
+ <Paragraph isCentered={true}>Tap into and share liquidity with other relayers</Paragraph>
+ </WrapCentered>
+ </Column>
+ <Column
+ borderColor="#003831"
+ colWidth="1/3"
+ isPadLarge={true}
+ >
+ <WrapCentered>
+ <ProtocolIcon width="140" />
+ <Paragraph isCentered={true}>Tap into and share liquidity with other relayers</Paragraph>
+ </WrapCentered>
+ </Column>
+ </Wrap>
+ </Section>
+
+ <Section>
+ <Wrap>
+ <Column colWidth="1/3">
+ <TokensIcon width="248"/>
+ </Column>
+
+ <Column colWidth="2/3">
+ <Heading size="small">Working on a new token?</Heading>
+ <Paragraph isMuted={true}>Easily create a secondary market for your asset/asset class</Paragraph>
+ </Column>
+ </Wrap>
+ </Section>
+ <Section>
+ <Wrap>
+ <Column colWidth="1/3">
+ <TokensIcon width="248"/>
+ </Column>
+
+ <Column colWidth="2/3">
+ <Heading size="small">Working on a new game?</Heading>
+ <Paragraph isMuted={true}>Easily create an in-app marketplace</Paragraph>
+ </Column>
+ </Wrap>
+ </Section>
+ <Section>
+ <Wrap>
+ <Column colWidth="1/3">
+ <TokensIcon width="248"/>
+ </Column>
+
+ <Column colWidth="2/3">
+ <Heading size="small">No exchange in your location?</Heading>
+ <Paragraph isMuted={true}>Build a 0x relayer for your contry’s market</Paragraph>
+ </Column>
+ </Wrap>
+ </Section>
+
+ <Section bgColor={colors.backgroundDark}>
+ <Wrap>
+ <Column colWidth="1/2">
+ <Heading>0x Instant Configurator</Heading>
+ <Paragraph>Liquidity Source</Paragraph>
+ <Paragraph>What tokens can users buy? (select all)</Paragraph>
+ <Paragraph>Transaction fee ETH address</Paragraph>
+ <Paragraph>Fee Percentage</Paragraph>
+ </Column>
+
+ <Column colWidth="1/2">
+ <Paragraph>Code Snippet</Paragraph>
+ <a href="#">Explore the Docs</a>
+ <Paragraph>&lt;code snippet&gt;</Paragraph>
+ </Column>
+ </Wrap>
+ </Section>
+
+ <Section bgColor={colors.brandDark}>
+ <Wrap>
+ <Column colWidth="1/2" isPadLarge={true}>
+ <WrapCentered>
+ <Heading>Need more flexibility?</Heading>
+ <Paragraph>Dive into our docs, or contact us if needed</Paragraph>
+ </WrapCentered>
+ </Column>
+
+ <Column colWidth="1/2" isPadLarge={true}>
+ <WrapCentered>
+ <div>
+ <Button href="#">Explore the Docs</Button>
+ <Button href="#" transparent>Get in Touch</Button>
+ </div>
+ </WrapCentered>
+ </Column>
+ </Wrap>
+ </Section>
+
+ <Section>
+ <Wrap width="full">
+ <Column>
+ <Paragraph size="small" isMuted={0.5}>Disclaimer: The laws and regulations applicable to the use and exchange of digital assets and blockchain-native tokens, including through any software developed using the licensed work created by ZeroEx Intl. (the “Work”), vary by jurisdiction. As set forth in the Apache License, Version 2.0 applicable to the Work, developers are “solely responsible for determining the appropriateness of using or redistributing the Work,” which includes responsibility for ensuring compliance with any such applicable laws and regulations.</Paragraph>
+ <Paragraph size="small" isMuted={0.5}>See the Apache License, Version 2.0 for the specific language governing all applicable permissions and limitations.</Paragraph>
+ </Column>
+ </Wrap>
+ </Section>
+ </SiteWrap>
+);
+
+const ChapterLink = styled.a `
+ font-size: 1.222222222rem;
+ display: block;
+ opacity: 0.8;
+ margin-bottom: 1.666666667rem;
+
+ &:first-child {
+ opacity: 1;
+ }
+
+ &:hover {
+ opacity: 1;
+ }
+`;
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index 41eafe516..5edbcc23a 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -26,6 +26,7 @@ import { NextAboutPress } from 'ts/@next/pages/about/press';
import { NextAboutTeam } from 'ts/@next/pages/about/team';
import { Next0xInstant } from 'ts/@next/pages/instant';
import { NextLanding } from 'ts/@next/pages/landing';
+import { NextLaunchKit } from 'ts/@next/pages/launchKit';
import { NextWhy } from 'ts/@next/pages/why';
// Check if we've introduced an update that requires us to clear the tradeHistory local storage entries
@@ -116,6 +117,7 @@ render(
<Route exact path="/next" component={NextLanding as any} />
<Route exact path="/next/why" component={NextWhy as any} />
<Route exact path="/next/0x-instant" component={Next0xInstant as any} />
+ <Route exact path="/next/launch-kit" component={NextLaunchKit as any} />
<Route exact path="/next/about/mission" component={NextAboutMission as any} />
<Route exact path="/next/about/team" component={NextAboutTeam as any} />
<Route exact path="/next/about/press" component={NextAboutPress as any} />