+
+
+
+ {/* */}
+
+ {children}
+
+
+ );
+}
+
+ThemeWrapper.propTypes = {
+ classes: PropTypes.object.isRequired,
+ children: PropTypes.node.isRequired,
+ color: PropTypes.string.isRequired,
+ changeTheme: PropTypes.func.isRequired,
+ palette: PropTypes.object.isRequired,
+};
+
+const reducer = 'ui';
+const mapStateToProps = state => ({
+ ...state,
+ color: state.getIn([reducer, 'theme']),
+ palette: state.getIn([reducer, 'palette']),
+});
+
+const dispatchToProps = dispatch => ({
+ changeTheme: bindActionCreators(changeThemeAction, dispatch),
+});
+
+const ThemeWrapperMapped = connect(
+ mapStateToProps,
+ dispatchToProps
+)(ThemeWrapper);
+
+export default withStyles(styles)(ThemeWrapperMapped);
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 (
+