Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
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
G
beasy-mobile
Commits
29dbf528
Commit
29dbf528
authored
Jul 01, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nice looking profile screen
parent
fc7a0f6b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
137 additions
and
6 deletions
+137
-6
UserProfileScreen.tsx
src/screens/UserProfileScreen.tsx
+137
-6
No files found.
src/screens/UserProfileScreen.tsx
View file @
29dbf528
...
...
@@ -16,12 +16,143 @@ const UserProfileScreen = () => {
return
(
<
BackgroundWithBeasyIconAndWhiteContentArea
>
<>
<
Box
px=
{
"m"
}
mt=
{
"m"
}
>
<
Text
>
Email ::
{
userInformations
?.
email
}
</
Text
>
<
Text
>
Firstname ::
{
userInformations
?.
firstName
}
</
Text
>
<
Text
>
LastNAme ::
{
userInformations
?.
lastName
}
</
Text
>
<
Text
>
Username ::
{
userInformations
?.
username
}
</
Text
>
<
Text
>
MarchandId ::
{
userInformations
?.
marchand
.
marchand_id
}
</
Text
>
<
Box
px=
{
"m"
}
mt=
{
"m"
}
gap=
{
"m"
}
>
{
/* User Informations */
}
<
Box
width=
{
"100%"
}
// height={200}
backgroundColor=
{
"lightGray"
}
borderRadius=
{
10
}
p=
{
"s"
}
>
<
Box
width=
{
"100%"
}
// height={"100%"}
flexDirection=
{
"row"
}
gap=
{
"s"
}
py=
{
"m"
}
borderBottomColor=
{
"white"
}
borderBottomWidth=
{
1
}
>
<
Box
height=
{
70
}
aspectRatio=
{
1
}
borderRadius=
{
50
}
backgroundColor=
{
"secondary"
}
>
<
Text
/>
</
Box
>
<
Box
height=
{
"100%"
}
flex=
{
1
}
flexDirection=
{
"column"
}
>
<
Text
fontWeight=
{
"bold"
}
variant=
{
"black"
}
fontSize=
{
20
}
>
{
userInformations
.
firstName
}
{
userInformations
.
lastName
}
</
Text
>
<
Text
>
{
userInformations
.
email
}
</
Text
>
</
Box
>
</
Box
>
<
Box
width=
{
"100%"
}
flexDirection=
{
"row"
}
justifyContent=
{
"space-between"
}
py=
{
"m"
}
>
<
Text
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Utilisateur
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
username
}
</
Text
>
</
Box
>
</
Box
>
<
Text
fontWeight=
{
"bold"
}
>
Informations sur le marchand
</
Text
>
<
Box
width=
{
"100%"
}
backgroundColor=
{
"lightGray"
}
borderRadius=
{
10
}
p=
{
"s"
}
flexDirection=
{
"column"
}
// gap={"m"}
>
<
Box
width=
{
"100%"
}
flexDirection=
{
"row"
}
borderBottomWidth=
{
1
}
borderBottomColor=
{
"white"
}
justifyContent=
{
"space-between"
}
py=
{
"m"
}
>
<
Text
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Identifiant
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
marchand
.
marchand_id
}
</
Text
>
</
Box
>
<
Box
width=
{
"100%"
}
flexDirection=
{
"row"
}
borderBottomWidth=
{
1
}
borderBottomColor=
{
"white"
}
justifyContent=
{
"space-between"
}
py=
{
"m"
}
>
<
Text
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Entreprise
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
marchand
.
nom
}
</
Text
>
</
Box
>
<
Box
width=
{
"100%"
}
flexDirection=
{
"row"
}
borderBottomWidth=
{
1
}
borderBottomColor=
{
"white"
}
justifyContent=
{
"space-between"
}
py=
{
"m"
}
>
<
Text
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Code
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
marchand
.
code
}
</
Text
>
</
Box
>
<
Box
width=
{
"100%"
}
flexDirection=
{
"row"
}
borderBottomWidth=
{
1
}
borderBottomColor=
{
"white"
}
justifyContent=
{
"space-between"
}
py=
{
"m"
}
>
<
Text
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Addresse
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
marchand
.
adresse
}
</
Text
>
</
Box
>
<
Box
width=
{
"100%"
}
flexDirection=
{
"row"
}
borderBottomWidth=
{
1
}
borderBottomColor=
{
"white"
}
justifyContent=
{
"space-between"
}
py=
{
"m"
}
alignItems=
{
"center"
}
>
<
Text
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Url succès
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
marchand
.
urlSuccess
}
</
Text
>
</
Box
>
<
Box
width=
{
"100%"
}
flexDirection=
{
"row"
}
justifyContent=
{
"space-between"
}
// alignItems={"center"}
py=
{
"m"
}
>
<
Text
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Url échec
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
marchand
.
urlEchec
}
</
Text
>
</
Box
>
</
Box
>
</
Box
>
</>
</
BackgroundWithBeasyIconAndWhiteContentArea
>
...
...
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