- 승인 요청 이메일이 발송되었습니다.
-
- {email}(으)로 인증 이메일이 발송 되었습니다.
-
- 이메일에서 코드 6자리를 아래 박스에 입력해주세요.
-
-
-
- 혹시 이메일을 못받으셨나요? 메일 다시 보내기
-
-
- );
-};
-
-export default EmailAuth;
-
-const Wrapper = styled.div`
- display: flex;
- flex-direction: column;
- align-items: center;
- color: ${({ theme }) => theme.colors.common.black};
- padding: 5rem 0;
- h3 {
- font-size: 1.8rem;
- margin-top: 0;
- margin-bottom: 40px;
- }
- p {
- font-size: 1rem;
- margin: 0;
- text-align: center;
- span {
- color: #477feb;
- &:last-child {
- &:hover {
- text-decoration: underline;
- cursor: pointer;
- }
- }
- }
- }
-`;
-
-const Form = styled.form`
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width: 500px;
- margin-top: 40px;
- margin-bottom: 60px;
-`;
-
-const InputContainer = styled.div`
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- margin-bottom: 40px;
-`;
-
-const InputBox = styled.input<{ filled: boolean }>`
- display: flex;
- justify-content: center;
- align-items: center;
- width: 60px;
- height: 60px;
- border-radius: 20px;
- border: 1px solid #7b7b7b;
- ${({ filled }) => filled && `border: 3px solid` + '#D2E0FB'};
- border-radius: 16px;
- background: #fff;
- text-align: center;
- caret-color: transparent;
- color: #000;
- font-family: NanumSquareRound;
- font-size: 1.2rem;
- font-weight: 700;
- &::-webkit-outer-spin-button,
- &::-webkit-inner-spin-button {
- -webkit-appearance: none;
- }
- &:not(:last-child) {
- margin-right: 20px;
- }
-`;
-
-const Button = styled.button<{ authorized?: boolean }>`
- width: 500px;
- height: 52px;
- background: ${(props) => (props.authorized ? '#85C88A' : '#D7E5CA')};
- color: #fff;
- font-size: 1.1rem;
- font-weight: 400;
- border-radius: 28px;
- border: none;
- font-family: NanumSquareRound;
- margin-top: 32px;
- &:hover {
- cursor: pointer;
- }
-`;
diff --git a/src/pages/Login/FindPW.tsx b/src/pages/Login/FindPW.tsx
deleted file mode 100644
index ef3678fb..00000000
--- a/src/pages/Login/FindPW.tsx
+++ /dev/null
@@ -1,190 +0,0 @@
-/* eslint-disable react/prop-types */
-/* eslint-disable @typescript-eslint/no-unused-vars */
-import React, { useCallback, useState } from 'react';
-import styled, { useTheme } from 'styled-components';
-import EmailAuth from './EmailAuth';
-import api from '@/api/api';
-import { LoadingButton } from '@mui/lab';
-
-interface FindPWProps {
- goToNextStep: () => void;
- isEmail: boolean;
- setIsEmail: React.Dispatch