From 558305be14ec4f50ad45dca53f257bc445b74851 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 9 Jun 2026 09:18:21 +0000 Subject: [PATCH] Add src/app/customer/dashboard/page.tsx --- src/app/customer/dashboard/page.tsx | 92 +++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 src/app/customer/dashboard/page.tsx diff --git a/src/app/customer/dashboard/page.tsx b/src/app/customer/dashboard/page.tsx new file mode 100644 index 0000000..f067a08 --- /dev/null +++ b/src/app/customer/dashboard/page.tsx @@ -0,0 +1,92 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; + +export default function CustomerDashboardPage() { + const navItems = [ + { name: "Home", id: "/" }, + { name: "Products", id: "#products" }, + { name: "Features", id: "#features" }, + { name: "Testimonials", id: "#testimonials" }, + { name: "Pricing", id: "#pricing" }, + { name: "FAQ", id: "#faq" }, + { name: "Contact", id: "#contact" }, + { name: "Login", id: "/login" }, + { name: "Register", id: "/register" }, + { name: "Customer", id: "/customer/dashboard" }, + { name: "Seller", id: "/seller/dashboard" } + ]; + + const purchaseHistory = [ + { id: "p1", designName: "Modern Social Media Pack", date: "2023-10-26", price: "$29.99" }, + { id: "p2", designName: "Abstract Business Logo", date: "2023-09-15", price: "$49.99" }, + { id: "p3", designName: "Event Promotion Flyer", date: "2023-08-01", price: "$24.99" } + ]; + + return ( + + + + +
+
+

Customer Dashboard

+ +
+

Welcome, Customer!

+

Here you can manage your profile, view your purchase history, and access your downloaded designs.

+
+ +
+

Purchase History

+ {purchaseHistory.length === 0 ? ( +

You haven't made any purchases yet.

+ ) : ( +
+ + + + + + + + + + {purchaseHistory.map((item) => ( + + + + + + ))} + +
Design NameDatePrice
{item.designName}{item.date}{item.price}
+
+ )} +
+
+
+
+
+ ); +} \ No newline at end of file