From f6e21aa2feb3e986b9f1e79b6f26f57c59c98e78 Mon Sep 17 00:00:00 2001
From: goddonebianu
Date: Sun, 8 Mar 2026 09:48:07 +0800
Subject: [PATCH] move email above joined date in user profile
---
src/app/(auth)/users/[username]/page.tsx | 24 ++++--------------------
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/src/app/(auth)/users/[username]/page.tsx b/src/app/(auth)/users/[username]/page.tsx
index 105f33a..0cb87db 100644
--- a/src/app/(auth)/users/[username]/page.tsx
+++ b/src/app/(auth)/users/[username]/page.tsx
@@ -74,6 +74,9 @@ export default async function UserPage({ params }: UserPageProps) {
@{user.username}
)}
+
+ {user.email}
+
Joined: {new Date(user.createdAt).toLocaleDateString()}
@@ -81,7 +84,7 @@ export default async function UserPage({ params }: UserPageProps) {
{user.emailVerified && (
Verified
@@ -91,25 +94,6 @@ export default async function UserPage({ params }: UserPageProps) {
- {/* Email Section */}
-
-
{t("email")}
-
-
- {user.email}
-
- {user.emailVerified ? (
-
- ✓ {t("verified")}
-
- ) : (
-
- {t("unverified")}
-
- )}
-
-
-
{/* Account Info */}
{t("accountInfo")}