Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
project_ss23_gameunity
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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Yusuf Akgül
project_ss23_gameunity
Commits
95341c81
Commit
95341c81
authored
1 year ago
by
Yusuf Akgül
Browse files
Options
Downloads
Patches
Plain Diff
mobile profile fix
parent
857fa307
No related branches found
Branches containing commit
No related tags found
1 merge request
!61
mobile profile fix
Pipeline
#40270
passed
1 year ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
components/profile/components/profile-user-info.tsx
+3
-3
3 additions, 3 deletions
components/profile/components/profile-user-info.tsx
components/profile/components/user-join-date.tsx
+1
-1
1 addition, 1 deletion
components/profile/components/user-join-date.tsx
with
4 additions
and
4 deletions
components/profile/components/profile-user-info.tsx
+
3
−
3
View file @
95341c81
...
@@ -62,15 +62,15 @@ export const ProfileUserInfo = async ({ user }: { user: IUser }) => {
...
@@ -62,15 +62,15 @@ export const ProfileUserInfo = async ({ user }: { user: IUser }) => {
</
div
>
</
div
>
{
user
.
bio
&&
<
h1
className
=
"break-words"
>
{
user
.
bio
}
</
h1
>
}
{
user
.
bio
&&
<
h1
className
=
"break-words"
>
{
user
.
bio
}
</
h1
>
}
<
div
className
=
"flex whitespace-nowrap items-center
space-x-6
text-muted-foreground"
>
<
div
className
=
"flex
flex-wrap
whitespace-nowrap items-center text-muted-foreground"
>
{
user
.
location
&&
{
user
.
location
&&
<
div
className
=
"flex items-center"
>
<
div
className
=
"flex items-center
mr-6 mb-3
"
>
<
Icons
.
location
className
=
"mr-1"
/>
<
Icons
.
location
className
=
"mr-1"
/>
<
div
>
{
user
.
location
}
</
div
>
<
div
>
{
user
.
location
}
</
div
>
</
div
>
</
div
>
}
}
{
user
.
website
&&
{
user
.
website
&&
<
div
className
=
"flex items-center"
>
<
div
className
=
"flex items-center
mr-6 mb-3
"
>
<
Icons
.
website
className
=
"mr-1"
/>
<
Icons
.
website
className
=
"mr-1"
/>
<
Link
href
=
{
user
.
website
}
prefetch
=
{
false
}
target
=
"_blank"
>
<
Link
href
=
{
user
.
website
}
prefetch
=
{
false
}
target
=
"_blank"
>
{
user
.
website
.
replace
(
"
http://
"
,
""
).
replace
(
"
https://
"
,
""
).
replace
(
"
www.
"
,
""
)
}
{
user
.
website
.
replace
(
"
http://
"
,
""
).
replace
(
"
https://
"
,
""
).
replace
(
"
www.
"
,
""
)
}
...
...
This diff is collapsed.
Click to expand it.
components/profile/components/user-join-date.tsx
+
1
−
1
View file @
95341c81
...
@@ -9,7 +9,7 @@ export const UserJoinDate = ({
...
@@ -9,7 +9,7 @@ export const UserJoinDate = ({
showIcon
?:
boolean
showIcon
?:
boolean
})
=>
{
})
=>
{
return
(
return
(
<
div
className
=
"flex items-center"
>
<
div
className
=
"flex items-center
mb-3
"
>
{
showIcon
&&
(<
Icons
.
calendar
className
=
"mr-1"
/>)
}
{
showIcon
&&
(<
Icons
.
calendar
className
=
"mr-1"
/>)
}
<
div
>
<
div
>
Joined
{
dayjs
(
date
).
format
(
"
MMMM YYYY
"
)
}
Joined
{
dayjs
(
date
).
format
(
"
MMMM YYYY
"
)
}
...
...
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