Skip to content

Commit 9c1328a

Browse files
authored
Merge pull request #23 from Soohyuniii/feature/profile-component
feat: Profile 컴포넌트 개발
2 parents fd6270f + 5bb3a65 commit 9c1328a

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

public/icon/dustbin.svg

Lines changed: 7 additions & 0 deletions
Loading

src/components/Profile.tsx

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
const Profile = () => {
2+
return (
3+
<div className="w-[157px] h-[192px] bg-white rounded-[8px] overflow-hidden relative border border-[#EEEEEE]">
4+
<img
5+
src="/public/icon/dustbin.svg"
6+
alt="Delete"
7+
className="absolute top-3 right-3 w-5 h-5 cursor-pointer"
8+
width={16}
9+
height={16}
10+
/>
11+
12+
<img
13+
src="/public/image/ENTP.png"
14+
alt="Profile"
15+
className="absolute top-[12px] left-[11px] w-12 h-12 object-cover rounded-full"
16+
/>
17+
18+
<div className="pt-[69px] px-4">
19+
<h2 className="text-base flex items-center space-x-1">
20+
<span className="font-bold">김엠비</span>
21+
<span className="font-light text-gray-600">ENTP</span>
22+
</h2>
23+
<p className="text-xs text-gray-600 mt-2 font-light">
24+
20대 · 여자 · 직장동료 · 여행 · 사회생활
25+
</p>
26+
</div>
27+
28+
<button className="w-full h-[41px] bg-primary-pale text-primary-normal font-bold py-2 text-sm absolute bottom-0">
29+
바로 대화하기
30+
</button>
31+
</div>
32+
);
33+
};
34+
35+
export default Profile;

0 commit comments

Comments
 (0)