11import React , { useState } from 'react' ;
2- import { CancelContainer , SubTitle , Text , InfoBox , InfoItem , CheckboxWrapper } from './styles' ;
2+ import { CancelContainer , SubTitle , Text , InfoBox , InfoItem , CheckboxWrapper , CheckboxInput } from './styles' ;
33import { StyledText } from '../../components/Text/StyledText' ;
44import theme from '../../styles/theme' ;
55import { OODDFrame } from '../../components/Frame/Frame' ;
@@ -74,18 +74,13 @@ const AccountCancel: React.FC = () => {
7474 < TopBar text = "회원 탈퇴" LeftButtonSrc = { back } onClickLeftButton = { ( ) => navigate ( - 1 ) } />
7575
7676 < SubTitle >
77- < StyledText as = "div" $textTheme = { { style : 'body1 -medium' , lineHeight : 2 } } color = { theme . colors . black } >
77+ < StyledText as = "div" $textTheme = { { style : 'headline2 -medium' , lineHeight : 2 } } color = { theme . colors . black } >
7878 OOTD 탈퇴 전 확인하세요!
7979 </ StyledText >
8080 </ SubTitle >
8181 < Text as = "div" >
82- < StyledText as = "div" $textTheme = { { style : 'body2-light' , lineHeight : 1 } } color = { theme . colors . black } >
83- 탈퇴하시면 이용 중인 서비스가 폐쇄되며,
84- </ StyledText >
85- </ Text >
86- < Text as = "div" >
87- < StyledText as = "div" $textTheme = { { style : 'body2-light' , lineHeight : 1 } } color = { theme . colors . black } >
88- 모든 데이터는 복구할 수 없습니다.
82+ < StyledText as = "div" $textTheme = { { style : 'caption1-regular' , lineHeight : 1 } } color = { theme . colors . black } >
83+ { `탈퇴하시면 이용 중인 서비스가 폐쇄되며,\n모든 데이터는 복구할 수 없습니다.` }
8984 </ StyledText >
9085 </ Text >
9186 < InfoBox >
@@ -102,12 +97,7 @@ const AccountCancel: React.FC = () => {
10297 </ InfoBox >
10398 < CheckboxWrapper as = "div" >
10499 < label style = { { display : 'flex' , alignItems : 'center' , cursor : 'pointer' } } >
105- < input
106- type = "checkbox"
107- checked = { isChecked }
108- onChange = { handleCheckboxChange }
109- style = { { marginRight : '8px' } } // 텍스트와 체크박스 간격 조절
110- />
100+ < CheckboxInput type = "checkbox" checked = { isChecked } onChange = { handleCheckboxChange } />
111101 < StyledText as = "span" $textTheme = { { style : 'body4-light' , lineHeight : 1 } } color = { theme . colors . gray3 } >
112102 안내사항을 모두 확인하였으며, 이에 동의합니다.
113103 </ StyledText >
0 commit comments