diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-11-30 16:58:09 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-11-30 16:58:20 +0800 |
commit | 3586dde4803d09209af570bc565c45f247f5e0ff (patch) | |
tree | caefa9104fbd3ce1a9a125b581c7e8399a3432e0 /packages/website | |
parent | d6b92e5786b311f16b72411b75900c5aa1fe8394 (diff) | |
download | dexon-sol-tools-3586dde4803d09209af570bc565c45f247f5e0ff.tar dexon-sol-tools-3586dde4803d09209af570bc565c45f247f5e0ff.tar.gz dexon-sol-tools-3586dde4803d09209af570bc565c45f247f5e0ff.tar.bz2 dexon-sol-tools-3586dde4803d09209af570bc565c45f247f5e0ff.tar.lz dexon-sol-tools-3586dde4803d09209af570bc565c45f247f5e0ff.tar.xz dexon-sol-tools-3586dde4803d09209af570bc565c45f247f5e0ff.tar.zst dexon-sol-tools-3586dde4803d09209af570bc565c45f247f5e0ff.zip |
Started on why 0x
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/@next/icons/illustrations/customize.svg | 1 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/why.tsx | 62 | ||||
-rw-r--r-- | packages/website/ts/index.tsx | 5 |
3 files changed, 65 insertions, 3 deletions
diff --git a/packages/website/ts/@next/icons/illustrations/customize.svg b/packages/website/ts/@next/icons/illustrations/customize.svg new file mode 100644 index 000000000..f93ced0f7 --- /dev/null +++ b/packages/website/ts/@next/icons/illustrations/customize.svg @@ -0,0 +1 @@ +<svg width="152" height="152" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M76 151c41.421 0 75-33.579 75-75S117.421 1 76 1 1 34.579 1 76s33.579 75 75 75z" stroke="#00AE99" stroke-width="2" stroke-miterlimit="10"/><path d="M120.5 122.906H31.503c-12.943 0-23.478-10.485-23.478-23.478 0-12.993 10.485-23.478 23.478-23.478H120.5" stroke="#00AE99" stroke-width="2" stroke-miterlimit="10"/><path d="M120.499 122.906c12.967 0 23.478-10.511 23.478-23.478 0-12.967-10.511-23.478-23.478-23.478-12.967 0-23.478 10.511-23.478 23.478 0 12.967 10.511 23.478 23.478 23.478z" stroke="#00AE99" stroke-width="2" stroke-miterlimit="10"/><path d="M120.5 122.906H31.503c-12.943 0-23.478-10.485-23.478-23.478 0-12.993 10.485-23.478 23.478-23.478H120.5" stroke="#00AE99" stroke-width="2" stroke-miterlimit="10"/><path d="M120.499 122.906c12.967 0 23.478-10.511 23.478-23.478 0-12.967-10.511-23.478-23.478-23.478-12.967 0-23.478 10.511-23.478 23.478 0 12.967 10.511 23.478 23.478 23.478z" stroke="#00AE99" stroke-width="2" stroke-miterlimit="10"/><path d="M31.5 29.093h88.996c12.943 0 23.478 10.485 23.478 23.478 0 12.993-10.485 23.478-23.478 23.478H31.499" stroke="#00AE99" stroke-width="2" stroke-miterlimit="10"/><path d="M31.503 76.052c12.967 0 23.478-10.512 23.478-23.478 0-12.967-10.511-23.479-23.478-23.479-12.966 0-23.478 10.512-23.478 23.479 0 12.966 10.512 23.478 23.478 23.478z" stroke="#00AE99" stroke-width="2" stroke-miterlimit="10"/></svg>
\ No newline at end of file diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx new file mode 100644 index 000000000..ec13d40c5 --- /dev/null +++ b/packages/website/ts/@next/pages/why.tsx @@ -0,0 +1,62 @@ +import * as React from 'react'; +import styled from 'styled-components'; + +import { colors } from 'ts/style/colors'; + +import { Button, ButtonTransparent } from 'ts/@next/components/button'; +import { Column, Section, Wrap, WrapCentered } from 'ts/@next/components/layout'; +import { Heading, Intro, Text } from 'ts/@next/components/text'; +import { SiteWrap } from 'ts/@next/components/siteWrap'; +import { Icon } from 'ts/@next/components/icon'; + +import protocol from 'ts/@next/icons/illustrations/protocol.svg'; +import customize from 'ts/@next/icons/illustrations/customize.svg'; +import logoOutlined from 'ts/@next/icons/illustrations/logo-outlined.svg'; + +export const NextWhy = () => ( + <SiteWrap> + <Section> + <WrapCentered> + <Column colWidth="2/3"> + <Heading center>The exchange layer for the crypto economy</Heading> + <Intro center>The world's assets are becoming tokenized on public blockchains. 0x Protocol is free, open-source infrastructure that allows anyone in the world to build products that enable the purchasing and trading of crypto tokens.</Intro> + <Text center>Build on 0x (arrow)</Text> + </Column> + </WrapCentered> + </Section> + + <Section bgColor={colors.backgroundDark}> + <Wrap> + <Column colWidth="1/3"> + <Icon size="150" icon={protocol} /> + <Heading>Support for all Ethereum Standards</Heading> + <Text>0x Protocol facilitates the decentralized exchange of a growing number of Ethereum-based tokens, including all ERC-20 and ERC-721 assets. Additional ERC standards can be added to the protocol...</Text> + </Column> + + <Column colWidth="1/3"> + <Icon size="150" icon={logoOutlined} /> + <Heading>Shared Networked Liquidity</Heading> + <Text>0x is building a layer of networked liquidity that will lower the barriers to entry. By enabling businesses to tap into a shared pool of digital assets, it will create a more stable financial system.</Text> + </Column> + + <Column colWidth="1/3"> + <Icon size="150" icon={customize} /> + <Heading>Customize the User Experience</Heading> + <Text>Relayers are businesses around the world that utilize 0x to integrate exchange functionality into a wide variety of products including order books, games, and digital art marketplaces.</Text> + </Column> + </Wrap> + </Section> + + <Section> + <Wrap> + <Column colWidth="1/3"> + This is a 1 COLUMN section + </Column> + + <Column colWidth="2/3"> + This is a 2 COLUMN section + </Column> + </Wrap> + </Section> + </SiteWrap> +); diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index 062a3e08e..39e8da177 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -19,10 +19,9 @@ import { store } from 'ts/redux/store'; import { WebsiteLegacyPaths, WebsitePaths } from 'ts/types'; import { muiTheme } from 'ts/utils/mui_theme'; - // Next (new website) routes. We should rename them later import { NextLanding } from 'ts/@next/pages/landing'; - +import { NextWhy } from 'ts/@next/pages/why'; // Check if we've introduced an update that requires us to clear the tradeHistory local storage entries tradeHistoryStorage.clearIfRequired(); @@ -110,7 +109,7 @@ render( {/* Next (new site) routes */} <Route exact path="/next" component={NextLanding as any} /> - + <Route exact path="/next/why" component={NextWhy as any} /> <Route path={`${WebsitePaths.ZeroExJs}/:version?`} |