From 1d3fada54ea64b5f375769eaa8c3a4ca0ba6a33d Mon Sep 17 00:00:00 2001 From: yusmardianto Date: Wed, 24 Nov 2021 10:59:46 +0700 Subject: [PATCH] add checkout & review page --- components/Home/MainBanner.js | 4 +- package.json | 3 + pages/checkout.js | 235 +++++++++++++++++------------------------- pages/review.js | 161 +++++++++++++++++++++++++++++ yarn.lock | 228 ++++++++++++++++++++++++++++++++++++++-- 5 files changed, 480 insertions(+), 151 deletions(-) create mode 100644 pages/review.js diff --git a/components/Home/MainBanner.js b/components/Home/MainBanner.js index 73e80f3..3984c1d 100644 --- a/components/Home/MainBanner.js +++ b/components/Home/MainBanner.js @@ -26,12 +26,12 @@ const MainBanner = () => {

- + Double Room
Rp.180.000

- + Booking Now diff --git a/package.json b/package.json index d4ba9fd..74f8c62 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ }, "author": "EnvyTheme.com", "dependencies": { + "@emotion/react": "^11.6.0", + "@emotion/styled": "^11.6.0", + "@mui/material": "^5.1.1", "animate.css": "^4.1.1", "axios": "^0.21.1", "dotenv": "^10.0.0", diff --git a/pages/checkout.js b/pages/checkout.js index cc9eeb8..73f0314 100644 --- a/pages/checkout.js +++ b/pages/checkout.js @@ -1,146 +1,175 @@ -import React from 'react'; -import Navbar from "@/components/_App/Navbar"; +import React, { useState } from 'react'; +import Navbar from "@/components/_App/NavbarHome"; import Footer from "@/components/_App/Footer"; -import PageBanner from '@/components/Common/PageBanner'; +import PageBanner from '@/components/Common/PageBanner'; import * as Icon from 'react-feather'; - + const Checkout = () => { return ( <> - - - +

-
- - Returning customer? Click here to login +
+

Important Notice


+

+ As COVID-19 situation evolves, make sure the cancellation policy suits your needs.
+ In reference to the circular letter by the government regarding the spread control of Covid-19, please ensure that you are aware of your booking's refund, cancellation, and reschedule policy. +

-
+
-

Billing Details

+

Masukan Informasi Pemesan

- - -
- -
+ +
- - + +
- - + +
-
+
- +
-
+
- - + + +
+ +
+
+
+
-
-
- - +
+
+
+
+ +
+
+

Catania Double Room

+
+
+

Fasilitas :

+
+
+

Free Wifi

+
+
+

Telepon

+
- +

+
- - + +
- - + +
-
+
- - + + +
+ +
+
+
+
-
-
- - +
+
+

Permintaan Khusus Untuk Kamar

+ +
+
+
+ +
-
+
- - + +
-
+
- - + +
- +
-
+
-

Your Order

+

Total Pesanan

- + @@ -148,114 +177,44 @@ const Checkout = () => { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Product NameJenis Kamar Total
- Smart Watch + Double Room - $30.00 + Rp.180.000
- TV + Extra Bed - $30.00 + Rp.50.000
- Book + Pajak 10% - $30.00 -
- Smart Watch - - $30.00 -
- TV - - $30.00 -
- Book - - $30.00 -
- Cart Subtotal - - $210.00 -
- Shipping - - $5.00 -
- Order Total - - $215.00 + Rp.23.000
-
-

- - - - Make your payment directly into our bank account. Please use your Order ID as the payment reference. Your order will not be shipped until the funds have cleared in our account. -

-

- - -

-

- - -

-
- - Place Order + Book
+
- +