Skip to content
Snippets Groups Projects
Commit 95341c81 authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

mobile profile fix

parent 857fa307
No related branches found
No related tags found
1 merge request!61mobile profile fix
Pipeline #40270 passed
...@@ -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.", "")}
......
...@@ -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")}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment