Update src/app/dashboard/page.tsx
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarFullscreen/NavbarFullscreen';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import { Wallet, ShoppingCart, Hourglass, CheckCircle, Settings, LogOut } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
@@ -12,7 +12,7 @@ export default function UserDashboardPage() {
|
||||
{ id: "balance", title: "Current Balance", value: "$1,250.50", icon: Wallet },
|
||||
{ id: "totalOrders", title: "Total Orders", value: "1,234", icon: ShoppingCart },
|
||||
{ id: "pendingOrders", title: "Pending Orders", value: "42", icon: Hourglass },
|
||||
{ id: "completedOrders", title: "Completed Orders", value: "1,192", icon: CheckCircle },
|
||||
{ id: "completedOrders", title: "Completed Orders", value: "1,192", icon: CheckCircle }
|
||||
];
|
||||
|
||||
const navItems = [
|
||||
@@ -29,8 +29,8 @@ export default function UserDashboardPage() {
|
||||
{ label: "Dashboard", href: "/dashboard" },
|
||||
{ label: "New Order", href: "/new-order" },
|
||||
{ label: "My Orders", href: "/orders" }
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
return (
|
||||
@@ -101,7 +101,7 @@ export default function UserDashboardPage() {
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
||||
{stats.map((stat) => (
|
||||
<div key={stat.id} className="bg-card p-6 rounded-lg shadow-lg flex items-center space-x-4">
|
||||
<div classNameName="p-3 rounded-full bg-primary-cta bg-opacity-20">
|
||||
<div className="p-3 rounded-full bg-primary-cta bg-opacity-20">
|
||||
<stat.icon className="h-6 w-6 text-primary-cta" />
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user