diff --git a/car-ui-react/src/pages/Order/OrderPage.js b/car-ui-react/src/pages/Order/OrderPage.js new file mode 100644 index 0000000..af0a7d4 --- /dev/null +++ b/car-ui-react/src/pages/Order/OrderPage.js @@ -0,0 +1,12 @@ +import { OrderSuccess } from "./components/OrderSuccess" +import { OrderFail } from "./components/OrderFail" + +export const OrderPage = () => { + const status= true; + + return ( +
+ { status ? : } +
+ ) + } \ No newline at end of file diff --git a/car-ui-react/src/pages/Order/components/OrderFail.js b/car-ui-react/src/pages/Order/components/OrderFail.js new file mode 100644 index 0000000..4913946 --- /dev/null +++ b/car-ui-react/src/pages/Order/components/OrderFail.js @@ -0,0 +1,16 @@ +export const OrderFail = () => { + return ( +
+
+

+

Payment failed, please try again!

+
+
+

Your order is not confirmed.

+

Connect AutoMarket@NashTech.com for support.

+
+ Check Cart Again +
+ ) + } + \ No newline at end of file diff --git a/car-ui-react/src/pages/Order/components/OrderSuccess.js b/car-ui-react/src/pages/Order/components/OrderSuccess.js new file mode 100644 index 0000000..59edb27 --- /dev/null +++ b/car-ui-react/src/pages/Order/components/OrderSuccess.js @@ -0,0 +1,17 @@ +export const OrderSuccess = () => { + return ( +
+
+

+

Thank you user name for order!

+

Your Order ID: user id

+
+
+

Your order is confirmed.

+

Please check your mail (user@email.com) for the purchased Car.

+

Payment ID: xyz_123456789

+
+ Continue Shopping +
+ ) + } \ No newline at end of file