Skip to content

Commit

Permalink
fix: design fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-hak committed Jun 13, 2024
1 parent a0f7005 commit 9b52ed6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
3 changes: 3 additions & 0 deletions public/mypage/CheckVector.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/pages/mypage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ const MyPage = () => {
)}
{/* <img src={`${member.imageUrl}`}></img> */}
</div>
<div className="w-[130px] h-[73px] flex flex-col justify-center items-center">
<div className="h-14 flex flex-col justify-start items-start gap-2">
<div className="w-[130px] text-center text-indigo-700 text-lg font-bold font-['Pretendard'] leading-[27px] mt-[8px]">
<div className=" flex flex-col justify-center items-center">
<div className="h-14 flex flex-col ">
<div className=" text-indigo-700 text-lg font-bold mt-[8px] mb-[2px]">
{member.memberNickName}
</div>
<div className="w-[130px] text-center text-neutral-400 text-sm font-medium font-['Pretendard'] leading-[21px]">
<div className=" flex justify-center text-neutral-400 text-sm font-medium font-['Pretendard'] ">
{job}
</div>
</div>
<div className="text-neutral-400 text-sm font-normal font-['Pretendard']">
<div className="text-neutral-400 text-sm font-normal font-['Pretendard'] ">
{member.memberEmail}
</div>
</div>
Expand Down
15 changes: 9 additions & 6 deletions src/pages/mypage/withdraw/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const MemberWithdrawal = () => {
</div>

<div className="w-[330px] h-[1px] mt-[8px] mb-[23px] bg-gray-300" />
<div className="text-sm text-stone-500 leading-relaxed">
<div className="text-sm ml-[4px] text-stone-500 leading-relaxed">
・회원 탈퇴 시 개인정보는 삭제되고 복구되지 않습니다.
<br />
・동일 이메일로 재가입 시 인증 절차를 다시 진행해야 합니다.
Expand All @@ -47,25 +47,28 @@ const MemberWithdrawal = () => {
제외)
</div>
</div>

<div className="flex flex-row items-center justify-center mt-10 ml-8">
<div className="flex flex-row items-center justify-center mt-10 pr-5">
<input
type="checkbox"
id="agreement"
className="w-5 h-5 border border-neutral-600"
className="invisible"
checked={isChecked}
onChange={handleCheckboxChange}
/>
<label
htmlFor="agreement"
className="ml-3 text-sm text-stone-500 flex justify-center">
className="ml-3 text-sm text-stone-500 flex justify-center items-center">
<span
className={`w-5 h-5 border border-neutral-600 mr-2 flex items-center cursor-pointer justify-center ${isChecked ? 'bg-neutral-600 text-white' : ''}`}>
{isChecked && <img src="/mypage/CheckVector.svg" alt="checked" />}
</span>
안내 사항을 모두 확인하였으며, 이에 동의합니다.
</label>
</div>

<button
onClick={handleWithdrawal}
className={`w-full mt-20 py-3 rounded-lg text-white font-semibold flex justify-center ${isChecked ? 'bg-space-purple' : 'bg-gray-400'} `}
className={`w-full mt-20 py-3 rounded-lg text-white font-semibold flex justify-center ${isChecked ? 'bg-black' : 'bg-gray-400'} `}
disabled={!isChecked}>
회원탈퇴
</button>
Expand Down

0 comments on commit 9b52ed6

Please sign in to comment.