This commit is contained in:
Tom Moor
2017-11-12 21:39:24 -08:00
parent 00a7985383
commit 43a962496b
7 changed files with 177 additions and 6 deletions

View File

@ -1,6 +1,7 @@
// @flow
import React from 'react';
import styled from 'styled-components';
import { signin, githubOrganization } from '../../utils/routeHelpers';
import { color } from '../../../shared/styles/constants';
function Navigation() {
@ -8,7 +9,15 @@ function Navigation() {
<Nav>
<Brand href="/">Outline</Brand>
<Menu>
<MenuItem><a href="/auth/slack">Sign In</a></MenuItem>
<MenuItem>
<a href="/#features">Features</a>
</MenuItem>
<MenuItem>
<a href={githubOrganization()}>Open Source</a>
</MenuItem>
<MenuItem>
<a href={signin()}>Sign In</a>
</MenuItem>
</Menu>
</Nav>
);
@ -31,6 +40,15 @@ const MenuItem = styled.li`
margin: 0 0 0 40px;
font-size: 15px;
font-weight: 500;
a {
color: ${color.slate};
}
a:hover {
color: ${color.slateDark};
text-decoration: underline;
}
`;
const Brand = styled.a`