aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/website/ts/@next/components/header.tsx22
-rw-r--r--packages/website/ts/@next/pages/instant.tsx8
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>