From 047aacc646c86b316c4d42fb720cbc841426df27 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 24 Feb 2023 10:05:06 +0700 Subject: fix --- src/pages/shop/quotation/finish.jsx | 41 +++++++++++++++++++++++++++++++++++++ src/pages/shop/quotation/index.jsx | 10 +++++++++ 2 files changed, 51 insertions(+) create mode 100644 src/pages/shop/quotation/finish.jsx create mode 100644 src/pages/shop/quotation/index.jsx (limited to 'src/pages') diff --git a/src/pages/shop/quotation/finish.jsx b/src/pages/shop/quotation/finish.jsx new file mode 100644 index 00000000..98ffeec2 --- /dev/null +++ b/src/pages/shop/quotation/finish.jsx @@ -0,0 +1,41 @@ +import Link from '@/core/components/elements/Link/Link' +import BasicLayout from '@/core/components/layouts/BasicLayout' +import useAuth from '@/core/hooks/useAuth' +import { EnvelopeIcon } from '@heroicons/react/24/outline' +import { useRouter } from 'next/router' + +export default function FinishQuotation() { + const auth = useAuth() + const router = useRouter() + const { id } = router.query + return ( + +
+
+ + + +
+

Terima Kasih {auth?.name}

+

+ Penawaran harga kamu di Indoteknik.com berhasil dikirimkan, tim kami akan segera menghubungi + anda. +

+ {id && ( + + Lihat Penawaran + + )} + + Ke Halaman Utama + +
+
+ ) +} diff --git a/src/pages/shop/quotation/index.jsx b/src/pages/shop/quotation/index.jsx new file mode 100644 index 00000000..744b75fe --- /dev/null +++ b/src/pages/shop/quotation/index.jsx @@ -0,0 +1,10 @@ +import AppLayout from '@/core/components/layouts/AppLayout' +import QuotationComponent from '@/lib/quotation/components/Quotation' + +export default function Quotation() { + return ( + + + + ) +} -- cgit v1.2.3