Skip to content

Commit 74afc65

Browse files
committed
Update UserProfileClient to display user note and modify friend request button text
1 parent 4d51af0 commit 74afc65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/profile/[id]/UserProfileClient.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function UserProfileClient({ user }: { user: User }) {
5151
{/* Quote */}
5252
<div className="flex justify-center mb-2">
5353
<div className="relative bg-white bg-opacity-90 rounded-xl px-6 py-2 text-theme-dark text-base font-semibold shadow-lg border-2 border-theme-pink" style={{ filter: "drop-shadow(0 0 12px #F7B0E0)" }}>
54-
<span className="">ต้องการใครสักคนที่เข้าใจ</span>
54+
<span >{user.note}</span>
5555
</div>
5656
</div>
5757
{/* Avatar with badge */}
@@ -87,7 +87,7 @@ export default function UserProfileClient({ user }: { user: User }) {
8787
className="w-full max-w-md mx-auto py-4 text-xl font-bold rounded-full bg-gradient-to-r from-[#F7B0E0] to-[#5B5BFF] text-white shadow-xl hover:from-[#FE8CC5] hover:to-[#9F45B0] transition mt-2 disabled:opacity-50"
8888
style={{ boxShadow: '0 4px 24px 0 #0002' }}
8989
>
90-
{isLoading ? 'กำลังรอการตอบรับ...' : 'ขอเป็นเพื่อนก่อนน้า :)'}
90+
{isLoading ? 'กำลังรอการตอบรับ...' : 'ส่งคำขอเป็นเพื่อน'}
9191
</button>
9292
</div>
9393
);

0 commit comments

Comments
 (0)