diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-03 18:15:34 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-03 18:15:34 +0800 |
commit | 1fab30ef80b58435405bce8cddaf375f4c5a9047 (patch) | |
tree | 5992d64dd3d54a19e62cb7ea15930c9f2eada0ae /packages/website | |
parent | 62eba1e8202925b88932bf10b65c4239131185e5 (diff) | |
download | dexon-sol-tools-1fab30ef80b58435405bce8cddaf375f4c5a9047.tar dexon-sol-tools-1fab30ef80b58435405bce8cddaf375f4c5a9047.tar.gz dexon-sol-tools-1fab30ef80b58435405bce8cddaf375f4c5a9047.tar.bz2 dexon-sol-tools-1fab30ef80b58435405bce8cddaf375f4c5a9047.tar.lz dexon-sol-tools-1fab30ef80b58435405bce8cddaf375f4c5a9047.tar.xz dexon-sol-tools-1fab30ef80b58435405bce8cddaf375f4c5a9047.tar.zst dexon-sol-tools-1fab30ef80b58435405bce8cddaf375f4c5a9047.zip |
A bit of formatting, centeres instant text
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/@next/components/header.tsx | 22 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/instant.tsx | 8 |
2 files changed, 13 insertions, 17 deletions
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<LinkProps> = props => { - const { children, href } = props; - - return ( - <StyledRouterLink - to={href} - > - {children} - </StyledRouterLink> - ); -}; - export const Header: React.StatelessComponent<HeaderProps> = ({}) => ( <StyledHeader> <HeaderWrap> @@ -50,6 +38,16 @@ export const Header: React.StatelessComponent<HeaderProps> = ({}) => ( </StyledHeader> ); +const Link: React.StatelessComponent<LinkProps> = props => { + const { children, href } = props; + + return ( + <StyledRouterLink to={href}> + {children} + </StyledRouterLink> + ); +}; + 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 = () => ( <SiteWrap> <Section> <WrapCentered> - <Column colWidth="2/3"> - <Heading size="medium" center>Introducing 0x Instant</Heading> - <Paragraph size="medium" center>A free and flexible way to offer simple crypto purchasing in any app or website</Paragraph> - <Button href="#">Get Started</Button> - </Column> + <Heading size="medium" center>Introducing 0x Instant</Heading> + <Paragraph size="medium" center>A free and flexible way to offer simple crypto purchasing in any app or website</Paragraph> + <Button href="#">Get Started</Button> </WrapCentered> </Section> |