From 047aacc646c86b316c4d42fb720cbc841426df27 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Fri, 24 Feb 2023 10:05:06 +0700
Subject: fix

---
 src/pages/shop/quotation/finish.jsx | 41 +++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 src/pages/shop/quotation/finish.jsx

(limited to 'src/pages/shop/quotation/finish.jsx')

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 (
+    <BasicLayout>
+      <div className='m-4 px-4 py-6 shadow-md border border-gray_r-3'>
+      <div className='flex'>
+        <span className='p-3 mx-auto bg-yellow_r-3 border border-yellow_r-6 rounded'>
+          <EnvelopeIcon className='w-8 text-yellow_r-11' />
+        </span>
+      </div>
+      <p className='h2 text-center mt-6'>Terima Kasih {auth?.name}</p>
+      <p className='text-center mt-3 leading-6 text-gray_r-11'>
+        Penawaran harga kamu di Indoteknik.com berhasil dikirimkan, tim kami akan segera menghubungi
+        anda.
+      </p>
+      {id && (
+        <Link
+          href={`/my/transaction/${id}`}
+          className='btn-yellow !text-gray_r-12 mt-6 w-full'
+        >
+          Lihat Penawaran
+        </Link>
+      )}
+      <Link
+        href='/'
+        className='btn-light !text-gray_r-12 mt-2 w-full'
+      >
+        Ke Halaman Utama
+      </Link>
+    </div>
+    </BasicLayout>
+  )
+}
-- 
cgit v1.2.3

