UI design on member detail page

pull/3534/head^2
Kamran Ahmed 7 months ago
parent 8c55be23cc
commit ba7c0f6517
  1. 16
      src/components/TeamMemberDetails/TeamMemberDetailsPage.tsx

@ -90,27 +90,17 @@ export function TeamMemberDetailsPage() {
return ( return (
<> <>
<div> <div className="flex items-center gap-3 mb-8">
<div className="flex items-center gap-4">
<img <img
src={avatarUrl} src={avatarUrl}
alt={memberProgress?.name} alt={memberProgress?.name}
className="h-24 w-24 rounded-full" className="h-14 w-14 rounded-full"
/> />
<div> <div>
<MemberRoleBadge <h1 className="mt-1 text-2xl font-medium">{memberProgress?.name}</h1>
className="sm:inline-flex"
role={memberProgress?.role!}
/>
<h1 className="mt-1 text-2xl font-medium">
{memberProgress?.name}
</h1>
<p className="text-sm text-gray-500">{memberProgress?.email}</p> <p className="text-sm text-gray-500">{memberProgress?.email}</p>
</div> </div>
</div> </div>
</div>
<hr className="my-8 border-gray-200" />
{memberProgress?.progresses && memberProgress?.progresses?.length > 0 ? ( {memberProgress?.progresses && memberProgress?.progresses?.length > 0 ? (
<> <>

Loading…
Cancel
Save