Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PortalMEC-React
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PortalMEC
PortalMEC-React
Commits
995bc86f
Commit
995bc86f
authored
4 years ago
by
lfr20
Browse files
Options
Downloads
Patches
Plain Diff
add corrected identation
parent
73ab0ac3
No related branches found
No related tags found
4 merge requests
!57
Merge of develop into master
,
!56
Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...
,
!39
Update admin system
,
!36
Fix perfil into develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Components/UserPageComponents/UserInfo.js
+21
-12
21 additions, 12 deletions
src/Components/UserPageComponents/UserInfo.js
with
21 additions
and
12 deletions
src/Components/UserPageComponents/UserInfo.js
+
21
−
12
View file @
995bc86f
...
...
@@ -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
>
)
)
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment