diff options
Diffstat (limited to 'front/odiparpack/app/containers/App/index.js')
| -rw-r--r-- | front/odiparpack/app/containers/App/index.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/front/odiparpack/app/containers/App/index.js b/front/odiparpack/app/containers/App/index.js new file mode 100644 index 0000000..a7313fe --- /dev/null +++ b/front/odiparpack/app/containers/App/index.js @@ -0,0 +1,23 @@ +import React from 'react'; +import { Switch, Route } from 'react-router-dom'; +import NotFound from 'containers/Pages/Standalone/NotFoundDedicated'; +import Auth from './Auth'; +import Application from './Application'; +import LoginDedicated from '../Pages/Standalone/LoginDedicated'; +import ThemeWrapper from './ThemeWrapper'; +window.__MUI_USE_NEXT_TYPOGRAPHY_VARIANTS__ = true; + +function App() { + return ( + <ThemeWrapper> + <Switch> + <Route path="/" exact component={LoginDedicated} /> + <Route path="/app" component={Application} /> + <Route component={Auth} /> + <Route component={NotFound} /> + </Switch> + </ThemeWrapper> + ); +} + +export default App; |
