aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/header.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/components/header.tsx')
-rw-r--r--packages/website/ts/@next/components/header.tsx54
1 files changed, 54 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx
new file mode 100644
index 000000000..615cf53d5
--- /dev/null
+++ b/packages/website/ts/@next/components/header.tsx
@@ -0,0 +1,54 @@
+import * as _ from 'lodash';
+import * as React from 'react';
+import styled from 'styled-components';
+
+import { Button } from './button';
+import { Container } from './container';
+import { Logo } from './logo';
+
+export interface HeaderInterface {
+}
+
+const StyledHeader = styled.header`
+ display: flex;
+ text-align: center;
+ align-items: center;
+ justify-content: space-between;
+ padding: 1.764705882rem 0;
+`;
+
+const Text = styled.span`
+ font-size: 1rem;
+ line-height: 1.375rem;
+`;
+
+const Links = styled.div`
+ display: flex;
+ justify-content: space-around;
+`;
+
+const Link = styled.a`
+ color: rgba(255, 255, 255, 0.5);
+ font-size: 18px;
+ margin: 0 1.764705882rem;
+`;
+
+const links = [
+ { url: '', text: 'Why 0x' },
+ { url: '', text: 'Products' },
+ { url: '', text: 'Developers' },
+ { url: '', text: 'About' },
+ { url: '', text: 'Blog' },
+];
+
+export const Header: React.StatelessComponent<HeaderInterface> = ({}) => (
+ <Container>
+ <StyledHeader>
+ <Logo/>
+ <Links>
+ {_.map(links, link => <Link>{link.text}</Link>)}
+ </Links>
+ <Button text="Trade on 0x" />
+ </StyledHeader>
+ </Container>
+);