Update src/app/admin/page.tsx
This commit is contained in:
@@ -56,34 +56,34 @@ export default function LandingPage() {
|
||||
dashboard={{
|
||||
title: "Overview", stats: [
|
||||
{
|
||||
values: ["1.2K"],
|
||||
values: [1200],
|
||||
label: "Total Orders"},
|
||||
{
|
||||
values: ["$85K"],
|
||||
values: [85000],
|
||||
label: "Revenue This Month"},
|
||||
{
|
||||
values: ["24"],
|
||||
values: [24],
|
||||
label: "New Users Today"},
|
||||
],
|
||||
logoIcon: ShoppingBag,
|
||||
sidebarItems: [
|
||||
{
|
||||
name: "Dashboard", icon: Home,
|
||||
label: "Dashboard", icon: Home,
|
||||
href: "/admin"},
|
||||
{
|
||||
name: "Products", icon: Package,
|
||||
label: "Products", icon: Package,
|
||||
href: "/admin/products"},
|
||||
{
|
||||
name: "Orders", icon: ListOrdered,
|
||||
label: "Orders", icon: ListOrdered,
|
||||
href: "/admin/orders"},
|
||||
{
|
||||
name: "Customers", icon: Users,
|
||||
label: "Customers", icon: Users,
|
||||
href: "/admin/customers"},
|
||||
{
|
||||
name: "Analytics", icon: BarChart,
|
||||
label: "Analytics", icon: BarChart,
|
||||
href: "/admin/analytics"},
|
||||
{
|
||||
name: "Settings", icon: Settings,
|
||||
label: "Settings", icon: Settings,
|
||||
href: "/admin/settings"},
|
||||
],
|
||||
buttons: [
|
||||
@@ -92,33 +92,33 @@ export default function LandingPage() {
|
||||
],
|
||||
listItems: [
|
||||
{
|
||||
name: "New order #SF2024001", detail: "$150.00", icon: ShoppingCart,
|
||||
label: "New order #SF2024001", detail: "$150.00", icon: ShoppingCart,
|
||||
},
|
||||
{
|
||||
name: "Customer registration", detail: "John Doe", icon: UserPlus,
|
||||
label: "Customer registration", detail: "John Doe", icon: UserPlus,
|
||||
},
|
||||
{
|
||||
name: "Product 'Sneakers' low stock", detail: "3 remaining", icon: AlertTriangle,
|
||||
label: "Product 'Sneakers' low stock", detail: "3 remaining", icon: AlertTriangle,
|
||||
},
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-family-spending-time-home_23-2150231687.jpg?_wi=7", imageAlt: "Admin dashboard screenshot with charts and data", searchPlaceholder: "Search dashboard...", chartTitle: "Sales Trend", chartData: [
|
||||
{
|
||||
name: "Jan", value: 30,
|
||||
label: "Jan", value: 30,
|
||||
},
|
||||
{
|
||||
name: "Feb", value: 45,
|
||||
label: "Feb", value: 45,
|
||||
},
|
||||
{
|
||||
name: "Mar", value: 60,
|
||||
label: "Mar", value: 60,
|
||||
},
|
||||
{
|
||||
name: "Apr", value: 40,
|
||||
label: "Apr", value: 40,
|
||||
},
|
||||
{
|
||||
name: "May", value: 75,
|
||||
label: "May", value: 75,
|
||||
},
|
||||
{
|
||||
name: "Jun", value: 90,
|
||||
label: "Jun", value: 90,
|
||||
},
|
||||
],
|
||||
listTitle: "Recent Activities"}}
|
||||
|
||||
Reference in New Issue
Block a user