We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81fd2fe commit 73a9738Copy full SHA for 73a9738
src/components/columnCard/Card.tsx
@@ -97,9 +97,19 @@ export default function Card({
97
/>
98
<span>{dueDate}</span>
99
</div>
100
- <div className="w-6 h-6 flex items-center justify-center bg-[#A3C4A2] text-white font-bold rounded-full text-xs">
101
- {assignee.nickname[0]}
102
- </div>
+ {assignee.profileImageUrl ? (
+ <Image
+ src={assignee.profileImageUrl}
103
+ alt="프로필 이미지"
104
+ width={24}
105
+ height={24}
106
+ className="w-6 h-6 rounded-full object-cover"
107
+ />
108
+ ) : (
109
+ <div className="w-6 h-6 flex items-center justify-center bg-[#A3C4A2] text-white font-bold rounded-full text-xs">
110
+ {assignee.nickname[0]}
111
+ </div>
112
+ )}
113
114
115
0 commit comments