From 1fab30ef80b58435405bce8cddaf375f4c5a9047 Mon Sep 17 00:00:00 2001
From: Ezekiel Aquino <ezekiel@bakkenbaeck.no>
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 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

(limited to 'packages/website/ts/@next/components/header.tsx')

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;
-- 
cgit 

