mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
feat: add landing page statistics page with recharts
Add AdminLandingStats page with: - Summary cards (purchases, revenue, gifts, conversion) - AreaChart with dual Y-axis (daily purchases + revenue) - BarChart (tariff distribution) - PieChart donut (gift vs regular breakdown) - Responsive layout for desktop and mobile - Stats button on landing cards list Includes API types, route, translations (ru/en).
This commit is contained in:
@@ -3227,7 +3227,29 @@
|
||||
"discountOverrides": "Per-tariff overrides",
|
||||
"discountOverridesHint": "Leave empty to use global discount",
|
||||
"discountPreview": "Preview",
|
||||
"discountActive": "Discount"
|
||||
"discountActive": "Discount",
|
||||
"statistics": "Statistics",
|
||||
"stats": {
|
||||
"title": "Landing Statistics",
|
||||
"totalPurchases": "Purchases",
|
||||
"revenue": "Revenue",
|
||||
"giftPurchases": "Gifts",
|
||||
"regularPurchases": "Regular",
|
||||
"conversionRate": "Conversion",
|
||||
"avgPurchase": "Avg. Check",
|
||||
"dailyChart": "Purchases & Revenue by Day",
|
||||
"tariffChart": "Tariff Distribution",
|
||||
"giftBreakdown": "Gifts vs Regular",
|
||||
"purchases": "Purchases",
|
||||
"revenueLabel": "Revenue",
|
||||
"gifts": "Gifts",
|
||||
"regular": "Regular",
|
||||
"created": "Created",
|
||||
"successful": "Successful",
|
||||
"funnel": "Funnel",
|
||||
"loadError": "Failed to load statistics",
|
||||
"noPurchases": "No purchases"
|
||||
}
|
||||
}
|
||||
},
|
||||
"adminUpdates": {
|
||||
|
||||
@@ -3778,7 +3778,29 @@
|
||||
"discountOverrides": "Индивидуальные скидки по тарифам",
|
||||
"discountOverridesHint": "Оставьте пустым для использования общей скидки",
|
||||
"discountPreview": "Предпросмотр",
|
||||
"discountActive": "Скидка"
|
||||
"discountActive": "Скидка",
|
||||
"statistics": "Статистика",
|
||||
"stats": {
|
||||
"title": "Статистика лендинга",
|
||||
"totalPurchases": "Покупки",
|
||||
"revenue": "Доход",
|
||||
"giftPurchases": "Подарки",
|
||||
"regularPurchases": "Обычные",
|
||||
"conversionRate": "Конверсия",
|
||||
"avgPurchase": "Средний чек",
|
||||
"dailyChart": "Покупки и доход по дням",
|
||||
"tariffChart": "Распределение по тарифам",
|
||||
"giftBreakdown": "Подарки vs обычные",
|
||||
"purchases": "Покупки",
|
||||
"revenueLabel": "Доход",
|
||||
"gifts": "Подарки",
|
||||
"regular": "Обычные",
|
||||
"created": "Создано",
|
||||
"successful": "Успешных",
|
||||
"funnel": "Воронка",
|
||||
"loadError": "Не удалось загрузить статистику",
|
||||
"noPurchases": "Нет покупок"
|
||||
}
|
||||
}
|
||||
},
|
||||
"adminUpdates": {
|
||||
|
||||
Reference in New Issue
Block a user