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

@@ -0,0 +1,26 @@
import React from 'react';
import { Route, Switch } from 'react-router-dom';
import RegisterWizardSteps from './RegisterWizardSteps';
import registerRoutes from 'routes/register';
export default function RegisterRightSection () {
return (
<section className={'register-page__right-section'}>
<RegisterWizardSteps />
<div class="register-page-form">
<Switch>
{ registerRoutes.map((route, index) => (
<Route
exact={route.exact}
key={index}
path={`${route.path}`}
component={route.component}
/>
)) }
</Switch>
</div>
</section>
)
}