import {Routes} from '@angular/router';
import {NotFoundComponent} from './not-found/not-found.component';
import {ErrorComponent} from './error/error.component';
import {ForgotComponent} from '../components/auth/forgot/forgot.component';
import {LockscreenComponent} from './lockscreen/lockscreen.component';
import {SigninComponent} from '../components/auth/signin/signin.component';
import {SubmitComponent} from '../components/auth/submit/submit.component';
import {NewPasswordComponent} from '../components/auth/newpassword/new-password.component';

export const AuthRoutes: Routes = [
    {
        path: '',
        children: [{
            path: '404',
            component: NotFoundComponent
        }, {
            path: 'error',
            component: ErrorComponent
        }, {
            path: 'forgot',
            component: ForgotComponent
        }, {
            path: 'lockscreen',
            component: LockscreenComponent
        }, {
            path: 'signin',
            component: SigninComponent,
        }, {
            path: 'submit',
            component: SubmitComponent,

        },
            {
                path: 'newpassword',
                component: NewPasswordComponent,
            },
        ]
    }
];
