♻️ refactor(InvitationCard): restructure cards with title prop and clean up styling

- Move card titles (earnings, total revenue, invitations) to Card title prop for consistency
- Remove custom color classes in favor of Semi-UI's built-in type system
- Standardize Text component usage with strong and tertiary types
- Improve code maintainability and visual consistency across all cards
- Align structure with existing reward description card pattern
This commit is contained in:
t0ng7u committed 2025-08-19 00:22:28 +08:00
1 parent 44b7c605e3
commit 6c4777bc82
5 files changed
+98 -109

No files matched your search

@@ -52,7 +52,6 @@ export const useDashboardStats = (
value: renderQuota(userState?.user?.quota),
icon: <IconMoneyExchangeStroked />,
avatarColor: 'blue',
onClick: () => navigate('/console/topup'),
trendData: [],
trendColor: '#3b82f6'
},