Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
6f8d172a
Commit
6f8d172a
authored
Aug 29, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
2e15d908
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
ProfileMenuContent.tsx
ui/blocks/profileMenu/ProfileMenuContent.tsx
+1
-1
MyProfile.tsx
ui/pages/MyProfile.tsx
+6
-3
No files found.
ui/blocks/profileMenu/ProfileMenuContent.tsx
View file @
6f8d172a
...
...
@@ -39,7 +39,7 @@ const ProfileMenuContent = ({ name, nickname, email }: Props) => {
{
accountNavItems
.
map
((
item
)
=>
<
NavLink
key=
{
item
.
text
}
{
...
item
}
px=
"0px"
/>)
}
</
VStack
>
</
Box
>
<
Box
mt=
{
2
}
pt=
{
2
}
borderTopColor=
{
borderColor
}
borderTopWidth=
"1px"
{
...
getDefaultTransitionProps
()
}
>
<
Box
mt=
{
2
}
pt=
{
3
}
borderTopColor=
{
borderColor
}
borderTopWidth=
"1px"
{
...
getDefaultTransitionProps
()
}
>
<
Button
size=
"sm"
width=
"full"
variant=
"secondary"
>
Sign Out
</
Button
>
</
Box
>
</
Box
>
...
...
ui/pages/MyProfile.tsx
View file @
6f8d172a
import
{
VStack
,
FormControl
,
FormLabel
,
Input
}
from
'
@chakra-ui/react
'
;
import
{
VStack
,
FormControl
,
FormLabel
,
Input
,
Button
,
Flex
}
from
'
@chakra-ui/react
'
;
import
{
useQuery
}
from
'
@tanstack/react-query
'
;
import
React
from
'
react
'
;
...
...
@@ -24,8 +24,11 @@ const MyProfile = () => {
}
return
(
<
VStack
maxW=
"412px"
mt=
{
12
}
gap=
{
5
}
alignItems=
"flex-start"
>
<
UserAvatar
size=
{
64
}
data=
{
data
}
/>
<
VStack
maxW=
"412px"
mt=
{
12
}
gap=
{
5
}
alignItems=
"stretch"
>
<
Flex
justifyContent=
"space-between"
alignItems=
"center"
>
<
UserAvatar
size=
{
64
}
data=
{
data
}
/>
<
Button
size=
"sm"
variant=
"secondary"
>
Sign Out
</
Button
>
</
Flex
>
<
FormControl
variant=
"floating"
id=
"name"
isRequired
size=
"lg"
>
<
Input
size=
"lg"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment