From 7bd2ef2f70b5cbe3a19382ddf08e6aa9f2f5f606 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 9 Jun 2026 22:47:47 +0000 Subject: [PATCH] Switch to version 2: added src/app/order-history/page.tsx --- src/app/order-history/page.tsx | 119 +++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 src/app/order-history/page.tsx diff --git a/src/app/order-history/page.tsx b/src/app/order-history/page.tsx new file mode 100644 index 0000000..87cdd20 --- /dev/null +++ b/src/app/order-history/page.tsx @@ -0,0 +1,119 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; +import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"; + +export default function OrderHistoryPage() { + // Placeholder for order history data + const orders = [ + { id: "ORD001", date: "2024-03-15", total: "$1,250", status: "Delivered", items: ["Chronos Elegance Watch"] }, + { id: "ORD002", date: "2024-02-28", total: "$450", status: "Shipped", items: ["Versailles Silk Scarf"] }, + { id: "ORD003", date: "2024-01-10", total: "$8,900", status: "Delivered", items: ["Empress Alligator Handbag"] }, + ]; + + return ( + + + + +
+

Your Order History

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

You haven't placed any orders yet.

+ ) : ( +
+ {orders.map((order) => ( +
+
+

Order ID: {order.id}

+ {order.status} +
+

Date: {order.date}

+

Total: {order.total}

+
+

Items:

+
    + {order.items.map((item, index) => ( +
  • {item}
  • + ))} +
+
+
+ ))} +
+ ) + } +
+ + +
+
+ ); +}