fix: bugs
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { FC, ReactElement } from 'react';
|
import { FC, ReactElement } from 'react';
|
||||||
import { RegisterResetBanner } from "@imphnen-frontend-service/ui/organisms";
|
import { RegisterResetBanner } from "@imphnen-frontend-service/ui/organisms";
|
||||||
import { ForgotStep, OtpForm } from "@imphnen-frontend-service/ui/molecules";
|
import { ForgotStep, OtpForm } from "@imphnen-frontend-service/ui/molecules";
|
||||||
import { Button, Input } from '@imphnen-frontend-service/ui/atoms';
|
import { Button } from '@imphnen-frontend-service/ui/atoms';
|
||||||
|
|
||||||
export const Components: FC = (): ReactElement => {
|
export const Components: FC = (): ReactElement => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
import { FC, ReactElement } from 'react';
|
import { FC, ReactElement } from 'react';
|
||||||
import { LoginBanner } from "@imphnen-frontend-service/ui/organisms"
|
import { LoginBanner } from "@imphnen-frontend-service/ui/organisms"
|
||||||
import { Button, Input, PasswordInput } from '@imphnen-frontend-service/ui/atoms';
|
import { Button } from '@imphnen-frontend-service/ui/atoms';
|
||||||
import { useSearchParams } from 'react-router-dom';
|
import { useSearchParams } from 'react-router-dom';
|
||||||
|
import { InputForm } from '@imphnen-frontend-service/ui/molecules';
|
||||||
|
|
||||||
export const Components: FC = (): ReactElement => {
|
export const Components: FC = (): ReactElement => {
|
||||||
const [searchParams] = useSearchParams();
|
const [searchParams] = useSearchParams();
|
||||||
@@ -15,10 +16,8 @@ export const Components: FC = (): ReactElement => {
|
|||||||
<div className='w-[404px]'>
|
<div className='w-[404px]'>
|
||||||
<h2 className='text-4xl font-semibold text-primary-500 text-center mb-2'>Hallo Minna-san</h2>
|
<h2 className='text-4xl font-semibold text-primary-500 text-center mb-2'>Hallo Minna-san</h2>
|
||||||
<h5 className='text-xl font-medium text-primary-500 text-center'>Welcome to Dimentorin by IMPHNEN</h5>
|
<h5 className='text-xl font-medium text-primary-500 text-center'>Welcome to Dimentorin by IMPHNEN</h5>
|
||||||
<h6 className='text-gray-600 mt-10 font-medium'>Email</h6>
|
<InputForm label='Email' error={error ? error : undefined} size='lg' className='w-full' placeholder='Masukkan email-mu, Senpai~! ✨ (Pastikan tidak typo, ya~ 😆)' />
|
||||||
<Input error={error ? error : undefined} size='lg' className='w-full' placeholder='Masukkan email-mu, Senpai~! ✨ (Pastikan tidak typo, ya~ 😆)' />
|
<InputForm label="password" error={error ? error : undefined} className='w-full' size='lg' type='password' placeholder='Masukkan password rahasiamu!' />
|
||||||
<h6 className='text-gray-600 mt-3 font-medium'>Password</h6>
|
|
||||||
<PasswordInput error={error ? error : undefined} className='w-full' size='lg' type='password' placeholder='Masukkan password rahasiamu!' />
|
|
||||||
<div className='flex justify-end my-5'>
|
<div className='flex justify-end my-5'>
|
||||||
<a href="/auth/forgot" className='text-primary-500 font-medium'>Lupa Password ?</a>
|
<a href="/auth/forgot" className='text-primary-500 font-medium'>Lupa Password ?</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ export const OtpForm: FC<TForgotStepProps> = ({
|
|||||||
onKeyDown={(e) => handleKeyDown(i, e)}
|
onKeyDown={(e) => handleKeyDown(i, e)}
|
||||||
size="lg"
|
size="lg"
|
||||||
value={cell[i]}
|
value={cell[i]}
|
||||||
|
className="sm:min-w-[10px]"
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user