import * as React from 'react'; import * as _ from 'lodash'; import styled from 'styled-components'; import {colors} from 'ts/style/colors'; import {Button, ButtonWrap} from 'ts/@next/components/button'; import {Column, Section, Wrap, WrapCentered, WrapGrid} from 'ts/@next/components/layout'; import {SiteWrap} from 'ts/@next/components/siteWrap'; import {Heading, Paragraph} from 'ts/@next/components/text'; import LogoOutlined from 'ts/@next/icons/illustrations/logo-outlined.svg'; import ProtocolIcon from 'ts/@next/icons/illustrations/protocol.svg'; import ReadyToBuildIcon from 'ts/@next/icons/illustrations/ready-to-build.svg'; import SupportIcon from 'ts/@next/icons/illustrations/support.svg'; /** Note(ez): Maybe when we're done at least with a basic structure, we can take out each section into e.g. LandingSectionIntro.tsx in @next/sections/landing ? so then our routes would only look like */ interface ProjectLogo { name: string; imageUrl?: string; } const projects: ProjectLogo[] = [ { name: 'Radar Relay', imageUrl: '/images/@next/relayer-logos/logo_1.png', }, { name: 'Paradex', imageUrl: '/images/@next/relayer-logos/logo_5.png', }, { name: 'Amadeus', imageUrl: '/images/@next/relayer-logos/logo_3.png', }, { name: 'The Ocean X', imageUrl: '/images/@next/relayer-logos/logo_4.png', }, { name: 'Paradex', imageUrl: '/images/@next/relayer-logos/logo_5.png', }, { name: 'Decent EX', imageUrl: '/images/@next/relayer-logos/logo_2.1.png', }, { name: 'dEX', imageUrl: '/images/@next/relayer-logos/logo_2.2.png', }, { name: 'OpenRelay', imageUrl: '/images/@next/relayer-logos/logo_2.3.png', }, { name: 'DDEX', imageUrl: '/images/@next/relayer-logos/logo_2.png', }, ]; export const NextLanding: React.StatelessComponent<{}> = () => (
Powering Decentralized Exchange 0x is the best solution for adding exchange functionality to your business.
0x is an open protocol that enables the peer-to-peer exchange of Ethereum-based tokens. Anyone in the world can use 0x to service a wide variety of markets ranging from gaming items to financial instruments to assets that could have near existed before. {/* Note you can also pass in a string "large/default" or a number for custom margins */} {/* NOTE: this probably should be withComponent as part of a
*/} 873,435 Number of transactions $203M Total volume 227,372 Number of relayers
You're in good company {_.map(projects, (item: ProjectLogo, index) => ( ))}
Ready to build on 0x? Want help from the 0x team?
); const Project = ({ name, imageUrl }: ProjectLogo) => ( {name} ); const StyledProject = styled.div` width: 80px; height: 116px; border: 1px solid blue; margin: 30px 60px; img { object-fit: contain; width: 100%; height: 100%; } `;