feat: fix register page layout.

This commit is contained in:
Ahmed Bouhuolia
2020-10-10 15:05:18 +02:00
parent 31a267a560
commit b8060010d6
18 changed files with 315 additions and 290 deletions

View File

@@ -9,12 +9,6 @@ export default [
loader: () => import('containers/Authentication/Login'),
}),
},
{
path: `${BASE_URL}/register`,
component: LazyLoader({
loader: () => import('containers/Authentication/Register'),
}),
},
{
path: `${BASE_URL}/send_reset_password`,
component: LazyLoader({
@@ -32,11 +26,5 @@ export default [
component: LazyLoader({
loader: () => import('containers/Authentication/InviteAccept'),
}),
},
{
path: `${BASE_URL}/wizard`,
component: LazyLoader({
loader: () => import('containers/Authentication/RegisterWizardPage'),
}),
},
}
];

View File

@@ -0,0 +1,23 @@
import LazyLoader from 'components/LazyLoader';
export default [
{
path: '/register/subscription',
component: LazyLoader({
loader: () => import('containers/Authentication/Register/RegisterSubscriptionForm'),
}),
},
{
path: '/register/organization',
component: LazyLoader({
loader: () => import('containers/Authentication/Register/RegisterOrganizationForm'),
}),
},
{
path: `/`,
component: LazyLoader({
loader: () => import('containers/Authentication/Register/RegisterUserForm'),
}),
},
];