Started on why 0x
This commit is contained in:
1
packages/website/ts/@next/icons/illustrations/customize.svg
generated
Normal file
1
packages/website/ts/@next/icons/illustrations/customize.svg
generated
Normal file
@@ -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>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
62
packages/website/ts/@next/pages/why.tsx
Normal file
62
packages/website/ts/@next/pages/why.tsx
Normal file
@@ -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>
|
||||
);
|
||||
@@ -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?`}
|
||||
|
||||
Reference in New Issue
Block a user