summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/containers/App/Auth.js
blob: 740f7f34b0cb128cac2c76204954c9e3520fbba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;