This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/server/pages/components/Navigation.js
2017-11-09 00:20:22 -08:00

44 lines
765 B
JavaScript

// @flow
import React from 'react';
import styled from 'styled-components';
import { color } from '../../../shared/styles/constants';
function Navigation() {
return (
<Nav>
<Brand href="/">Outline</Brand>
<Menu>
<MenuItem><a href="/auth/slack">Sign In</a></MenuItem>
</Menu>
</Nav>
);
}
const Nav = styled.nav`
display: flex;
padding: 20px 30px;
justify-content: space-between;
`;
const Menu = styled.ul`
margin: 0;
padding: 0;
list-style: none;
`;
const MenuItem = styled.li`
display: inline-block;
margin: 0 0 0 40px;
font-size: 15px;
font-weight: 500;
`;
const Brand = styled.a`
font-weight: 600;
font-size: 20px;
text-decoration: none;
color: ${color.black};
`;
export default Navigation;