Skip to content

Commit

Permalink
πŸ’„ μ±„νŒ… 리슀트 λ””μžμΈ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
abcxj123 committed Jul 9, 2024
1 parent 5552c12 commit fee638e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/chat/ChatListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ const ChatListItem: FC<Iprops> = ({
}, []);

return (
<div className="flex flex-row w-full gap-6" onClick={() => onClickItem()}>
<div className="flex flex-row w-full gap-4" onClick={() => onClickItem()}>
{/* 이미지 μ˜μ—­ */}
<div className="relative border-[1px] border-hanaPurple rounded-3xl">
<img src={image} alt="image" className="size-28 p-2 rounded-3xl" />
<img src={image} alt="image" className="size-24 p-2 rounded-3xl" />
{isNew && (
<div className="flex absolute right-1 top-1 justify-center items-center w-7 h-7 bg-red-500 text-white rounded-full font-hanaCM">
N
Expand All @@ -79,12 +79,14 @@ const ChatListItem: FC<Iprops> = ({
<div className="w-3/4 flex flex-col gap-3 py-3">
<div className="flex flex-row justify-between">
<div className="flex flex-row gap-2">
<p className="font-hanaMedium text-3xl">{title}</p>
<p className="font-hanaMedium text-2xl max-w-80 truncate ">
{title}
</p>
<p className="font-hanaRegular text-2xl text-hanaPurple opacity-50">
{member}
</p>
</div>
<p className="font-hanaMedium text-xl">{chatFormatter(date)}</p>
<p className="font-hanaMedium text-lg">{chatFormatter(date)}</p>
</div>
<p className="line-clamp-1 w-2/3 text-2xl text-hanaSilver2 font-hanaRegular">
{lastMsg}
Expand Down

0 comments on commit fee638e

Please sign in to comment.