diff --git a/src/app/(user-menu)/mypage/application/page.tsx b/src/app/(user-menu)/mypage/application/page.tsx index 4359b65a..24360fbc 100644 --- a/src/app/(user-menu)/mypage/application/page.tsx +++ b/src/app/(user-menu)/mypage/application/page.tsx @@ -38,19 +38,19 @@ const MyApplicationPage = () => { return (
-
+
내 신청서 관리 -
-
-
+
+
+
승인
-
-
+
+
거절
-
-
+
+
대기
@@ -76,24 +76,24 @@ const MyApplicationPage = () => { >
{application.status === "ACCEPTED" ? ( -
+
{application.steadyName} -
+
) : application.status === "REJECTED" ? ( -
+
{application.steadyName} -
+
) : ( -
+
{application.steadyName} -
+
)}
-
+
제출일 {application.createdAt.slice(0, 10)}
{ >
diff --git a/src/app/(user-menu)/mypage/layout.tsx b/src/app/(user-menu)/mypage/layout.tsx index c9e9b4e9..3424a18f 100644 --- a/src/app/(user-menu)/mypage/layout.tsx +++ b/src/app/(user-menu)/mypage/layout.tsx @@ -1,3 +1,4 @@ +import TabBar from "@/components/TabBar"; import SideBar from "@/components/_common/SideBar"; const myPageList = [ @@ -21,11 +22,12 @@ const myPageList = [ const MyPageLayout = ({ children }: { children: React.ReactNode }) => { return ( -
+
+ {children}
); diff --git a/src/components/TabBar/index.tsx b/src/components/TabBar/index.tsx new file mode 100644 index 00000000..4cd5bca6 --- /dev/null +++ b/src/components/TabBar/index.tsx @@ -0,0 +1,54 @@ +"use client"; + +import Link from "next/link"; +import { usePathname } from "next/navigation"; + +const TabBar = () => { + const path = usePathname(); + + return ( +
+ +
+ 내 프로필 +
+ + +
+ 내 템플릿 +
+ + +
+ 내 신청서 관리 +
+ + +
+ 내가 받은 리뷰 +
+ +
+ ); +}; + +export default TabBar; diff --git a/src/components/_common/SideBar/index.tsx b/src/components/_common/SideBar/index.tsx index 172dfbd2..f4d081e1 100644 --- a/src/components/_common/SideBar/index.tsx +++ b/src/components/_common/SideBar/index.tsx @@ -46,8 +46,8 @@ const SideBar = ({ >