diff --git a/src/components/Profile/ProfileForm.jsx b/src/components/Profile/ProfileForm/ProfileForm.jsx similarity index 89% rename from src/components/Profile/ProfileForm.jsx rename to src/components/Profile/ProfileForm/ProfileForm.jsx index 4c0c1f1..ed3657e 100644 --- a/src/components/Profile/ProfileForm.jsx +++ b/src/components/Profile/ProfileForm/ProfileForm.jsx @@ -1,12 +1,12 @@ import React from 'react'; import { useLocation } from 'react-router-dom'; -import Input from '../common/Input/Input'; -import Button from '../common/Button/Button'; -import ProfileImage from './ProfileImage'; -import { useFieldController } from '../../hook/useFieldController'; +import Input from '../../common/Input/Input'; +import Button from '../../common/Button/Button'; +import ProfileImage from '../ProfileImage/ProfileImage'; +import { useFieldController } from '../../../hook/useFieldController'; import { useForm } from 'react-hook-form'; -import { PATTERN, MESSAGE } from '../../constants/validation'; -import useImageUpload from '../../hook/useImageUpload'; +import { PATTERN, MESSAGE } from '../../../constants/validation'; +import useImageUpload from '../../../hook/useImageUpload'; const ProfileForm = ({ myInfo, accountname, isError, message, userEmail, userPassword, signup, edit }) => { diff --git a/src/components/Profile/ProfileImage.jsx b/src/components/Profile/ProfileImage/ProfileImage.jsx similarity index 87% rename from src/components/Profile/ProfileImage.jsx rename to src/components/Profile/ProfileImage/ProfileImage.jsx index 5204693..034c882 100644 --- a/src/components/Profile/ProfileImage.jsx +++ b/src/components/Profile/ProfileImage/ProfileImage.jsx @@ -1,8 +1,8 @@ import React from 'react'; import styled, { css } from 'styled-components'; -import AddImg from '../../assets/sprite/img-btn.svg'; -import AddDarkImg from '../../assets/sprite/img-btn-dark.svg'; -import BasicProfileImg from '../../assets/images/basic-profile-l.svg'; +import AddImg from '../../../assets/sprite/img-btn.svg'; +import AddDarkImg from '../../../assets/sprite/img-btn-dark.svg'; +import BasicProfileImg from '../../../assets/images/basic-profile-l.svg'; const ProfileImage = ({ prevImage, previewImage, handleImage }) => { return (