diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx index 24da860ba9..cd14c80ba7 100644 --- a/packages/website/ts/@next/components/button.tsx +++ b/packages/website/ts/@next/components/button.tsx @@ -52,7 +52,7 @@ export const Link = (props: ButtonInterface) => { const Component = Button.withComponent(ReactRouterLink); return ( - + {children} { isWithArrow && diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx index e4add9ecf0..144eb5eb22 100644 --- a/packages/website/ts/@next/components/header.tsx +++ b/packages/website/ts/@next/components/header.tsx @@ -58,7 +58,9 @@ export class Header extends React.Component { + + Trade on 0x diff --git a/packages/website/ts/@next/components/text.tsx b/packages/website/ts/@next/components/text.tsx index d300031dc8..a434c325f4 100644 --- a/packages/website/ts/@next/components/text.tsx +++ b/packages/website/ts/@next/components/text.tsx @@ -17,6 +17,7 @@ interface HeadingProps extends BaseTextInterface { interface ParagraphProps extends BaseTextInterface { isNoMargin?: boolean; + marginBottom?: string; // maybe we should remove isNoMargin isMuted?: boolean | number; } @@ -56,7 +57,7 @@ export const Heading: React.StatelessComponent = props => { // for literally anything = export const Paragraph = styled.p` font-size: ${props => `var(--${props.size || 'default'}Paragraph)`}; - margin-bottom: ${props => !props.isNoMargin && '30px'}; + margin-bottom: ${props => !props.isNoMargin && (props.marginBottom || '30px')}; padding: ${props => props.padding && getCSSPadding(props.padding)}; color: ${props => props.color || props.theme.textColor}; opacity: ${props => typeof props.isMuted === 'boolean' ? 0.75 : props.isMuted}; diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx index c7c90c0bac..2408dfe4e3 100644 --- a/packages/website/ts/@next/constants/globalStyle.tsx +++ b/packages/website/ts/@next/constants/globalStyle.tsx @@ -53,7 +53,7 @@ const GlobalStyles = withTheme(createGlobalStyle ` @media (max-width: 768px) { :root { - --smallHeading: 16px; + --smallHeading: 18px; --defaultHeading: 18px; --mediumHeading: 40px; --largeHeading: 46px; diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx index 88c0ca69b6..43e37a74b0 100644 --- a/packages/website/ts/@next/pages/why.tsx +++ b/packages/website/ts/@next/pages/why.tsx @@ -6,9 +6,9 @@ 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 { Link } from 'ts/@next/components/link'; import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Heading, Paragraph } from 'ts/@next/components/text'; @@ -73,20 +73,27 @@ export class NextWhy extends React.PureComponent { size="medium" isCentered={true} > - The exchange layer for the crypto economy + 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 - + @@ -95,19 +102,19 @@ export class NextWhy extends React.PureComponent { - Support for all Ethereum Standards + 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 + 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 + 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.