Skip to content

Commit

Permalink
integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Moumadjad committed Mar 29, 2021
1 parent 186679c commit c7252f2
Show file tree
Hide file tree
Showing 5 changed files with 148 additions and 166 deletions.
58 changes: 0 additions & 58 deletions src/Components/Login.js

This file was deleted.

59 changes: 54 additions & 5 deletions src/components/Login/Login.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,58 @@
import React from 'react'
import styles from '../styles.module.css'
import FeatherIcon from 'feather-icons-react'

const Login = () => {
return(
'Login'
)
}
return (
<div className={'container ' + styles.formContainer}>
<div className={'row ' + styles.w_full}>
<div className='col-xl-5 col-lg-6 col-md-8 col-sm-10 m-auto'>
<div className={'p-sm-5 py-5 px-4 ' + styles.formLoginRegister}>
<span className={'mb-sm-5 mb-3 ' + styles.formLoginRegisterTitle}>
Connectez-vous
</span>
<div className='form-group position-relative'>
<span className={styles.formLoginRegisterPrepend}>
<FeatherIcon icon='mail' />
</span>
<input
type='email'
className={'form-control ' + styles.formLoginRegisterInput}
placeholder='Adresse mail'
/>
</div>
<div className='form-group position-relative'>
<span className={styles.formLoginRegisterPrepend}>
<FeatherIcon icon='lock' />
</span>
<input
type='password'
className={'form-control ' + styles.formLoginRegisterInput}
placeholder='Mot de passe'
/>
</div>
<a className={styles.formLoginRegisterForgotPasswordLink} href='#'>
Mot de passe oublié ?
</a>

export default Login;
<button
className={'mt-5 mb-4 ' + styles.formLoginRegisterbtnPrimary}
>
Connexion
</button>
<p className={' ' + styles.formLoginRegisterFooter}>
Pas encore de compte ?
<a
href='#'
className={'ml-1 ' + styles.formLoginRegisterFooterLink}
>
s’inscrire
</a>
</p>
</div>
</div>
</div>
</div>
)
}
export default Login
96 changes: 0 additions & 96 deletions src/components/Register.js

This file was deleted.

97 changes: 92 additions & 5 deletions src/components/Register/Register.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,96 @@
import React from 'react'
import styles from '../styles.module.css'
import FeatherIcon from 'feather-icons-react'

const Register = () => {
return(
'Register'
)
}
return (
<div className={'container ' + styles.formContainer}>
<div className={'row py-5 ' + styles.w_full}>
<div className='col-xl-5 col-lg-6 col-md-8 col-sm-10 m-auto'>
<div className={'p-sm-5 py-5 px-4 ' + styles.formLoginRegister}>
<span className={'mb-sm-5 mb-3 ' + styles.formLoginRegisterTitle}>
Inscrivez-vous
</span>
<div className='form-group position-relative'>
<span className={styles.formLoginRegisterPrepend}>
<FeatherIcon icon='user' />
</span>
<input
type='text'
className={'form-control ' + styles.formLoginRegisterInput}
placeholder='Prénom'
/>
</div>
<div className='form-group position-relative'>
<span className={styles.formLoginRegisterPrepend}>
<FeatherIcon icon='user' />
</span>
<input
type='text'
className={'form-control ' + styles.formLoginRegisterInput}
placeholder='Nom'
/>
</div>
<div className='form-group position-relative'>
<span className={styles.formLoginRegisterPrepend}>
<FeatherIcon icon='user' />
</span>
<input
type='text'
className={'form-control ' + styles.formLoginRegisterInput}
placeholder='Prénom & Nom'
/>
</div>
<div className='form-group position-relative'>
<span className={styles.formLoginRegisterPrepend}>
<FeatherIcon icon='mail' />
</span>
<input
type='email'
className={'form-control ' + styles.formLoginRegisterInput}
placeholder='Adresse mail'
/>
</div>
<div className='form-group position-relative'>
<span className={styles.formLoginRegisterPrepend}>
<FeatherIcon icon='lock' />
</span>
<input
type='password'
className={'form-control ' + styles.formLoginRegisterInput}
placeholder='Mot de passe'
/>
</div>
<div className='form-group position-relative'>
<span className={styles.formLoginRegisterPrepend}>
<FeatherIcon icon='lock' />
</span>
<input
type='password'
className={'form-control ' + styles.formLoginRegisterInput}
placeholder='Confirmer mot de passe'
/>
</div>


export default Register;
<button
className={'mt-5 mb-4 ' + styles.formLoginRegisterbtnPrimary}
>
Inscription
</button>
<p className={' ' + styles.formLoginRegisterFooter}>
Déja inscrit?
<a
href='#'
className={'ml-1 ' + styles.formLoginRegisterFooterLink}
>
se connecter
</a>
</p>
</div>
</div>
</div>
</div>
)
}
export default Register
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import Register from './components/Register/Register'

export const AuthLogin = () => {
return (
<div className="hhh">
<div className="">
<Login />
</div>
)
}

export const AuthRegister = () => {
return (
<div className="hhh">
<div className="">
<Register />
</div>
)
Expand Down

0 comments on commit c7252f2

Please sign in to comment.