Update src/app/admin/dashboard/overview/page.tsx
This commit is contained in:
@@ -16,7 +16,7 @@ export default function AdminOverviewPage() {
|
|||||||
title: "Total Orders", value: "15,678"},
|
title: "Total Orders", value: "15,678"},
|
||||||
{
|
{
|
||||||
id: "new_users", icon: Users,
|
id: "new_users", icon: Users,
|
||||||
title: "New Users (Last 30 Days)", value: "450"},
|
title: "New Users (Last 30 Days)", value: "450"}
|
||||||
];
|
];
|
||||||
|
|
||||||
const recentOrders = [
|
const recentOrders = [
|
||||||
@@ -29,7 +29,7 @@ export default function AdminOverviewPage() {
|
|||||||
{
|
{
|
||||||
id: "ORD004", customer: "Bob Brown", service: "Twitter Retweets", amount: "$5.00", status: "Processing", date: "2023-10-24"},
|
id: "ORD004", customer: "Bob Brown", service: "Twitter Retweets", amount: "$5.00", status: "Processing", date: "2023-10-24"},
|
||||||
{
|
{
|
||||||
id: "ORD005", customer: "Charlie Green", service: "Facebook Page Likes", amount: "$20.00", status: "Completed", date: "2023-10-24"},
|
id: "ORD005", customer: "Charlie Green", service: "Facebook Page Likes", amount: "$20.00", status: "Completed", date: "2023-10-24"}
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -42,6 +42,8 @@ export default function AdminOverviewPage() {
|
|||||||
animationType="none" // No animation needed for a static admin view
|
animationType="none" // No animation needed for a static admin view
|
||||||
textboxLayout="default"
|
textboxLayout="default"
|
||||||
useInvertedBackground={false} // Adjust as needed for admin theme
|
useInvertedBackground={false} // Adjust as needed for admin theme
|
||||||
|
title="Revenue Statistics" // Added required prop
|
||||||
|
description="Overview of key financial metrics for the platform." // Added required prop
|
||||||
metrics={revenueMetrics}
|
metrics={revenueMetrics}
|
||||||
className="!p-0" // Override padding from default section styling
|
className="!p-0" // Override padding from default section styling
|
||||||
containerClassName="!p-0" // Override padding from default section styling
|
containerClassName="!p-0" // Override padding from default section styling
|
||||||
|
|||||||
Reference in New Issue
Block a user