From ab6909ba1ba30b7097ecaff3faaa95c7f63487fe Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 12 Sep 2023 17:49:18 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20Update=20listing=20page=20to=20s?= =?UTF-8?q?how=20success=20message=20after=20submission=20:tada:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added a success message to the listing page after the listing is submitted. * The message indicates that the listing is waiting to be reviewed for publication. --- .../[[...stepIndex]]/PageAddListing10.tsx | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/app/add-listing/[[...stepIndex]]/PageAddListing10.tsx diff --git a/src/app/add-listing/[[...stepIndex]]/PageAddListing10.tsx b/src/app/add-listing/[[...stepIndex]]/PageAddListing10.tsx new file mode 100644 index 0000000..0a75d2e --- /dev/null +++ b/src/app/add-listing/[[...stepIndex]]/PageAddListing10.tsx @@ -0,0 +1,48 @@ +import StayCard from "@/components/StayCard"; +import { DEMO_STAY_LISTINGS } from "@/data/listings"; +import React, { FC } from "react"; +import ButtonPrimary from "@/shared/ButtonPrimary"; +import ButtonSecondary from "@/shared/ButtonSecondary"; +import { EyeIcon, PencilSquareIcon } from "@heroicons/react/24/outline"; +import { Route } from "@/routers/types"; + +export interface PageAddListing10Props {} + +const PageAddListing10: FC = () => { + return ( + <> +
+

Congratulations 🎉

+ + Excellent, congratulations on completing the listing, it is waiting to + be reviewed for publication + +
+
+ {/* FORM */} +
+

This is your listing

+
+ +
+
+ + + Edit + + + + + Preview + +
+
+ {/* */} + + ); +}; + +export default PageAddListing10;