2019-06-22 17:45:32 -07:00
|
|
|
import React from 'react';
|
2019-06-22 18:09:42 -07:00
|
|
|
import { Route, RouteComponentProps } from 'react-router-dom';
|
2019-06-09 19:26:20 -07:00
|
|
|
import LoginContainer from '@/components/auth/LoginContainer';
|
2019-06-11 22:02:18 -07:00
|
|
|
import ForgotPasswordContainer from '@/components/auth/ForgotPasswordContainer';
|
2019-06-16 16:57:57 -07:00
|
|
|
import ResetPasswordContainer from '@/components/auth/ResetPasswordContainer';
|
2019-06-16 18:07:57 -07:00
|
|
|
import LoginCheckpointContainer from '@/components/auth/LoginCheckpointContainer';
|
2019-06-09 19:26:20 -07:00
|
|
|
|
2019-06-22 18:09:42 -07:00
|
|
|
export default ({ match }: RouteComponentProps) => (
|
|
|
|
<div className={'mt-32'}>
|
|
|
|
<Route path={`${match.path}/login`} component={LoginContainer} exact/>
|
|
|
|
<Route path={`${match.path}/login/checkpoint`} component={LoginCheckpointContainer}/>
|
|
|
|
<Route path={`${match.path}/password`} component={ForgotPasswordContainer} exact/>
|
|
|
|
<Route path={`${match.path}/password/reset/:token`} component={ResetPasswordContainer}/>
|
|
|
|
<Route path={`${match.path}/checkpoint`}/>
|
|
|
|
</div>
|
2019-06-22 17:45:32 -07:00
|
|
|
);
|