Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend-MECRED
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
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
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
MECRED
Frontend-MECRED
Commits
12d9dd15
Commit
12d9dd15
authored
2 months ago
by
Guilherme Eduardo
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#272
: UPDATE high contrast on login page
parent
1e295a85
No related branches found
No related tags found
1 merge request
!257
WIP:Issue #272: UPDATE high contrast on login page
Pipeline
#41548
passed
2 months ago
Stage: build
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/entrar/components/LoginForm.js
+13
-13
13 additions, 13 deletions
src/app/entrar/components/LoginForm.js
src/app/entrar/components/LoginInfo.js
+11
-11
11 additions, 11 deletions
src/app/entrar/components/LoginInfo.js
with
24 additions
and
24 deletions
src/app/entrar/components/LoginForm.js
+
13
−
13
View file @
12d9dd15
...
@@ -49,13 +49,13 @@ export default function LoginForm({
...
@@ -49,13 +49,13 @@ export default function LoginForm({
<
/div
>
<
/div
>
<
div
className
=
"
flex flex-col
"
>
<
div
className
=
"
flex flex-col
"
>
<
form
onSubmit
=
{
handleSubmit
}
className
=
"
mb-5
"
>
<
form
onSubmit
=
{
handleSubmit
}
className
=
"
mb-5
"
>
<
Paper
elevation
=
{
0
}
className
=
"
w-96
flex flex-col items-center p-5 rounded-xl
"
>
<
Paper
elevation
=
{
0
}
className
=
"
flex flex-col
bg-white-HC-dark w-96
items-center p-5 rounded-xl
outline outline-1 outline-ice-HC-white
"
>
<
Image
<
Image
src
=
"
/mecred.svg
"
src
=
"
/mecred.svg
"
alt
=
"
MECRED Logo
"
alt
=
"
MECRED Logo
"
width
=
{
100
}
width
=
{
100
}
height
=
{
24
}
height
=
{
24
}
className
=
"
m-5
"
className
=
"
m-5
invertLogo-HC-white
"
/>
/>
{
errorMessage
?
(
{
errorMessage
?
(
<
Alert
severity
=
"
error
"
className
=
"
mb-3
"
>
{
errorMessage
}
<
/Alert
>
<
Alert
severity
=
"
error
"
className
=
"
mb-3
"
>
{
errorMessage
}
<
/Alert
>
...
@@ -63,13 +63,13 @@ export default function LoginForm({
...
@@ -63,13 +63,13 @@ export default function LoginForm({
{
/* Campo de E-mail */
}
{
/* Campo de E-mail */
}
<
div
className
=
"
w-full mb-6
"
>
<
div
className
=
"
w-full mb-6
"
>
<
label
htmlFor
=
"
email
"
className
=
"
block text-sm font-medium text-
gray-700
mb-1
"
>
<
label
htmlFor
=
"
email
"
className
=
"
block text-sm font-medium text-
darkGray-HC-white
mb-1
"
>
Insira
seu
e
-
mail
Insira
seu
e
-
mail
<
/label
>
<
/label
>
<
input
<
input
id
=
"
email
"
id
=
"
email
"
type
=
"
email
"
type
=
"
email
"
className
=
"
w-full px-3 py-2 border border-
gray-300
rounded-md focus:outline-none focus:ring-2 focus:ring-
secondary
"
className
=
"
w-full px-3 py-2 border border-
mediumGray-HC-white
rounded-md focus:outline-none focus:ring-2 focus:ring-
turquoise-HC-white
"
onChange
=
{
handleEmailChange
}
onChange
=
{
handleEmailChange
}
alt
=
"
E-mail
"
alt
=
"
E-mail
"
/>
/>
...
@@ -77,14 +77,14 @@ export default function LoginForm({
...
@@ -77,14 +77,14 @@ export default function LoginForm({
{
/* Campo de Senha */
}
{
/* Campo de Senha */
}
<
div
className
=
"
w-full mb-6
"
>
<
div
className
=
"
w-full mb-6
"
>
<
label
htmlFor
=
"
password
"
className
=
"
block text-sm font-medium text-
gray-700
mb-1
"
>
<
label
htmlFor
=
"
password
"
className
=
"
block text-sm font-medium text-
darkGray-HC-white
mb-1
"
>
Insira
sua
senha
Insira
sua
senha
<
/label
>
<
/label
>
<
div
className
=
"
relative
"
>
<
div
className
=
"
relative
"
>
<
input
<
input
id
=
"
password
"
id
=
"
password
"
type
=
{
showPassword
?
'
text
'
:
'
password
'
}
type
=
{
showPassword
?
'
text
'
:
'
password
'
}
className
=
"
w-full px-3 py-2 border border-
gray-300
rounded-md focus:outline-none focus:ring-2 focus:ring-
secondary
"
className
=
"
w-full px-3 py-2 border border-
mediumGray-HC-white
rounded-md focus:outline-none focus:ring-2 focus:ring-
turquoise-HC-white
"
onChange
=
{
handlePasswordChange
}
onChange
=
{
handlePasswordChange
}
alt
=
"
Senha
"
alt
=
"
Senha
"
/>
/>
...
@@ -102,7 +102,7 @@ export default function LoginForm({
...
@@ -102,7 +102,7 @@ export default function LoginForm({
<
Button
<
Button
fullWidth
fullWidth
disableElevation
disableElevation
className
=
"
bg-turquoise text-white-HC-dark-underline hover:bg-
t
urquoise-
hover
normal-case font-bold py-2 rounded-md
"
className
=
"
bg-turquoise
-HC-white
text-white-HC-dark-underline hover:bg-
darkT
urquoise-
HC-dark hover:text-white
normal-case font-bold py-2 rounded-md
outline outline-1 outline-ice-HC-white
"
type
=
"
submit
"
type
=
"
submit
"
alt
=
"
Entrar
"
alt
=
"
Entrar
"
title
=
"
Entrar
"
title
=
"
Entrar
"
...
@@ -111,21 +111,21 @@ export default function LoginForm({
...
@@ -111,21 +111,21 @@ export default function LoginForm({
<
/Button
>
<
/Button
>
{
/* Links de Recuperação de Senha e Cadastro */
}
{
/* Links de Recuperação de Senha e Cadastro */
}
<
p
className
=
"
mt-5 text-[14px] text-
gray-600
"
>
<
p
className
=
"
mt-5 text-[14px] text-
darkGray-HC-white
"
>
Esqueceu
a
senha
?{
"
"
}
Esqueceu
a
senha
?{
"
"
}
<
a
<
a
onClick
=
{
handleOpenModalPasswd
}
onClick
=
{
handleOpenModalPasswd
}
className
=
"
text-turquoise-HC-underline cursor-pointer hover:font-bold
"
className
=
"
text-turquoise-HC-
white-
underline cursor-pointer hover:font-bold
"
alt
=
"
Esqueceu a senha?
"
alt
=
"
Esqueceu a senha?
"
>
>
Clique
aqui
.
Clique
aqui
.
<
/a
>
<
/a
>
<
/p
>
<
/p
>
<
p
className
=
"
mt-2 text-[16px] text-
gray-600
"
>
<
p
className
=
"
mt-2 text-[16px] text-
darkGray-HC-white
"
>
Não
tem
uma
conta
?{
"
"
}
Não
tem
uma
conta
?{
"
"
}
<
a
<
a
onClick
=
{
handleOpenModalSignup
}
onClick
=
{
handleOpenModalSignup
}
className
=
"
text-turquoise-HC-underline hover:font-bold cursor-pointer
"
className
=
"
text-turquoise-HC-
white-
underline hover:font-bold cursor-pointer
"
alt
=
"
Cadastre-se
"
alt
=
"
Cadastre-se
"
>
>
Cadastre
-
se
aqui
.
Cadastre
-
se
aqui
.
...
@@ -148,7 +148,7 @@ export default function LoginForm({
...
@@ -148,7 +148,7 @@ export default function LoginForm({
</Button> */
}
</Button> */
}
<
button
<
button
onClick
=
{()
=>
router
.
push
(
"
/sobre
"
)}
onClick
=
{()
=>
router
.
push
(
"
/sobre
"
)}
className
=
"
text-turquoise-HC-underline outline outline-1 outline-ice-HC-white lg:text-nowrap bg-white-HC-dark py-1 w-96 hover:bg-ice-HC-dark-hover rounded cursor-pointer
"
className
=
"
text-turquoise-HC-
white-
underline outline outline-1 outline-ice-HC-white lg:text-nowrap bg-white-HC-dark py-1 w-96 hover:bg-ice-HC-dark-hover rounded cursor-pointer
"
alt
=
"
Entrar sem cadastrar
"
alt
=
"
Entrar sem cadastrar
"
>
>
Entrar
sem
cadastrar
Entrar
sem
cadastrar
...
...
This diff is collapsed.
Click to expand it.
src/app/entrar/components/LoginInfo.js
+
11
−
11
View file @
12d9dd15
...
@@ -7,42 +7,42 @@ export default function LoginInfo() {
...
@@ -7,42 +7,42 @@ export default function LoginInfo() {
{
{
name
:
"
Pesquise
"
,
name
:
"
Pesquise
"
,
icon
:
"
/pesquisa.svg
"
,
icon
:
"
/pesquisa.svg
"
,
color
:
"
violet
"
color
:
"
violet
-HC-white
"
},
},
{
{
name
:
"
Curta
"
,
name
:
"
Curta
"
,
icon
:
"
/salvar.svg
"
,
icon
:
"
/salvar.svg
"
,
color
:
"
pink
"
,
color
:
"
pink
-HC-white
"
,
},
},
{
{
name
:
"
Comente
"
,
name
:
"
Comente
"
,
icon
:
"
/comentar.svg
"
,
icon
:
"
/comentar.svg
"
,
color
:
"
orange
"
color
:
"
orange
-HC-white
"
},
},
{
{
name
:
"
Compartilhe
"
,
name
:
"
Compartilhe
"
,
icon
:
"
/compartilhar.svg
"
,
icon
:
"
/compartilhar.svg
"
,
color
:
"
secondary
"
color
:
"
turquoise-HC-white
"
},
},
{
{
name
:
"
Avalie
"
,
name
:
"
Avalie
"
,
icon
:
"
/avaliar.svg
"
,
icon
:
"
/avaliar.svg
"
,
color
:
"
orange
"
color
:
"
orange
-HC-white
"
},
},
{
{
name
:
"
Colecione
"
,
name
:
"
Colecione
"
,
icon
:
"
/colecionar.svg
"
,
icon
:
"
/colecionar.svg
"
,
color
:
"
secondary
"
color
:
"
turquoise-HC-white
"
},
},
{
{
name
:
"
Contribua
"
,
name
:
"
Contribua
"
,
icon
:
"
/download.svg
"
,
icon
:
"
/download.svg
"
,
color
:
"
violet
"
color
:
"
violet
-HC-white
"
},
},
{
{
name
:
"
Conecte-se!
"
,
name
:
"
Conecte-se!
"
,
icon
:
"
/seguir.svg
"
,
icon
:
"
/seguir.svg
"
,
color
:
"
pink
"
color
:
"
pink
-HC-white
"
}
}
]
]
...
@@ -57,17 +57,17 @@ export default function LoginInfo() {
...
@@ -57,17 +57,17 @@ export default function LoginInfo() {
{
cards
.
map
((
card
,
i
)
=>
{
{
cards
.
map
((
card
,
i
)
=>
{
return
(
return
(
<
div
key
=
{
i
}
className
=
{
`bg-
${
card
[
"
color
"
]}
py-4 rounded-xl m-2 grid justify-items-center`
}
style
=
{{
width
:
'
7em
'
,
height
:
'
7em
'
}}
>
<
div
key
=
{
i
}
className
=
{
`bg-
${
card
[
"
color
"
]}
py-4 rounded-xl m-2 grid justify-items-center`
}
style
=
{{
width
:
'
7em
'
,
height
:
'
7em
'
}}
>
<
Image
className
=
{
`w-14 h-14
${
card
[
"
name
"
]
===
"
Contribua
"
&&
`rotate-180`
}
`
}
alt
=
{
card
[
"
name
"
]}
style
=
{{
filter
:
'
invert(100%)
'
}}
src
=
{
card
[
"
icon
"
]}
width
=
{
10
}
height
=
{
10
}
/
>
<
Image
className
=
{
`w-14 h-14
invertIcon-HC-black
${
card
[
"
name
"
]
===
"
Contribua
"
&&
`rotate-180`
}
`
}
alt
=
{
card
[
"
name
"
]}
src
=
{
card
[
"
icon
"
]}
width
=
{
10
}
height
=
{
10
}
/
>
<
p
className
=
"
text-white-HC-dark-underline pt-1
"
>
{
card
[
"
name
"
]}
<
/p
>
<
p
className
=
"
text-white-HC-dark-underline pt-1
"
>
{
card
[
"
name
"
]}
<
/p
>
<
/div
>
<
/div
>
)
)
})}
})}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
h1
className
=
"
max-xl:hidden mb-10 text-lg max-lg:text-base text-darkGray-HC-white
-underline
text-balance mt-10 text-center
"
>
<
h1
className
=
"
max-xl:hidden mb-10 text-lg max-lg:text-base text-darkGray-HC-white text-balance mt-10 text-center
"
>
Entre
na
MEC
RED
através
do
painel
ao
lado
para
saber
mais
.
Entre
na
MEC
RED
através
do
painel
ao
lado
para
saber
mais
.
<
/h1
>
<
/h1
>
<
h1
className
=
"
xl:hidden mb-10 text-lg max-lg:text-base text-darkGray-HC-white
-underline
text-balance mt-10 text-center
"
>
<
h1
className
=
"
xl:hidden mb-10 text-lg max-lg:text-base text-darkGray-HC-white text-balance mt-10 text-center
"
>
Entre
na
MEC
RED
através
do
painel
acima
para
saber
mais
.
Entre
na
MEC
RED
através
do
painel
acima
para
saber
mais
.
<
/h1
>
<
/h1
>
<
/div
>
<
/div
>
...
...
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