Skip to content
Snippets Groups Projects
Commit 995bc86f authored by lfr20's avatar lfr20
Browse files

add corrected identation

parent 73ab0ac3
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!36Fix perfil into develop
......@@ -15,22 +15,31 @@ GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/
import React, {useContext} from 'react';
import { Store } from '../../Store.js';
import {UserProfileInfoDiv} from '../TabPanels/StyledComponents.js'
import React, { useContext } from "react";
import { Store } from "../../Store.js";
import { UserProfileInfoDiv } from "../TabPanels/StyledComponents.js";
export default function UserInfo (props) {
const {state} = useContext(Store)
export default function UserInfo(props) {
const { state } = useContext(Store);
const user = state.currentUser.name
const education = state.currentUser.education
const user = state.currentUser.name;
const education = state.currentUser.education;
return (
<UserProfileInfoDiv>
<p style={{fontSize:"28px", color:"#fff", paddingTop:"5px", paddingBottom:"5px", fontWeight:"500", backgroundColor:"#77777796", borderRadius : "5px"}}>{user}</p>
<div style={{fontSize:"14px", color:"#fff", marginBottom:"2px"}}>
<p>{education}</p>
</div>
<p
style={{
fontSize: "28px",
color: "#fff",
paddingTop: "5px",
paddingBottom: "5px",
fontWeight: "500",
backgroundColor: "#77777796",
borderRadius: "5px",
}}
>
{user}
</p>
</UserProfileInfoDiv>
)
);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment