From 247b75b4e9fb051b629dd8e87c8c2fad76164bcd Mon Sep 17 00:00:00 2001 From: LeeJaein Date: Thu, 16 Apr 2026 17:20:10 +0900 Subject: [PATCH 1/2] =?UTF-8?q?style(#237):=20=EB=A7=88=EC=9D=B4=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=B5=9C=EB=8C=80=20=EB=84=88=EB=B9=84=20?= =?UTF-8?q?=EB=B0=98=EC=9D=91=ED=98=95=20=EB=A0=88=EC=9D=B4=EC=95=84?= =?UTF-8?q?=EC=9B=83=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/taskmate/my/page.tsx | 8 +++++--- src/components/my/MyProfileForm.tsx | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/taskmate/my/page.tsx b/src/app/taskmate/my/page.tsx index a36b5e2d..39e2deb1 100644 --- a/src/app/taskmate/my/page.tsx +++ b/src/app/taskmate/my/page.tsx @@ -5,9 +5,11 @@ import MyProfileForm from "@/components/my/MyProfileForm"; const Mypage = () => { return ( - - - +
+ + + +
); }; diff --git a/src/components/my/MyProfileForm.tsx b/src/components/my/MyProfileForm.tsx index 902aeeef..de3397c4 100644 --- a/src/components/my/MyProfileForm.tsx +++ b/src/components/my/MyProfileForm.tsx @@ -67,7 +67,7 @@ const MyProfileForm = () => { }; return ( -
+

내 정보 관리

From 38df42495fcdb58d650db178f59b7f5424496ee9 Mon Sep 17 00:00:00 2001 From: LeeJaein Date: Thu, 16 Apr 2026 17:41:35 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat(#237):=20=EB=84=A4=EB=B9=84=EA=B2=8C?= =?UTF-8?q?=EC=9D=B4=EC=85=98=20=EB=B0=94=20=ED=9C=B4=EC=A7=80=ED=86=B5=20?= =?UTF-8?q?=EB=A9=94=EB=89=B4=20=EC=B6=94=EA=B0=80=20=EB=B0=8F=20=EB=A7=88?= =?UTF-8?q?=EC=9D=B4=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=97=B0=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/taskmate/my/page.tsx | 2 +- src/app/taskmate/trash/page.tsx | 2 +- src/components/NavigationBar/UserProfile/UserProfile.tsx | 6 +++--- src/components/NavigationBar/index.tsx | 9 +++++++++ src/components/common/Icon/iconMap.ts | 2 ++ src/components/common/Icon/svg/TrashFill.svg | 4 ++++ 6 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 src/components/common/Icon/svg/TrashFill.svg diff --git a/src/app/taskmate/my/page.tsx b/src/app/taskmate/my/page.tsx index 39e2deb1..5018a949 100644 --- a/src/app/taskmate/my/page.tsx +++ b/src/app/taskmate/my/page.tsx @@ -5,7 +5,7 @@ import MyProfileForm from "@/components/my/MyProfileForm"; const Mypage = () => { return ( -
+
diff --git a/src/app/taskmate/trash/page.tsx b/src/app/taskmate/trash/page.tsx index 89eb240c..66b0f5c0 100644 --- a/src/app/taskmate/trash/page.tsx +++ b/src/app/taskmate/trash/page.tsx @@ -5,7 +5,7 @@ import Trash from "@/components/trash"; const TrashPage = () => { return ( -
+
diff --git a/src/components/NavigationBar/UserProfile/UserProfile.tsx b/src/components/NavigationBar/UserProfile/UserProfile.tsx index 8537fcf1..754a62aa 100644 --- a/src/components/NavigationBar/UserProfile/UserProfile.tsx +++ b/src/components/NavigationBar/UserProfile/UserProfile.tsx @@ -1,5 +1,6 @@ import { useSuspenseQuery } from "@tanstack/react-query"; import Image from "next/image"; +import { useRouter } from "next/navigation"; import defaultAvatar from "@/assets/images/avatar.png"; import { Icon } from "@/components/common/Icon"; @@ -12,14 +13,13 @@ export const UserProfile = () => { const avatarSrc = profileImageUrl?.trim() ? profileImageUrl : defaultAvatar.src; + const router = useRouter(); return (
{ - // @TODO: 마이페이지로 이동 - }} + onClick={() => router.push("/taskmate/my")} >
{ + { + router.push("/taskmate/trash"); + }} + > + + 휴지통 + diff --git a/src/components/common/Icon/iconMap.ts b/src/components/common/Icon/iconMap.ts index b19f69b2..6a467865 100644 --- a/src/components/common/Icon/iconMap.ts +++ b/src/components/common/Icon/iconMap.ts @@ -48,6 +48,7 @@ import Plus from "./svg/Plus.svg"; import Search from "./svg/Search/Search.svg"; import Trash from "./svg/Trash.svg"; import TrashEmpty from "./svg/TrashEmpty.svg"; +import TrashFill from "./svg/TrashFill.svg"; import User from "./svg/User/User.svg"; export const iconMap = { @@ -102,6 +103,7 @@ export const iconMap = { AlertSuccess, Info, TrashEmpty, + TrashFill, } as const; export type IconName = keyof typeof iconMap; diff --git a/src/components/common/Icon/svg/TrashFill.svg b/src/components/common/Icon/svg/TrashFill.svg new file mode 100644 index 00000000..937be114 --- /dev/null +++ b/src/components/common/Icon/svg/TrashFill.svg @@ -0,0 +1,4 @@ + + + +