From 897bc3bdbfcb5fda896bb21282d84f4cabba4038 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 14 Dec 2017 11:15:41 +0100 Subject: Add GitHub icon anchor to homepage navbar --- package.json | 6 +++--- src/components/navigation/Navbar.js | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7e802606..d607e7c5 100644 --- a/package.json +++ b/package.json @@ -22,17 +22,17 @@ "classnames": "^2.2.5", "husky": "^0.14.3", "konva": "^1.7.2", - "lint-staged": "^4.3.0", + "lint-staged": "^6.0.0", "node-sass-chokidar": "^0.0.3", "npm-run-all": "^4.1.2", - "prettier": "^1.8.2", + "prettier": "^1.9.2", "prop-types": "^15.6.0", "react": "^16.1.0", "react-document-title": "^2.0.3", "react-dom": "^16.1.0", "react-fontawesome": "^1.6.1", "react-google-login": "^3.0.2", - "react-konva": "^1.6.2", + "react-konva": "^1.6.4", "react-redux": "^5.0.5", "react-router-dom": "^4.2.2", "react-scripts": "^1.0.14", 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 => ( )); +const GitHubLink = () => ( + + + +); + const NavItemWithoutRoute = ({ route, location, children }) => (
  • ( ] ) : ( + )} -- cgit v1.2.3