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
fbfeb5e2
Commit
fbfeb5e2
authored
1 month ago
by
esrsc23
Committed by
jsk22
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#290
: FIX Style of the share profile button
parent
d1831f24
No related branches found
No related tags found
1 merge request
!294
Issue/271.1 create new backend routes connection
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/app/components/ShareButton.js
+2
-2
2 additions, 2 deletions
src/app/components/ShareButton.js
src/app/components/ShareModal.js
+1
-1
1 addition, 1 deletion
src/app/components/ShareModal.js
src/app/perfil/[id]/components/GroupButton.js
+2
-2
2 additions, 2 deletions
src/app/perfil/[id]/components/GroupButton.js
with
5 additions
and
5 deletions
src/app/components/ShareButton.js
+
2
−
2
View file @
fbfeb5e2
...
@@ -18,12 +18,12 @@ export default function ShareButton({ type, id }) {
...
@@ -18,12 +18,12 @@ export default function ShareButton({ type, id }) {
return
(
return
(
<>
<>
<
button
<
button
className
=
"
p-2 text-sm rounded-
xl max-md:my-3 bg-ice-HC-dark
hover:bg-
light
Gray-HC-white hover:text-darkGray-HC-dark outline outline-1 outline-
ice
-HC-white text-darkGray-HC-white-underline font-bold normal-case flex justify-center items-center gap-2
"
className
=
"
p-2 text-sm rounded-
[10px] w-48 h-11 max-md:my-3
hover:bg-
dark
Gray-HC-white hover:text-darkGray-HC-dark outline outline-1 outline-
lightGray
-HC-white text-darkGray-HC-white-underline
hover:text-white-HC-dark-underline
font-bold normal-case flex justify-center items-center gap-2
"
onClick
=
{()
=>
setShareOpen
(
true
)}
onClick
=
{()
=>
setShareOpen
(
true
)}
aria
-
label
=
"
Compartilhar
"
aria
-
label
=
"
Compartilhar
"
>
>
<
ShareOutlinedIcon
fontSize
=
"
small
"
/>
<
ShareOutlinedIcon
fontSize
=
"
small
"
/>
<
span
className
=
"
hidden md:inline
"
>
Compartilhar
<
/span
>
<
span
className
=
"
hidden md:inline
"
>
Compartilhar
perfil
<
/span
>
<
/button
>
<
/button
>
<
ShareModal
<
ShareModal
open
=
{
shareOpen
}
open
=
{
shareOpen
}
...
...
This diff is collapsed.
Click to expand it.
src/app/components/ShareModal.js
+
1
−
1
View file @
fbfeb5e2
...
@@ -51,7 +51,7 @@ export default function ShareModal({ open, onClose, title, link }) {
...
@@ -51,7 +51,7 @@ export default function ShareModal({ open, onClose, title, link }) {
<
Button
<
Button
disableElevation
disableElevation
variant
=
"
outlined
"
variant
=
"
outlined
"
className
=
"
border
-dark
Gray-HC-white text-darkGray-HC-white-underline
border
text-lg normal-case flex gap-2
"
className
=
"
border
border-light
Gray-HC-white text-darkGray-HC-white-underline
hover:bg-darkGray-HC-white hover:text-white-HC-dark-underline
text-lg normal-case flex gap-2
"
sx
=
{{
justifyContent
:
"
start
"
}}
sx
=
{{
justifyContent
:
"
start
"
}}
onClick
=
{()
=>
{
onClick
=
{()
=>
{
navigator
.
clipboard
.
writeText
(
link
);
navigator
.
clipboard
.
writeText
(
link
);
...
...
This diff is collapsed.
Click to expand it.
src/app/perfil/[id]/components/GroupButton.js
+
2
−
2
View file @
fbfeb5e2
...
@@ -114,7 +114,7 @@ export default function GroupButton({ profileData, idLogin }) {
...
@@ -114,7 +114,7 @@ export default function GroupButton({ profileData, idLogin }) {
<
div
className
=
'
flex flex-row gap-4 max-sm:flex-col max-sm:items-center
'
>
<
div
className
=
'
flex flex-row gap-4 max-sm:flex-col max-sm:items-center
'
>
{
idLogin
==
profileData
[
"
id
"
]
?
{
idLogin
==
profileData
[
"
id
"
]
?
<
button
<
button
className
=
{
`text-[16px] rounded-[10px] normal-case h-1
0
font-bold w-4
8
text-white-HC-dark-underline hover:text-white bg-turquoise-HC-white hover:bg-darkTurquoise-HC-dark outline outline-1 outline-ice-HC-white `
}
className
=
{
`text-[16px] rounded-[10px] normal-case h-1
1
font-bold w-4
4
text-white-HC-dark-underline hover:text-white bg-turquoise-HC-white hover:bg-darkTurquoise-HC-dark outline outline-1 outline-ice-HC-white `
}
alt
=
"
Editar meu perfil
"
alt
=
"
Editar meu perfil
"
onClick
=
{()
=>
router
.
push
(
`/editar/
${
idLogin
}
`
)}
onClick
=
{()
=>
router
.
push
(
`/editar/
${
idLogin
}
`
)}
>
>
...
...
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