From f8f617c97fcb2df3dbefc9527d974151e367cb60 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Mon, 18 Sep 2017 16:52:11 +0200 Subject: Implement basic experiment mode with timeline The timeline doesn't trigger anything yet, but the visual element is in place and connected. --- src/routes/index.js | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'src/routes/index.js') diff --git a/src/routes/index.js b/src/routes/index.js index 8a155cb0..96ac885c 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -10,17 +10,29 @@ import Simulations from "../pages/Simulations"; const ProtectedComponent = (component) => () => userIsLoggedIn() ? component : ; const AppComponent = ({match}) => userIsLoggedIn() ? - : ; + : + ; + const ExperimentsComponent = ({match}) => userIsLoggedIn() ? - : ; + : + ; + +const SimulationComponent = ({match}) => userIsLoggedIn() ? + : + ; const Routes = () => ( )}/> - - + + + )}/> -- cgit v1.2.3