1
0
mirror of https://github.com/mgerb/react-starter synced 2026-01-12 01:52:49 +00:00

refactoring - added font awesome

This commit is contained in:
2017-02-13 21:17:10 +00:00
committed by Mitchell Gerber
parent 5f14578f86
commit ca7abf1def
21 changed files with 5141 additions and 53 deletions

View File

@@ -8,9 +8,17 @@ export default class Navbar extends React.Component {
render() {
return (
<div className="Navbar">
<div className="Navbar__header">Title</div>
<Link to="/" className="Navbar__item" onlyActiveOnIndex activeClassName="Navbar__item--active">Home</Link>
<Link to="/new" className="Navbar__item" activeClassName="Navbar__item--active">New</Link>
<div className="Navbar__header">
<span>React Webpack 2 Seed</span>
<a href="https://github.com/mgerb/react-webpack2-seed">GitHub
<i className="fa fa-github" aria-hidden="true"/>
</a>
</div>
<div className="Navbar__nav">
<Link to="/" className="Navbar__item" onlyActiveOnIndex activeClassName="Navbar__item--active">Home</Link>
<Link to="/new" className="Navbar__item" activeClassName="Navbar__item--active">New</Link>
</div>
</div>
);
}