summaryrefslogtreecommitdiff
path: root/src/lib/auth
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/auth')
-rw-r--r--src/lib/auth/components/Menu.jsx32
1 files changed, 21 insertions, 11 deletions
diff --git a/src/lib/auth/components/Menu.jsx b/src/lib/auth/components/Menu.jsx
index 8eaa769b..7b766968 100644
--- a/src/lib/auth/components/Menu.jsx
+++ b/src/lib/auth/components/Menu.jsx
@@ -28,9 +28,13 @@ const Menu = () => {
<div className='relative group'>
{auth?.company && !(ubahAkun === 'pending') && (
<>
- <div className='badge-solid-red mt-1 p-2 flex flex-row items-center gap-x-2'>
- <p>Akun Bisnis</p> <InfoIcon size={14} />
- </div>
+ <Link
+ href='/my/profile'
+ className='badge-solid-red mt-1 p-2 flex flex-row items-center gap-x-2'
+ >
+ <p className='text-white'>Akun Bisnis</p>{' '}
+ <InfoIcon size={14} color='white' />
+ </Link>
<div className='absolute bottom-full transform -translate-x-1/2 mb-2 hidden group-hover:block bg-gray-700 text-white text-xs rounded py-1 px-2 w-72 text-justify left-36'>
Anda terdaftar sebagai akun bisnis, segala bentuk transaksi anda
untuk perusahaan yang sudah anda daftarkan di Indoteknik.com
@@ -39,10 +43,13 @@ const Menu = () => {
)}
{ubahAkun === 'pending' && (
<>
- <div className='badge-yellow mt-1 p-2 flex flex-row items-center gap-x-2'>
- <p>Review</p>
- <InfoIcon size={14} />
- </div>
+ <Link
+ href='/my/profile'
+ className='badge-yellow mt-1 p-2 flex flex-row items-center gap-x-2'
+ >
+ <p className='text-warning-900'>Review</p>
+ <InfoIcon size={14} className='text-warning-900' />
+ </Link>
<div className='absolute bottom-full transform -translate-x-1/2 mb-2 hidden group-hover:block bg-gray-700 text-white text-xs rounded py-1 px-2 w-72 text-justify left-36'>
Proses perubahan akun anda sedang kami review, mohon menunggu
hingga 2x24 jam.
@@ -51,10 +58,13 @@ const Menu = () => {
)}
{!auth?.company && !(ubahAkun === 'pending') && (
<>
- <div className='badge-gray mt-1 p-2 flex flex-row items-center gap-x-2'>
- <p>Akun Individu</p>
- <InfoIcon size={14} />
- </div>
+ <Link
+ href='/my/profile'
+ className='badge-gray mt-1 p-2 flex flex-row items-center gap-x-2'
+ >
+ <p className='text-gray_r-10'>Akun Individu</p>
+ <InfoIcon size={14} className='text-gray_r-10' />
+ </Link>
<div className='absolute bottom-full left-36 transform -translate-x-1/2 mb-3 w-72 text-justify hidden group-hover:block bg-gray-700 text-white text-xs rounded py-1 px-2'>
<p className='whitespace-pre-wrap break-words'>
Anda terdaftar sebagai akun individu, Segala bentuk transaksi