diff options
Diffstat (limited to 'front/odiparpack/app/containers/App/Auth.js')
| -rw-r--r-- | front/odiparpack/app/containers/App/Auth.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/front/odiparpack/app/containers/App/Auth.js b/front/odiparpack/app/containers/App/Auth.js new file mode 100644 index 0000000..740f7f3 --- /dev/null +++ b/front/odiparpack/app/containers/App/Auth.js @@ -0,0 +1,28 @@ +import React from 'react'; +import { Switch, Route } from 'react-router-dom'; +import Outer from '../Templates/Outer'; +import { + Login, + Register, + ResetPassword, + NotFound, + Maintenance, + LockScreen +} from '../pageListAsync'; + +function Auth() { + return ( + <Outer> + <Switch> + <Route path="/login" component={Login} /> + <Route path="/register" component={Register} /> + <Route path="/reset-password" component={ResetPassword} /> + <Route path="/maintenance" component={Maintenance} /> + <Route path="/lock-screen" component={LockScreen} /> + <Route component={NotFound} /> + </Switch> + </Outer> + ); +} + +export default Auth; |
