Merge branch 'master' of https://codefirst.iut.uca.fr/git/noan.randon/Favor
commit
828bcc5e74
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectTasksOptions">
|
||||
<TaskOptions isEnabled="true">
|
||||
<option name="arguments" value="$FileName$:$FileNameWithoutExtension$.css" />
|
||||
<option name="checkSyntaxErrors" value="true" />
|
||||
<option name="description" />
|
||||
<option name="exitCodeBehavior" value="ERROR" />
|
||||
<option name="fileExtension" value="sass" />
|
||||
<option name="immediateSync" value="true" />
|
||||
<option name="name" value="Sass" />
|
||||
<option name="output" value="$FileNameWithoutExtension$.css:$FileNameWithoutExtension$.css.map" />
|
||||
<option name="outputFilters">
|
||||
<array />
|
||||
</option>
|
||||
<option name="outputFromStdout" value="false" />
|
||||
<option name="program" value="sass" />
|
||||
<option name="runOnExternalChanges" value="true" />
|
||||
<option name="scopeName" value="Project Files" />
|
||||
<option name="trackOnlyRoot" value="true" />
|
||||
<option name="workingDir" value="$FileDir$" />
|
||||
<envs />
|
||||
</TaskOptions>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,26 @@
|
||||
import React, {useEffect} from 'react';
|
||||
import {isEmpty} from "./Utils";
|
||||
import {useSelector} from "react-redux";
|
||||
|
||||
const Notif = ({message} ) => {
|
||||
const usersData = useSelector((state) => state.users.users);
|
||||
|
||||
return (
|
||||
<div className='conteneur_notif'>
|
||||
<div className={'contenue_notif'}>
|
||||
<img id="PhotoProfile" alt="" src="lien" />
|
||||
</div>
|
||||
<div className={'contenue_notif'} >
|
||||
<h6 id="NomProfile">
|
||||
bastien
|
||||
</h6>
|
||||
</div>
|
||||
<div className={'contenue_notif'}>
|
||||
{message}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
);
|
||||
};
|
||||
|
||||
export default Notif;
|
@ -1,10 +1,19 @@
|
||||
import React from 'react';
|
||||
import Navbar from '../components/Navbar';
|
||||
import Notif from '../components/Notif';
|
||||
|
||||
const Trends = () => {
|
||||
return (
|
||||
<div id={'listeNotif'}>
|
||||
<Navbar />
|
||||
);
|
||||
<h1>Notification</h1>
|
||||
<Notif message="a like"/>
|
||||
<Notif message="a like"/>
|
||||
<Notif message="a like"/>
|
||||
<Notif message="a like"/>
|
||||
<Notif message="a like"/>
|
||||
<Notif message="a commenter votre poste"/>
|
||||
</div>);
|
||||
};
|
||||
|
||||
export default Trends;
|
@ -0,0 +1,41 @@
|
||||
|
||||
.ModifucationInformationDuCompte{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-left: 10%;
|
||||
}
|
||||
|
||||
.ModificationInformationDuCompteText{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-left:5%;
|
||||
font-size: medium;
|
||||
|
||||
}
|
||||
|
||||
.buttonSuppressionCompte{
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
align-items:center;
|
||||
button{
|
||||
padding: 1%;
|
||||
margin-bottom: 1%;
|
||||
margin-top: 2%;
|
||||
margin-left: 6%;
|
||||
width: 16%;
|
||||
max-width: 160px;
|
||||
background-color: $color-3;
|
||||
border: 2px solid $color-4;
|
||||
border-radius: 20px;
|
||||
}
|
||||
button:hover {
|
||||
background-color: $color-1;
|
||||
border-color: black;
|
||||
|
||||
}
|
||||
span{
|
||||
padding-left: 40px;
|
||||
max-width: 100px;
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
.conteneur_notif {
|
||||
display: flex;
|
||||
align-items:center;
|
||||
justify-content: start;
|
||||
|
||||
margin-top: 1%;
|
||||
margin-bottom: 1%;
|
||||
}
|
||||
|
||||
|
||||
.contenue_notif:nth-child(2) {
|
||||
margin-right: 10px;
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
#listeNotif{
|
||||
margin-left: 10%;
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
.ligneVertical{
|
||||
border-right: thick solid #000;
|
||||
height:85%;
|
||||
}
|
||||
.ligneHorizontal{
|
||||
border-top: thick solid #000;
|
||||
width: 78%;
|
||||
}
|
Loading…
Reference in new issue