From 1fab30ef80b58435405bce8cddaf375f4c5a9047 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Mon, 3 Dec 2018 11:15:34 +0100 Subject: A bit of formatting, centeres instant text --- packages/website/ts/@next/components/header.tsx | 22 ++++++++++------------ packages/website/ts/@next/pages/instant.tsx | 8 +++----- 2 files changed, 13 insertions(+), 17 deletions(-) (limited to 'packages/website/ts/@next') diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx index b9b04a8c0..c934b29ac 100644 --- a/packages/website/ts/@next/components/header.tsx +++ b/packages/website/ts/@next/components/header.tsx @@ -23,18 +23,6 @@ const links = [ { url: '#', text: 'Blog' }, ]; -const Link: React.StatelessComponent = props => { - const { children, href } = props; - - return ( - - {children} - - ); -}; - export const Header: React.StatelessComponent = ({}) => ( @@ -50,6 +38,16 @@ export const Header: React.StatelessComponent = ({}) => ( ); +const Link: React.StatelessComponent = props => { + const { children, href } = props; + + return ( + + {children} + + ); +}; + const StyledHeader = Section.withComponent('header'); const HeaderWrap = styled(Wrap)` justify-content: space-between; diff --git a/packages/website/ts/@next/pages/instant.tsx b/packages/website/ts/@next/pages/instant.tsx index 18b791334..69a9fb6b3 100644 --- a/packages/website/ts/@next/pages/instant.tsx +++ b/packages/website/ts/@next/pages/instant.tsx @@ -16,11 +16,9 @@ export const Next0xInstant = () => (
- - Introducing 0x Instant - A free and flexible way to offer simple crypto purchasing in any app or website - - + Introducing 0x Instant + A free and flexible way to offer simple crypto purchasing in any app or website +
-- cgit