Last active
October 21, 2016 14:09
-
-
Save bnhansn/9ac579261c7e782025f8316fe28e95da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // @flow | |
| import React from 'react'; | |
| import { Link } from 'react-router'; | |
| import { css, StyleSheet } from 'aphrodite'; | |
| const styles = StyleSheet.create({ | |
| navbar: { | |
| display: 'flex', | |
| alignItems: 'center', | |
| padding: '0 1rem', | |
| height: '70px', | |
| background: '#fff', | |
| boxShadow: '0 1px 1px rgba(0,0,0,.1)', | |
| }, | |
| link: { | |
| color: '#555459', | |
| fontSize: '22px', | |
| fontWeight: 'bold', | |
| ':hover': { | |
| textDecoration: 'none', | |
| }, | |
| ':focus': { | |
| textDecoration: 'none', | |
| }, | |
| }, | |
| }); | |
| const Navbar = () => | |
| <nav className={css(styles.navbar)}> | |
| <Link to="/" className={css(styles.link)}>Sling</Link> | |
| </nav>; | |
| export default Navbar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment