Skip to content

Commit

Permalink
[ISSUE-45] move: AuthInput을 LoginInput 이름으로 바꾸고 Login 폴더내 component 폴…
Browse files Browse the repository at this point in the history
…더로 이동 (#31)
  • Loading branch information
CosmicSandBox committed Oct 23, 2024
1 parent 6f6fd9d commit aabcc58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -33,7 +33,7 @@ const CustomInput = ({
);
};

export default CustomInput;
export default LoginInput;

const InputWrapper = styled.div`
width: 100%;
Expand Down
6 changes: 3 additions & 3 deletions src/app/(auth)/login/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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('');
Expand All @@ -39,9 +39,9 @@ const Login = () => {

<ContentContainer>
<LoginInputContainer>
<AuthInput name="id" type="id" value={id} placeholder="아이디" onChange={handleIdChange} />
<LoginInput name="id" type="id" value={id} placeholder="아이디" onChange={handleIdChange} />

<AuthInput
<LoginInput
name="password"
type="password"
value={password}
Expand Down

0 comments on commit aabcc58

Please sign in to comment.