Skip to content

Commit 0af7a3c

Browse files
[FE-244] feat: 탈퇴하기 레이아웃 구현
1 parent be38654 commit 0af7a3c

2 files changed

Lines changed: 42 additions & 3 deletions

File tree

src/pages/Setting/Setting.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ export default function Setting() {
9191
>
9292
<SettingSection routeText="로그아웃" />
9393
</section>
94-
{/* <section id="withdraw-item-section">
94+
<section id="withdraw-item-section">
9595
<SettingSection routeText="회원탈퇴" routeUrl="/setting/withdraw" />
96-
</section> */}
96+
</section>
9797
</div>
9898
)}
9999
{isClickedLogout && (
Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,46 @@
11
import React from 'react'
2+
import { ReactComponent as Back } from '@assets/back.svg'
3+
import Button from '@components/Button'
24

35
const Withdraw = () => {
4-
return <div>계탈할래요</div>
6+
return (
7+
<>
8+
<section id="route-backIcon-button" className="ml-[18px] mt-4">
9+
<Back className="cursor-pointer" />
10+
</section>
11+
<section id="before-withdraw-info" className="mt-11 px-6 ">
12+
<h1 className="text-[20px] font-medium leading-[30px]">
13+
레코딧을 탈퇴하시겠어요?
14+
</h1>
15+
<h3 className="mt-10 text-[16px] font-medium leading-[18px]">
16+
탈퇴 전 <span className="text-sub-1">꼭 확인</span>해주세요
17+
</h3>
18+
<ul className="mt-6 flex flex-col gap-5 border-b border-solid border-grey-3 pb-10 text-[12px] leading-[18px] text-grey-7">
19+
<li className="flex">
20+
<span></span>
21+
<span>
22+
지금 탈퇴하시면 그 동안 공유한 레코드와 댓글의
23+
<p>추억이 모두 사라져요.</p>
24+
</span>
25+
</li>
26+
<li className="flex">
27+
<span></span>
28+
<span>
29+
재가입하여도 공유했던 레코드와 댓글의
30+
<p>추억은 복구되지 않아요.</p>
31+
</span>
32+
</li>
33+
<li>
34+
<span></span>
35+
<span>탈퇴 후 1주일 동안은 재가입이 불가능해요.</span>
36+
</li>
37+
</ul>
38+
</section>
39+
<section id="withdraw-navigate-button" className="mt-[180px] px-6">
40+
<Button property="danger">탈퇴하기</Button>
41+
</section>
42+
</>
43+
)
544
}
645

746
export default Withdraw

0 commit comments

Comments
 (0)