diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-05-23 09:38:22 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-05-23 09:38:22 +0700 |
| commit | a2c424ebb371ce2716d7fc55bb70807303c2e0e0 (patch) | |
| tree | 1a4bbbcf7cee381e10fa473926223abfe7c4bcf8 /src/lib/merchant/components/AccountSwitch.jsx | |
| parent | 4904573845478e7e9648735d008153728870a123 (diff) | |
| parent | 60cbad2ae4b551d8f1e6959a3c90134c16b10e26 (diff) | |
Merge branch 'new-release' of https://bitbucket.org/altafixco/next-indoteknik.giT into fix_responsive_cart
Diffstat (limited to 'src/lib/merchant/components/AccountSwitch.jsx')
| -rw-r--r-- | src/lib/merchant/components/AccountSwitch.jsx | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/lib/merchant/components/AccountSwitch.jsx b/src/lib/merchant/components/AccountSwitch.jsx new file mode 100644 index 00000000..b9bf34b1 --- /dev/null +++ b/src/lib/merchant/components/AccountSwitch.jsx @@ -0,0 +1,60 @@ +import Link from 'next/link'; +import Image from '~/components/ui/image'; +import whatsappUrl from '@/core/utils/whatsappUrl'; +import { useEffect, useState } from 'react'; +import odooApi from '@/core/api/odooApi'; +import useDevice from '@/core/hooks/useDevice'; +import useAuth from '@/core/hooks/useAuth'; +import axios from 'axios'; +import { toast } from 'react-hot-toast'; +import { ChevronRightIcon, ChevronLeftIcon } from '@heroicons/react/24/outline'; + +const FinishTempo = ({ query }) => { + const [data, setData] = useState(); + const [transactionData, setTransactionData] = useState(); + const { isDesktop, isMobile } = useDevice(); + const auth = useAuth(); + + return ( + <div className='container flex flex-col items-center gap-4'> + <div + className={`flex ${ + isMobile ? 'w-full' : 'w-2/3' + } justify-center items-center`} + > + <h1 + className={`text-red-500 text-center py-4 font-semibold ${ + isMobile ? 'text-lg' : 'text-3xl' + }`} + > + Form Merchant Kamu Gagal Dilakukan + </h1> + </div> + <Image + src='/images/ICON_TEMPO.png' + alt='Registrasi Tempo' + width={isMobile ? 300 : 550} + height={isMobile ? 300 : 550} + /> + + <div + className={`mt-2 text-center opacity-75 leading-6 p-4 md:p-0 ${ + isMobile ? 'w-full text-sm' : 'w-4/5 text-base' + }`} + > + Terima kasih atas minat anda untuk mendaftar merchant, namun sayangnya + akun anda bukan merupakan akun bisnis. Segera ubah akun anda menjadi + Bisnis untuk menggunakan fitur ini + </div> + <Link + href={'/my/profile'} + className='btn-solid-red rounded-md text-base flex flex-row items-center justify-center' + > + Ubah Akun + <ChevronRightIcon className='w-5' /> + </Link> + </div> + ); +}; + +export default FinishTempo; |
