From 912e1b96bfa7d6c022d854fa744f719b49ca98d0 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Tue, 21 Jul 2020 15:33:37 +0200 Subject: Add first plotting attempts for portfolios --- frontend/src/components/navigation/Navbar.js | 43 +++++++++------------------- 1 file changed, 13 insertions(+), 30 deletions(-) (limited to 'frontend/src/components/navigation/Navbar.js') diff --git a/frontend/src/components/navigation/Navbar.js b/frontend/src/components/navigation/Navbar.js index 0ef19ecb..b1f1f7ae 100644 --- a/frontend/src/components/navigation/Navbar.js +++ b/frontend/src/components/navigation/Navbar.js @@ -9,10 +9,8 @@ import './Navbar.css' export const NAVBAR_HEIGHT = 60 -export const NavItem = withRouter(props => ) -export const LoggedInSection = withRouter(props => ( - -)) +export const NavItem = withRouter((props) => ) +export const LoggedInSection = withRouter((props) => ) const GitHubLink = () => ( ( className="ml-2 mr-3 text-dark" style={{ position: 'relative', top: 7 }} > - + ) const NavItemWithoutRoute = ({ route, location, children }) => ( -
  • - {children} -
  • +
  • {children}
  • ) const LoggedInSectionWithoutRoute = ({ location }) => ( @@ -48,28 +39,25 @@ const LoggedInSectionWithoutRoute = ({ location }) => ( ) : ( - + ), - + , ] ) : ( - - + + )} ) const Navbar = ({ fullWidth, children }) => ( -