diff --git a/client/src/pages/order-confirmation.tsx b/client/src/pages/order-confirmation.tsx new file mode 100644 index 0000000..10bbfe8 --- /dev/null +++ b/client/src/pages/order-confirmation.tsx @@ -0,0 +1,42 @@ +import { useSearch, Link } from "wouter"; +import { CheckCircle2, ShoppingBag } from "lucide-react"; + +export default function OrderConfirmationPage() { + const search = useSearch(); + const params = new URLSearchParams(search); + const orderNumber = params.get("order"); + + return ( +
+
+ +
+

Order confirmed!

+ {orderNumber && ( +

+ Order #{orderNumber} +

+ )} +

+ Thank you for your purchase. A confirmation email has been sent to you. You can track your order in your account. +

+
+ + View orders + + + + Continue shopping + +
+
+ ); +}