mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
style: update user header
This commit is contained in:
@@ -58,9 +58,11 @@ const UserHeader: FC<UserHeaderProps> = ({ user }) => {
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{user.bio && (
|
||||||
<div className="my-2 w-6/12">
|
<div className="my-2 w-6/12">
|
||||||
<p className="text-sm">{user.bio}</p>
|
<p className="text-sm">{user.bio}</p>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
<div className="my-2 flex items-center justify-center">
|
<div className="my-2 flex items-center justify-center">
|
||||||
{currentUser?.id !== user.id ? (
|
{currentUser?.id !== user.id ? (
|
||||||
@@ -70,7 +72,7 @@ const UserHeader: FC<UserHeaderProps> = ({ user }) => {
|
|||||||
mutateFollowingCount={mutateFollowingCount}
|
mutateFollowingCount={mutateFollowingCount}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Link href={`/users/account/edit-profile`} className="btn btn-primary">
|
<Link href={`/users/account/edit-profile`} className="btn btn-primary btn-sm">
|
||||||
Edit Profile
|
Edit Profile
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user