From 093b8c5bc3952c9dc4f6fb45c8f885ab5a864ed7 Mon Sep 17 00:00:00 2001 From: cryptocommuniums-afk Date: Mon, 16 Feb 2026 19:10:40 +0800 Subject: [PATCH] feat: show rating, level, next-level stats in profile panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Display Rating value with ⚡ icon - Show current Level with progress - Show XP needed for next level - Separated UID/join date below divider Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- frontend/src/app/me/page.tsx | 52 +++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 13 deletions(-) diff --git a/frontend/src/app/me/page.tsx b/frontend/src/app/me/page.tsx index 07199a6..c62a19f 100644 --- a/frontend/src/app/me/page.tsx +++ b/frontend/src/app/me/page.tsx @@ -320,7 +320,7 @@ export default function MePage() { {rank.icon} {rank.label} Rank -
+
-
- - - UID - - {profile.id} + + {/* Stats grid */} +
+
+ + Rating +
+ {profile.rating} + +
+ + {tx("等级", "Level")} +
+ {Math.floor(profile.rating / 100)} + +
+ 🎯 + {tx("下一等级", "Next Lv")} +
+ {100 - (profile.rating % 100)} XP
-
- - - {tx("加入时间", "Joined")} - - {new Date(profile.created_at * 1000).toLocaleDateString()} + +
+ +
+
+ + + UID + + {profile.id} +
+
+ + + {tx("加入时间", "Joined")} + + {new Date(profile.created_at * 1000).toLocaleDateString()} +