From 24ecdfee70f4dc43c17f3d98fa96db578156b373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=84=EC=B1=84=EB=AF=BC?= <87525734+cmlim0070@users.noreply.github.com> Date: Sat, 7 Dec 2024 13:58:32 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EB=9D=BC=EB=B2=A8=EC=B2=A9=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EB=A0=88=EC=9D=B4=EC=95=84?= =?UTF-8?q?=EC=9B=83=20+=20=EC=A0=84=EC=B2=B4=20=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=EC=88=98=EC=A0=95=20(#290)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat : 라벨 콜렉션 페이지 추가 * feat : 라벨 관련 타입 선언 * fix : 잘못 전달되던 인자 수정 * fix : [임시] http로 롤백 * style : 전체 스타일 레이아웃 수정 * style : AuthLayer 스타일 추가 * chore : https로 변경 * style : 너비, 높이값 삭제 * style : 공통 컴포넌트들 스타일 수정 --- .../Common/BottleLetter/Label/Label.tsx | 4 +- src/components/Common/Container/Container.tsx | 16 +++- src/components/Common/Input/NicknameInput.tsx | 4 +- src/components/Common/Itembox/Itembox.tsx | 6 +- .../Common/NavigationBar/NavigationBar.tsx | 2 +- .../TopButtonContainer/TopButtonContainer.tsx | 2 +- .../WelcomeMessageContainer.tsx | 2 +- src/components/Profile/NicknameSection.tsx | 27 ++++-- .../Profile/ProfileImageSection.tsx | 1 + src/hooks/useUserInfo.ts | 5 +- src/index.css | 27 +++++- src/main.tsx | 6 +- src/pages/Home/HomePage.tsx | 61 +++++++------ src/pages/LabelCollectionsPage.tsx | 3 - src/pages/Notification/NotificationPage.tsx | 10 +- src/pages/Storage/LabelCollectionsPage.tsx | 63 +++++++++++++ src/pages/User/Login/LoginPage.tsx | 60 ++++++------ src/pages/User/MyPage/MyPage.tsx | 25 +++-- src/pages/User/Profile/ProfilePage.tsx | 41 ++++----- src/pages/User/Register/RegisterPage.tsx | 91 +++++++++---------- src/pages/index.tsx | 2 +- src/router.tsx | 73 ++++++++++----- src/service/api.ts | 2 + src/service/label/get/getUserLabel.ts | 13 +++ src/service/user/changeNickname.ts | 5 +- src/types/label.ts | 5 + 26 files changed, 343 insertions(+), 213 deletions(-) delete mode 100644 src/pages/LabelCollectionsPage.tsx create mode 100644 src/pages/Storage/LabelCollectionsPage.tsx create mode 100644 src/service/label/get/getUserLabel.ts diff --git a/src/components/Common/BottleLetter/Label/Label.tsx b/src/components/Common/BottleLetter/Label/Label.tsx index 099ba2af..cd717569 100644 --- a/src/components/Common/BottleLetter/Label/Label.tsx +++ b/src/components/Common/BottleLetter/Label/Label.tsx @@ -4,13 +4,13 @@ import { LabelProps } from '@/types/label'; export const Label = ({ imgSrc, isActive }: LabelProps) => { return (