From fc576eddb05279e144e15a82c1eabff23a5a0e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=84=EC=9C=A0=EB=AF=BC?= Date: Thu, 11 Jul 2024 10:52:38 +0900 Subject: [PATCH] =?UTF-8?q?FE-28=20:sparkles:=20=EB=A7=88=EC=9D=B4?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pageLayout/MypageLayout/MyPageLayout.tsx | 77 +++++++++++++++++++ .../pageLayout/MypageLayout/index.ts | 2 +- src/pages/mypage/index.tsx | 2 +- .../pageLayout/MypageLayout/MyPageLayout.tsx | 37 --------- 4 files changed, 79 insertions(+), 39 deletions(-) create mode 100644 src/pageLayout/MypageLayout/MyPageLayout.tsx rename src/{pages => }/pageLayout/MypageLayout/index.ts (57%) delete mode 100644 src/pages/pageLayout/MypageLayout/MyPageLayout.tsx diff --git a/src/pageLayout/MypageLayout/MyPageLayout.tsx b/src/pageLayout/MypageLayout/MyPageLayout.tsx new file mode 100644 index 00000000..8c6029c4 --- /dev/null +++ b/src/pageLayout/MypageLayout/MyPageLayout.tsx @@ -0,0 +1,77 @@ +function MyPageLayout() { + return ( +
+
+
+ {/* 프로필 영역 */} +
+
+ {/* 프로필 사진 */} +

선글라스 고양이

+
+
로그아웃
+
+
+ {/* 오늘으 ㅣ감정 */} +
+

오늘의 감정

+
+ {/* 캘린더 */} +
+

캘린더

+
+ {/* 감정 차트 - 추후 chart UI로 분리 예정*/} +
+

감정 차트

+
+
+
+
+
+
+
+
감정
+
35%
+
+
+
+
감정
+
35%
+
+
+
+
감정
+
35%
+
+
+
+
감정
+
35%
+
+
+
+
감정
+
35%
+
+
+
+
+
+
+
+
+

내 에피그램(10)

+

내 댓글(110)

+
+
{/* 댓글 컴포넌트 */}
+
+
+
+ ); +} + +export default MyPageLayout; diff --git a/src/pages/pageLayout/MypageLayout/index.ts b/src/pageLayout/MypageLayout/index.ts similarity index 57% rename from src/pages/pageLayout/MypageLayout/index.ts rename to src/pageLayout/MypageLayout/index.ts index b6118195..28b6be74 100644 --- a/src/pages/pageLayout/MypageLayout/index.ts +++ b/src/pageLayout/MypageLayout/index.ts @@ -1,3 +1,3 @@ import MyPageLayout from './MyPageLayout'; -export default { MyPageLayout }; +export default MyPageLayout; diff --git a/src/pages/mypage/index.tsx b/src/pages/mypage/index.tsx index 8a470694..63fd34e3 100644 --- a/src/pages/mypage/index.tsx +++ b/src/pages/mypage/index.tsx @@ -1,4 +1,4 @@ -import { MyPageLayout } from '../pageLayout/MypageLayout'; +import MyPageLayout from '@/pageLayout/MypageLayout'; export default function mypage() { return ; diff --git a/src/pages/pageLayout/MypageLayout/MyPageLayout.tsx b/src/pages/pageLayout/MypageLayout/MyPageLayout.tsx deleted file mode 100644 index bf5de6e5..00000000 --- a/src/pages/pageLayout/MypageLayout/MyPageLayout.tsx +++ /dev/null @@ -1,37 +0,0 @@ -export default function MyPageLayout() { - return ( -
-
-
- {/* 프로필 영역 */} -
-
- {/* 프로필 사진 */} -

선글라스 고양이

-
-
로그아웃
-
-
- {/* 오늘으 ㅣ감정 */} -
-

오늘의 감정

-
- {/* 캘린더 */} -
-

캘린더

-
- {/* 감정 차트 */} -
-

차트

-
-
-
-
-
-
- ); -}