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 { Banner } from 'ts/@next/components/banner'; import { Link } from 'ts/@next/components/button'; import { Icon } from 'ts/@next/components/icon'; import { BREAKPOINTS, Column, Section, Wrap, WrapCentered, WrapSticky } from 'ts/@next/components/layout'; import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Heading, Paragraph } from 'ts/@next/components/text'; import CoinIcon from 'ts/@next/icons/illustrations/coin.svg'; import CustomizeIcon from 'ts/@next/icons/illustrations/customize.svg'; import ProtocolIcon from 'ts/@next/icons/illustrations/protocol.svg'; const offersData = [ { icon: 'coin', title: 'A standard for Exchange', description: '0x provides developers with a technical standard for trading Ethereum-based tokens such as ERC 20 and ERC 721.', }, { icon: 'coin', title: 'Robust Smart Contracts', description: `0x Protocol's smart contracts have been put through two rounds of rigorous security audits.`, }, { icon: 'coin', title: 'Extensible Architecture', description: `0x's modular pipeline enables you to plug in your own smart contracts through an extensible API.`, }, { icon: 'coin', title: 'Efficient Design', description: `0x’s off-chain order relay with on-chain settlement is a gas efficient approach to p2p exchange, reducing blockchain bloat.`, }, ]; const functionalityData = [ { icon: 'coin', title: 'Secure Non-custodial Trading', description: 'Enable tokens to be traded wallet-to-wallet with no deposits or withdrawals.', }, { icon: 'coin', title: 'Flexible Order Types', description: 'Choose to sell assets at a specific “buy it now” price or allow potential buyers to submit bids.', }, { icon: 'coin', title: 'Build a Business', description: 'Monetize your product by taking fees on each transaction and join a growing number of relayers in the 0x ecosystem.', }, { icon: 'coin', title: 'Networked Liquidity', description: 'Allow your assets to appear on other 0x-based marketplaces by sharing your liquidity through an open order book.', }, ]; export class NextWhy extends React.PureComponent { public render(): React.ReactNode { return (
The exchange layer for
the crypto economy
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. Build on 0x
Support for all Ethereum Standards 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... Shared Networked Liquidity 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. Customize the User Experience 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.
Benefits Use Cases Features What 0x offers {_.map(offersData, (item, index) => ( {item.title} {item.description} ))} Use Cases slider Exchange Functionality {_.map(functionalityData, (item, index) => ( {item.title} {item.description} ))}
); } } const SectionWrap = styled.div` position: relative; & + & { padding-top: 60px; margin-top: 60px; } & + &:before { content: ''; position: absolute; top: 0; left: 0; height: 1px; background-color: #3d3d3d; } @media (min-width: ${BREAKPOINTS.mobile}) { & + &:before { width: 100vw; } } @media (max-width: ${BREAKPOINTS.mobile}) { text-align: left; & + &:before { width: 100%; } } `; const NavStickyWrap = styled(WrapSticky)` @media (max-width: ${BREAKPOINTS.mobile}) { display: none; } `; const ChapterLink = styled(AnchorLink)` color: ${props => props.theme.textColor}; font-size: 22px; margin-bottom: 15px; display: block; opacity: 0.8; &:hover { opacity: 1; } `; const ChapterItemWrap = styled.div` max-width: 560px; margin-top: 60px; `;