diff --git a/components/ActionSheet/index.tsx b/components/ActionSheet/index.tsx index 35669d3b..9e9566e5 100644 --- a/components/ActionSheet/index.tsx +++ b/components/ActionSheet/index.tsx @@ -1,13 +1,13 @@ import S from './style'; import { Button2 } from '../UI'; -interface colorProps { +interface buttonProps { buttonClick: () => void; name: string; } interface ActionSheetProps { - buttons?: colorProps[]; + buttons?: buttonProps[]; } export default function ActionSheet({ buttons }: ActionSheetProps) { diff --git a/components/BottomNavBar/style.tsx b/components/BottomNavBar/style.tsx index e2a8de49..3a4777b9 100644 --- a/components/BottomNavBar/style.tsx +++ b/components/BottomNavBar/style.tsx @@ -5,7 +5,7 @@ const BottomComponent = styled.div` justify-content: center; width: 100%; max-width: 430px; - background-color: #ffffff; + background-color: ${(props) => props.theme.color.grey_100}; position: fixed; bottom: 0; justify-content: space-around; diff --git a/components/Button/style.tsx b/components/Button/style.tsx index adf33de4..4d9cd835 100644 --- a/components/Button/style.tsx +++ b/components/Button/style.tsx @@ -8,7 +8,6 @@ interface ButtonData { const Buttons = styled.button` border: ${(props) => (props.buttonData.border ? '1px solid black' : 'none')}; - //props.theme.color -> 색상 디자인 토큰을 사용하기 위한 코드 background-color: ${(props) => props.theme.color[props.buttonData.backgroundColor]}; color: ${(props) => props.theme.color[props.buttonData.color]}; diff --git a/components/Domain/AddCloth/ClothSizeModal/index.tsx b/components/Domain/AddCloth/ClothSizeModal/index.tsx index 3ece3293..52e7d5a8 100644 --- a/components/Domain/AddCloth/ClothSizeModal/index.tsx +++ b/components/Domain/AddCloth/ClothSizeModal/index.tsx @@ -39,7 +39,6 @@ export default function ClothSizeModal({ useEffect(() => { const fetchData = async () => { const result = await getSize(categoryId); - console.log('a', result); const newSizeList = [] as SizeListType; if (clothSizeInitial) setSelectedClothSize(clothSizeInitial); diff --git a/components/Domain/MyPage/Edit/index.tsx b/components/Domain/MyPage/Edit/index.tsx index 30dafd6d..721dbe1a 100644 --- a/components/Domain/MyPage/Edit/index.tsx +++ b/components/Domain/MyPage/Edit/index.tsx @@ -26,13 +26,11 @@ export default function Edit({ }: ActionSheetProps) { const router = useRouter(); - const [profileImage, setProfileImage] = useState( - '/images/basicProfile.svg' - ); + const [profileImage, setProfileImage] = + useState('/images/Avatar.svg'); - const [originProfile, setOriginProfile] = useState( - '/images/basicProfile.svg' - ); + const [originProfile, setOriginProfile] = + useState('/images/Avatar.svg'); const [nickNameCheck, setNickNameCheck] = useState(true); const [nickName, setNickName] = useState('닉네임'); @@ -44,19 +42,16 @@ export default function Edit({ const { getProfile, patchProfile } = UserApi(); const takePicture = () => { - console.log('사진 촬영'); sendReactNativeMessage({ type: 'TakeProfile' }); setOpenActionSheet(false); // 액션 시트 자동 종료 }; const choosePicture = () => { - console.log('앨범에서 선택'); sendReactNativeMessage({ type: 'Profile' }); setOpenActionSheet(false); // 액션 시트 자동 종료 }; const deleteImage = () => { - console.log('기본 이미지로 변경'); setProfileImage('/images/Avatar.svg'); setOpenActionSheet(false); // 액션 시트 자동 종료 }; @@ -78,7 +73,6 @@ export default function Edit({ useEffect(() => { const ferchData = async () => { const result = await getProfile(); - console.log(result); setNickName(result.name); setIntroduction(result.description); diff --git a/components/ImageCheckBoxList/index.tsx b/components/ImageCheckBoxList/index.tsx index 91847694..f70b92a1 100644 --- a/components/ImageCheckBoxList/index.tsx +++ b/components/ImageCheckBoxList/index.tsx @@ -70,7 +70,7 @@ export default function ImageCheckBoxList({ ) : ( {`CheckBox toggleChecked(item.ootdBookmarkId!)} width={24} diff --git a/components/ReceivedDeclarationModal/index.tsx b/components/ReceivedDeclarationModal/index.tsx index ba116397..53081ba8 100644 --- a/components/ReceivedDeclarationModal/index.tsx +++ b/components/ReceivedDeclarationModal/index.tsx @@ -31,7 +31,6 @@ export default function ReceivedDeclarationModal({ const blockUserButton = async () => { const blockUser = await postUserBlock({ userId: ID }); - console.log(blockUser); if (blockUser.divisionCode === 'UB003') { setReceivedDeclaration(false); // 차단 모달 닫기 diff --git a/components/sample.tsx b/components/sample.tsx deleted file mode 100644 index 45ca327a..00000000 --- a/components/sample.tsx +++ /dev/null @@ -1,54 +0,0 @@ -const Sample = () => { - return ( -
- OOTD -
- ); -}; - -const Sample1 = () => { - return ( -
- CLOSET -
- ); -}; -const Sample2 = () => { - return ( -
- FAVORITE -
- ); -}; - -export { Sample, Sample1, Sample2 }; diff --git a/pages/bookmark/index.tsx b/pages/bookmark/index.tsx index db162e03..d2e8281a 100644 --- a/pages/bookmark/index.tsx +++ b/pages/bookmark/index.tsx @@ -138,7 +138,6 @@ export default function Bookmark() { useEffect(() => { setBookmarkList( bookmarkData.map((item: any) => { - console.log(item); return { ootdId: item.ootdId, ootdBookmarkId: item.ootdBookmarkId, diff --git a/pages/cloth/[...ClothNumber].tsx b/pages/cloth/[...ClothNumber].tsx index 93503b85..d7a909cc 100644 --- a/pages/cloth/[...ClothNumber].tsx +++ b/pages/cloth/[...ClothNumber].tsx @@ -114,7 +114,6 @@ const Cloth = () => { payload ); setReRender(reRender + 1); - console.log(result); setClickedRight(false); // ActionSheet 숨기기 }; diff --git a/pages/follow-list/[...UserId].tsx b/pages/follow-list/[...UserId].tsx index 6576f556..0de65375 100644 --- a/pages/follow-list/[...UserId].tsx +++ b/pages/follow-list/[...UserId].tsx @@ -55,7 +55,6 @@ export default function FollowList() { }; const onClickYesButton = () => { - console.log('팔로우'); setAlertOpen(false); setToastOpen(true); }; diff --git a/pages/settings/index.tsx b/pages/settings/index.tsx index c84ad52c..a4b01740 100644 --- a/pages/settings/index.tsx +++ b/pages/settings/index.tsx @@ -34,7 +34,6 @@ export default function Setting() { const { logout } = UserApi(); const shareButton = () => { - console.log('이메일 복사'); setURLState(false); // 재공유 toast 노출 초기화 sendReactNativeMessage({ type: 'copyEmail' }); // native로 클립보드 복사 처리 }; diff --git a/public/images/basicProfile.svg b/public/images/basicProfile.svg deleted file mode 100644 index c0b98960..00000000 --- a/public/images/basicProfile.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/images/defaultUserProfile.png b/public/images/defaultUserProfile.png deleted file mode 100644 index b57133d9..00000000 Binary files a/public/images/defaultUserProfile.png and /dev/null differ diff --git a/public/images/hood1.png b/public/images/hood1.png deleted file mode 100644 index 90c58d9f..00000000 Binary files a/public/images/hood1.png and /dev/null differ diff --git a/public/images/hood2.png b/public/images/hood2.png deleted file mode 100644 index 8bcc5fbe..00000000 Binary files a/public/images/hood2.png and /dev/null differ diff --git a/public/images/long13.png b/public/images/long13.png deleted file mode 100644 index 7e903abf..00000000 Binary files a/public/images/long13.png and /dev/null differ