summaryrefslogtreecommitdiff
path: root/src/lib/auth/components/RegisterDesktop.jsx
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-04-03 09:22:55 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-04-03 09:22:55 +0700
commit3ab2c01595b12534b68064d673f1c50c96d3450c (patch)
tree98f7ad701ad5ff8a542ea68e8c9571cc4431806a /src/lib/auth/components/RegisterDesktop.jsx
parent028d3a21b17ea56f959c2a42b97353ef58e3eac4 (diff)
tnd
Diffstat (limited to 'src/lib/auth/components/RegisterDesktop.jsx')
-rw-r--r--src/lib/auth/components/RegisterDesktop.jsx13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/auth/components/RegisterDesktop.jsx b/src/lib/auth/components/RegisterDesktop.jsx
index 71cc29d8..5f0caf73 100644
--- a/src/lib/auth/components/RegisterDesktop.jsx
+++ b/src/lib/auth/components/RegisterDesktop.jsx
@@ -3,6 +3,7 @@ import useRegister from '../hooks/useRegister'
import Link from '@/core/components/elements/Link/Link'
import Alert from '@/core/components/elements/Alert/Alert'
import PageContent from '@/lib/content/components/PageContent'
+import BottomPopup from '@/core/components/elements/Popup/BottomPopup'
const RegisterDesktop = () => {
const {
@@ -14,7 +15,9 @@ const RegisterDesktop = () => {
companyNameRef,
fullnameRef,
emailRef,
- passwordRef
+ passwordRef,
+ tnd,
+ setTnd
} = useRegister()
return (
@@ -86,6 +89,10 @@ const RegisterDesktop = () => {
placeholder='••••••••••••'
/>
</div>
+ <div class="flex items-center mt-4 ">
+ <input type="checkbox" id='sdk' className='form-input flex items-start w-fit mr-2' required />
+ <label onClick={() => setTnd(true)} className='inline cursor-pointer text-red_r-10'>Syarat dan Ketentuan</label>
+ </div>
<button
type='submit'
className='btn-yellow w-full mt-2'
@@ -95,6 +102,10 @@ const RegisterDesktop = () => {
</button>
</form>
+ <div>
+ <BottomPopup active={tnd} close={() => setTnd(false)}><PageContent path='/register#tnd'></PageContent></BottomPopup>
+ </div>
+
<div className='text-gray_r-11 mt-10'>
Sudah punya akun Indoteknik?{' '}
<Link href='/login' className='inline'>