add nb follower et nb abonné
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
commit
054239861a
@ -0,0 +1,33 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { NavLink } from "react-router-dom";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const ConfigurationDuCompte =()=>{
|
||||||
|
return(
|
||||||
|
<div>
|
||||||
|
<h2>Modifucation information du compte</h2>
|
||||||
|
<div className='ligneHorizontal'>
|
||||||
|
<div>
|
||||||
|
<span>adresse mail : mail</span>
|
||||||
|
<span>mot de passe : mdp</span>
|
||||||
|
<span>confirmer le mot de passe : mdp</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2>Suppression du compte</h2>
|
||||||
|
<div className='ligneHorizontal'/>
|
||||||
|
<div >
|
||||||
|
<button>
|
||||||
|
supprimer votre compte
|
||||||
|
</button>
|
||||||
|
<span>gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
export default ConfigurationDuCompte;
|
||||||
|
|
||||||
|
|
@ -0,0 +1,29 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import PP from "../../assets/img/unknown.png";
|
||||||
|
import { NavLink } from "react-router-dom";
|
||||||
|
|
||||||
|
|
||||||
|
const ConfigurationDuProfil = ()=>{
|
||||||
|
return(
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h2>Modifucation du Profil</h2>
|
||||||
|
<div className='ligneHorizontal'>
|
||||||
|
<img src={PP}/>
|
||||||
|
<div>
|
||||||
|
<span>Pseudo : Pseudo</span>
|
||||||
|
<span>Nom d'utilisateur : @Pseudo</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2>Acces au dossiers personnel</h2>
|
||||||
|
<div className='ligneHorizontal'/>
|
||||||
|
<div >
|
||||||
|
<caption> Rendre vos dossiers prives</caption>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export default ConfigurationDuProfil;
|
@ -1,36 +1,52 @@
|
|||||||
import 'tachyons';
|
import 'tachyons';
|
||||||
import React from 'react';
|
import React, {useState} from 'react';
|
||||||
import PP from "../assets/img/unknown.png";
|
import ConfigurationDuProfil from '../components/Configurations/ConfigurationDuProfil';
|
||||||
import { NavLink } from "react-router-dom";
|
import ConfigurationDuCompte from '../components/Configurations/ConfigurationDuCompte.js';
|
||||||
|
import PolitiqueDeConfidentialite from '../components/Configurations/PolitiqueDeConfidentialite';
|
||||||
|
|
||||||
|
function Configuration(){
|
||||||
|
|
||||||
const Configuration = () => {
|
const [ConfigurationCompte, setConfigurationDuCompte] = useState(false);
|
||||||
|
const [ConfigurationProfil, setConfigurationDuProfil] = useState(true);
|
||||||
|
const [PolitiqueConfidentialite, setPolitiqueDeConfidentialite] =useState(false)
|
||||||
|
|
||||||
|
const handleModals = (e) => {
|
||||||
|
if (e.target.id === "ConfigurationDuProfil") {
|
||||||
|
setConfigurationDuCompte(false);
|
||||||
|
setPolitiqueDeConfidentialite(false);
|
||||||
|
setConfigurationDuProfil(true);
|
||||||
|
} else if (e.target.id === "ConfigurationDuCompte") {
|
||||||
|
setConfigurationDuCompte(true);
|
||||||
|
setPolitiqueDeConfidentialite(false);
|
||||||
|
setConfigurationDuProfil(false);
|
||||||
|
} else if (e.target.id ==="PolitiqueDeConfidentialite"){
|
||||||
|
setConfigurationDuCompte(false);
|
||||||
|
setPolitiqueDeConfidentialite(true);
|
||||||
|
setConfigurationDuProfil(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
};
|
||||||
return(
|
return(
|
||||||
<div>
|
<>
|
||||||
<div className='ligneVertical'>
|
|
||||||
<button ></button>
|
|
||||||
<button ></button>
|
|
||||||
<button ></button>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h2>Modifucation information du compte</h2>
|
|
||||||
<div className='ligneHorizontal'>
|
|
||||||
<img src={PP}/>
|
|
||||||
<div>
|
|
||||||
<span>Pseudo : Pseudo</span>
|
|
||||||
<span>Nom d'utilisateur : @Pseudo</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<h2>Acces au dossiers personnel</h2>
|
|
||||||
|
|
||||||
<div className='ligneHorizontal'>
|
|
||||||
<caption> Rendre vos dossiers prives</caption>
|
|
||||||
|
|
||||||
</div>
|
<div className='boutonDeConfigurations'>
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
<button onClick={handleModals} id="ConfigurationDuProfil" className={ConfigurationProfil} >
|
||||||
|
Configuration du profil
|
||||||
|
</button>
|
||||||
|
<button onClick={handleModals} id="ConfigurationDuCompte" className={ConfigurationCompte}>
|
||||||
|
Configuration du compte
|
||||||
|
</button>
|
||||||
|
<button onClick={handleModals} id="PolitiqueDeConfidentialite" className={PolitiqueConfidentialite}>
|
||||||
|
Politique de confidentialite
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<div className='ligneVertical'/>
|
||||||
|
</div>
|
||||||
|
{ConfigurationProfil &&<ConfigurationDuProfil/>}
|
||||||
|
{ConfigurationCompte &&<ConfigurationDuCompte/>}
|
||||||
|
{PolitiqueConfidentialite &&<PolitiqueDeConfidentialite/>}
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
.ligneVertical{
|
||||||
|
border-right: thick solid $color-1;
|
||||||
|
height:85%;
|
||||||
|
width: 1%;
|
||||||
|
}
|
||||||
|
.boutonDeConfigurations{
|
||||||
|
|
||||||
|
|
||||||
|
width: 20%;
|
||||||
|
|
||||||
|
}
|
||||||
|
.ligneHorizontal{
|
||||||
|
border-top: thick solid $color-1;
|
||||||
|
width: 78%;
|
||||||
|
height: 1%;
|
||||||
|
}
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
.ligneVertical{
|
|
||||||
border-right: thick solid #000;
|
|
||||||
height:85%;
|
|
||||||
}
|
|
||||||
.ligneHorizontal{
|
|
||||||
border-top: thick solid #000;
|
|
||||||
width: 78%;
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue