From aabcc58e4d16309b5ee752cda9fbd7895b03bf31 Mon Sep 17 00:00:00 2001 From: Kimjaewoo Date: Wed, 23 Oct 2024 18:45:10 +0900 Subject: [PATCH] =?UTF-8?q?[ISSUE-45]=20move:=20AuthInput=EC=9D=84=20Login?= =?UTF-8?q?Input=20=EC=9D=B4=EB=A6=84=EC=9C=BC=EB=A1=9C=20=EB=B0=94?= =?UTF-8?q?=EA=BE=B8=EA=B3=A0=20Login=20=ED=8F=B4=EB=8D=94=EB=82=B4=20comp?= =?UTF-8?q?onent=20=ED=8F=B4=EB=8D=94=EB=A1=9C=20=EC=9D=B4=EB=8F=99=20(#31?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../(auth)/login/components/LoginInput.jsx} | 8 ++++---- src/app/(auth)/login/page.jsx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) rename src/{components/common/AuthInput.jsx => app/(auth)/login/components/LoginInput.jsx} (92%) diff --git a/src/components/common/AuthInput.jsx b/src/app/(auth)/login/components/LoginInput.jsx similarity index 92% rename from src/components/common/AuthInput.jsx rename to src/app/(auth)/login/components/LoginInput.jsx index ad5b5a8..c996627 100644 --- a/src/components/common/AuthInput.jsx +++ b/src/app/(auth)/login/components/LoginInput.jsx @@ -3,10 +3,10 @@ import { FaLock, FaUserAlt } from 'react-icons/fa'; import styled from 'styled-components'; -import { COLORS, TEXT_COLORS } from '../../constants/colors'; -import { FONTS } from '../../constants/font'; +import { COLORS, TEXT_COLORS } from '../../../../constants/colors'; +import { FONTS } from '../../../../constants/font'; -const CustomInput = ({ +const LoginInput = ({ name, value, type = 'text', @@ -33,7 +33,7 @@ const CustomInput = ({ ); }; -export default CustomInput; +export default LoginInput; const InputWrapper = styled.div` width: 100%; diff --git a/src/app/(auth)/login/page.jsx b/src/app/(auth)/login/page.jsx index 6badef0..353d90e 100644 --- a/src/app/(auth)/login/page.jsx +++ b/src/app/(auth)/login/page.jsx @@ -8,11 +8,11 @@ import googleLogin from '../../../assets/images/google.png'; import kakaoLogin from '../../../assets/images/kakao.png'; import logoImg from '../../../assets/images/logo.png'; import symbolImg from '../../../assets/images/symbol.png'; -import AuthInput from '../../../components/common/AuthInput'; import CustomButton from '../../../components/common/CustomButton'; import { BACKGROUND_COLORS, BUTTON_COLORS, COLORS, TEXT_COLORS } from '../../../constants/colors'; import { FONTS } from '../../../constants/font'; import { PADDING_HORIZONTAL, PADDING_VERTICAL } from '../../../constants/space'; +import LoginInput from './components/LoginInput'; const Login = () => { const [id, setId] = useState(''); @@ -39,9 +39,9 @@ const Login = () => { - + -