Skip to content
Snippets Groups Projects

Update admin system

Closed lfr20 requested to merge Update_Admin_System into sistema_admin
1 file
+ 21
12
Compare changes
  • Side-by-side
  • Inline
@@ -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>
)
);
}
Loading