Refactor admin analytics stat cards to reusable component

Extracted repeated stat card logic in AdminAnalytics to a new AdminStatCard component and moved the trend indicator to its own file. Updated AdminAnalytics to use AdminStatCard for orders, revenue, vendors, and products, improving code maintainability and consistency. Also updated chart and loading skeleton handling for better UX.
This commit is contained in:
g
2026-01-13 06:01:39 +00:00
parent a07ca55a1e
commit 66964a3218
4 changed files with 568 additions and 486 deletions

View File

@@ -1,4 +1,4 @@
{
"commitHash": "4c15f43",
"buildTime": "2026-01-13T05:27:43.269Z"
"commitHash": "a07ca55",
"buildTime": "2026-01-13T05:50:49.436Z"
}