diff options
Diffstat (limited to 'src/components/navigation/Navbar.js')
| -rw-r--r-- | src/components/navigation/Navbar.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/navigation/Navbar.js b/src/components/navigation/Navbar.js index fa2516f5..44458949 100644 --- a/src/components/navigation/Navbar.js +++ b/src/components/navigation/Navbar.js @@ -14,6 +14,16 @@ export const LoggedInSection = withRouter(props => ( <LoggedInSectionWithoutRoute {...props} /> )); +const GitHubLink = () => ( + <a + href="https://github.com/atlarge-research/opendc" + className="ml-2 mr-3 text-dark" + style={{ position: "relative", top: 7 }} + > + <span className="fa fa-github fa-2x" /> + </a> +); + const NavItemWithoutRoute = ({ route, location, children }) => ( <li className={classNames( @@ -48,6 +58,7 @@ const LoggedInSectionWithoutRoute = ({ location }) => ( ] ) : ( <NavItem route="login"> + <GitHubLink /> <Login visible={true} /> </NavItem> )} |
