From 8aa174e70c01631ae4e00a6d208966fcd77cf972 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Fri, 10 Jul 2020 10:21:46 +0200 Subject: Add implementation of portfolio and scenario UI structure --- frontend/src/routes/index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'frontend/src/routes') diff --git a/frontend/src/routes/index.js b/frontend/src/routes/index.js index d3f50be5..96f615b1 100644 --- a/frontend/src/routes/index.js +++ b/frontend/src/routes/index.js @@ -9,7 +9,13 @@ import Projects from '../pages/Projects' const ProtectedComponent = (component) => () => (userIsLoggedIn() ? component : ) const AppComponent = ({ match }) => - userIsLoggedIn() ? : + userIsLoggedIn() ? ( + + ) : const Routes = () => ( @@ -17,6 +23,8 @@ const Routes = () => ( )}/> + + )}/> -- cgit v1.2.3