From 7625ded0e9dde15d3644efeff08df39b65e1c940 Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Thu, 16 Oct 2025 15:00:12 +0200 Subject: [PATCH] beautify: quick dashboard adjustments --- src/app/quickaction-dashboard/page.tsx | 306 ++++++++++++------------- 1 file changed, 146 insertions(+), 160 deletions(-) diff --git a/src/app/quickaction-dashboard/page.tsx b/src/app/quickaction-dashboard/page.tsx index 5590b6f..478d2be 100644 --- a/src/app/quickaction-dashboard/page.tsx +++ b/src/app/quickaction-dashboard/page.tsx @@ -124,23 +124,19 @@ export default function QuickActionDashboardPage() { return ( -
- {/* Removed dark background layers (pattern, blur, gradient) for a clean white background */} - -
- {/* Welcome */} -
-

+
+
+ {/* Title */} +
+

Welcome{isClient && user?.firstName ? `, ${user.firstName}` : ''}!

-

+

{isClient && user?.userType === 'company' ? 'Company Account' : 'Personal Account'}

- {loading && ( -

Loading status...

- )} + {loading &&

Loading status...

} {error && ( -
+
@@ -168,165 +164,155 @@ export default function QuickActionDashboardPage() { )}
- {/* Outer container card mimic (like screenshot) */} -
-
-
- {/* Status Overview */} -
-

- Status Overview -

-
- {statusItems.map(item => { - const CompleteIcon = item.complete ? CheckCircleIcon : XCircleIcon - return ( -
- - - {item.label} - - - {item.description} - -
- ) - })} -
-
- - {/* Divider */} -
- - {/* Quick Actions */} -
-
- - i - -

- Quick Actions -

-
-
- {/* Email Verification */} -
- - {/* NEW: resend feedback (only when not verified) */} - {!emailVerified && ( -

- {resendRemainingSec > 0 - ? `Resend available in ${formatMmSs(resendRemainingSec)}` - : 'You can request a new code now'} -

- )} -
- - {/* ID Upload */} - - - {/* Additional Info */} - - - {/* Sign Contract */} -
- - {!canSignContract && !contractSigned && ( -

- Complete previous steps (email, ID, profile) before signing the contract. -

- )} + {item.label} + + + {item.description} +
-
+ ) + })} +
+
+ + {/* Quick Actions */} +
+
+ + i + +

+ Quick Actions +

+
+
+ {/* Email Verification */} +
+ + {/* NEW: resend feedback (only when not verified) */} + {!emailVerified && ( +

+ {resendRemainingSec > 0 + ? `Resend available in ${formatMmSs(resendRemainingSec)}` + : 'You can request a new code now'} +

+ )}
- {/* Divider */} -
+ {/* ID Upload */} + - {/* Latest News */} -
-

- Latest News -

-
    -
  • - New: Referral system - launch – invite friends and earn rewards. -
  • -
  • - Profile completion unlocks more features. Keep progressing! -
  • -
+ {/* Additional Info */} + + + {/* Sign Contract */} +
+ + {!canSignContract && !contractSigned && ( +

+ Complete previous steps (email, ID, profile) before signing the contract. +

+ )}
-
-
+ + {/* Latest News */} +
+

+ Latest News +

+
    +
  • + New: Referral system + launch – invite friends and earn rewards. +
  • +
  • + Profile completion unlocks more features. Keep progressing! +
  • +
+
+
+
)