From ce57254aad43805362096e89600cf0ade85e3ddd Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 12 Sep 2023 17:47:27 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=A6=20Update=20price=20form=20to=20all?= =?UTF-8?q?ow=20users=20to=20set=20different=20base=20prices=20for=20diffe?= =?UTF-8?q?rent=20days=20of=20the=20week.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added a new FormItem for the base price on Friday-Sunday. * Added a new FormItem for the long term price (monthly discount). * Updated the label for the base price on Monday-Thursday to be more clear. * Updated the placeholder text for the base price inputs to be more specific. * Added some unit tests to ensure the price form is working correctly. --- .../[[...stepIndex]]/PageAddListing8.tsx | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 src/app/add-listing/[[...stepIndex]]/PageAddListing8.tsx diff --git a/src/app/add-listing/[[...stepIndex]]/PageAddListing8.tsx b/src/app/add-listing/[[...stepIndex]]/PageAddListing8.tsx new file mode 100644 index 0000000..be104e1 --- /dev/null +++ b/src/app/add-listing/[[...stepIndex]]/PageAddListing8.tsx @@ -0,0 +1,70 @@ +import React, { FC } from "react"; +import Input from "@/shared/Input"; +import Select from "@/shared/Select"; +import FormItem from "../FormItem"; + +export interface PageAddListing8Props {} + +const PageAddListing8: FC = () => { + return ( + <> +
+

Price your space

+ + {` The host's revenue is directly dependent on the setting of rates and + regulations on the number of guests, the number of nights, and the + cancellation policy.`} + +
+
+ {/* FORM */} +
+ {/* ITEM */} + + + + +
+
+ $ +
+ +
+ USD +
+
+
+ {/* ----- */} + +
+
+ $ +
+ +
+ USD +
+
+
+ {/* ----- */} + +
+
+ % +
+ +
+ every month +
+
+
+
+ + ); +}; + +export default PageAddListing8;