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 &&
사용자 정보를 불러오는 중...
- )} - - + + {/* 두번째 라인 */} +
+
+
+
+ +
+
+ + {/* 세번째 라인 */} +
+
+
+
+
+
+ + {/* 네번째 라인 */} +
+
+
+
+
+
+
); }