From 8c0b5a2a3419a7f195f544232deabc10d33dec0b Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 15 Jun 2026 05:04:10 -0400 Subject: [PATCH] x --- apps/spa/src/pages/ProfilePage.tsx | 96 ++++++++++++++++++------------ 1 file changed, 59 insertions(+), 37 deletions(-) diff --git a/apps/spa/src/pages/ProfilePage.tsx b/apps/spa/src/pages/ProfilePage.tsx index aa51d8a..f0b2e79 100644 --- a/apps/spa/src/pages/ProfilePage.tsx +++ b/apps/spa/src/pages/ProfilePage.tsx @@ -331,30 +331,30 @@ export default function ProfilePage() { /* Logged In Dashboard Layout */
{/* Header Profile Banner */} -
-
+
+
{/* User Avatar & Info */} -
-
+
+
LINE Profile
-
-

{customer.displayName}

-
+
+

{customer.displayName}

+
{dbCustomer?.phone && ( - - + + {dbCustomer.phone} )} {dbCustomer?.email && ( - - + + {dbCustomer.email} )} @@ -362,67 +362,89 @@ export default function ProfilePage() {
- {/* Point Cards */} -
-
-

คะแนนสะสมของคุณ

-
- {dbCustomer?.points ?? customer.points ?? 0} + {/* Point Card Compact */} +
+
+
+ +
+
+

คะแนนสะสมของคุณ

+

+ {dbCustomer?.points ?? customer.points ?? 0} คะแนน +

+
-

1 คะแนนมีค่าเท่ากับ ฿1 สำหรับใช้เป็นส่วนลด

- {/* Dashboard Tabs & Content */} -
+ {/* Dashboard Horizontal Tabs & Content */} +
- {/* Vertical Menu Tabs */} -
+ {/* Horizontal Tab UI */} +
{/* Tab Display Area */} -
+
{/* 1. ORDERS TAB */} {activeTab === 'orders' && (