From 9ebd3c47a677ec5e1df5490d18d83bf1d5d984ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A7=80=EC=B2=A0?= Date: Tue, 2 Sep 2025 14:34:52 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/dashboard/ui/dashboard-page.tsx | 74 +++++++++++++++---- 1 file changed, 61 insertions(+), 13 deletions(-) diff --git a/apps/cm/src/pages/dashboard/ui/dashboard-page.tsx b/apps/cm/src/pages/dashboard/ui/dashboard-page.tsx index c4901a00e..075efac41 100644 --- a/apps/cm/src/pages/dashboard/ui/dashboard-page.tsx +++ b/apps/cm/src/pages/dashboard/ui/dashboard-page.tsx @@ -73,20 +73,68 @@ function DashboardPage() { }; return ( -
-

대시보드

- {error &&
{error}
} - {userInfo ? ( -
-
이메일: {userInfo.email || userInfo.userId}
-
이름: {userInfo.userName || '-'}
-
2FA 활성화: {userInfo.twoFactorEnabled ? '예' : '아니오'}
+
+
+ {/* 첫번째 라인 */} +
+ {/* 총 회원수 카드 */} +
+ + +
+ {/* 전체 게시물 카드 */} +
+ +
+ {/* 오늘 접속자 수 카드 */} +
+ +
+ + {/* 사용자 정보 카드 */} +
+

사용자 정보

+ {error &&
{error}
} + {userInfo ? ( +
+
아이디: {userInfo.userId}
+
이메일: {userInfo.email || userInfo.userId}
+
이름: {userInfo.userName || '-'}
+
2FA 활성화: {userInfo.twoFactorEnabled ? '예' : '아니오'}
+
+ ) : ( + !error &&
사용자 정보를 불러오는 중...
+ )} + + +
- ) : ( - !error &&
사용자 정보를 불러오는 중...
- )} - - + + {/* 두번째 라인 */} +
+
+
+
+ +
+
+ + {/* 세번째 라인 */} +
+
+
+
+
+
+ + {/* 네번째 라인 */} +
+
+
+
+
+
+
); }