summaryrefslogtreecommitdiff
path: root/src-migrate
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-12-05 15:09:52 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-12-05 15:09:52 +0700
commit6b8427b18ab3cb5bcc83bceaf43cc7b712a83fa6 (patch)
tree6e6146c7ba41eeadf6bf8085959347aa701eb124 /src-migrate
parent4ac372ff318ee78e5d5019a1dbe95bf47b661766 (diff)
add page content di formulir
Diffstat (limited to 'src-migrate')
-rw-r--r--src-migrate/common/components/elements/Modal.tsx4
-rw-r--r--src-migrate/modules/popup-information/index.tsx6
2 files changed, 6 insertions, 4 deletions
diff --git a/src-migrate/common/components/elements/Modal.tsx b/src-migrate/common/components/elements/Modal.tsx
index 8e488a3a..9c5c73ce 100644
--- a/src-migrate/common/components/elements/Modal.tsx
+++ b/src-migrate/common/components/elements/Modal.tsx
@@ -67,12 +67,12 @@ const Modal = ({
{...variant}
className={modalClassNames}
>
- <div className='flex justify-between py-5 sticky top-0 bg-white'>
+ <div className='flex justify-between py-5 sticky top-0 '>
<div className='font-semibold text-h-sm md:text-title-sm'>
{title}
</div>
{close && (
- <button type='button' onClick={close}>
+ <button className="rounded-full h-10 w-10 flex justify-center bg-white" type='button' onClick={close}>
<XMarkIcon className='w-5 stroke-2' />
</button>
)}
diff --git a/src-migrate/modules/popup-information/index.tsx b/src-migrate/modules/popup-information/index.tsx
index 0d48a92a..78e9dcf2 100644
--- a/src-migrate/modules/popup-information/index.tsx
+++ b/src-migrate/modules/popup-information/index.tsx
@@ -20,12 +20,14 @@ const PagePopupInformation = () => {
<div className='group'>
<Modal
active={active}
- className='w-10/12 md:w-fit'
+ className='!w-fit !bg-transparent !border-none'
close={() => setActive(false)}
mode='desktop'
>
<div>
- <PageContent path='/onbording-popup' />
+ <Link href={'/register'}>
+ <PageContent path='/onbording-popup' />
+ </Link>
<Link href={'/register'} className='btn-yellow w-full mt-2'>
Daftar Sekarang
</Link>