initial commit
This commit is contained in:
72
src/routes/LoginRoutes.js
Normal file
72
src/routes/LoginRoutes.js
Normal file
@@ -0,0 +1,72 @@
|
||||
import { lazy } from 'react';
|
||||
|
||||
// project import
|
||||
// import GuestGuard from 'utils/route-guard/GuestGuard';
|
||||
import CommonLayout from 'layout/CommonLayout';
|
||||
import Loadable from 'components/Loadable';
|
||||
|
||||
// render - login
|
||||
// const AuthLogin = Loadable(lazy(() => import('pages/auth/login')));
|
||||
// const AuthRegister = Loadable(lazy(() => import('pages/auth/register')));
|
||||
// const AuthForgotPassword = Loadable(lazy(() => import('pages/auth/forgot-password')));
|
||||
// const AuthCheckMail = Loadable(lazy(() => import('pages/auth/check-mail')));
|
||||
// const AuthResetPassword = Loadable(lazy(() => import('pages/auth/reset-password')));
|
||||
// const AuthCodeVerification = Loadable(lazy(() => import('pages/auth/code-verification')));
|
||||
const Login = Loadable(lazy(() => import('pages/nearle/login')));
|
||||
|
||||
// ==============================|| AUTH ROUTING ||============================== //
|
||||
|
||||
const LoginRoutes = {
|
||||
path: '/',
|
||||
children: [
|
||||
{
|
||||
path: '/',
|
||||
element: (
|
||||
// <GuestGuard>
|
||||
<CommonLayout />
|
||||
// </GuestGuard>
|
||||
),
|
||||
children: [
|
||||
{
|
||||
path: '/',
|
||||
element: <Login />
|
||||
},
|
||||
{
|
||||
path: 'login',
|
||||
element: <Login />
|
||||
}
|
||||
|
||||
// {
|
||||
// path: '/',
|
||||
// element: <AuthLogin />
|
||||
// },
|
||||
// {
|
||||
// path: 'login',
|
||||
// element: <AuthLogin />
|
||||
// },
|
||||
// {
|
||||
// path: 'register',
|
||||
// element: <AuthRegister />
|
||||
// },
|
||||
// {
|
||||
// path: 'forgot-password',
|
||||
// element: <AuthForgotPassword />
|
||||
// },
|
||||
// {
|
||||
// path: 'check-mail',
|
||||
// element: <AuthCheckMail />
|
||||
// },
|
||||
// {
|
||||
// path: 'reset-password',
|
||||
// element: <AuthResetPassword />
|
||||
// },
|
||||
// {
|
||||
// path: 'code-verification',
|
||||
// element: <AuthCodeVerification />
|
||||
// }
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default LoginRoutes;
|
||||
Reference in New Issue
Block a user