Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4c2e4b76b | ||
|
|
8098cf6b1a | ||
|
|
289fbdeb2a | ||
|
|
9b501a8b02 | ||
|
|
fee31c592c |
@ -191,42 +191,9 @@ export default function Login() {
|
|||||||
<div className='flex items-center justify-center flex-col space-y-4 w-full lg:w-full'>
|
<div className='flex items-center justify-center flex-col space-y-4 w-full lg:w-full'>
|
||||||
<CardBox id='loginRoles' className='w-full md:w-3/5 lg:w-2/3'>
|
<CardBox id='loginRoles' className='w-full md:w-3/5 lg:w-2/3'>
|
||||||
<Link href={'/home'}>
|
<Link href={'/home'}>
|
||||||
<h2 className='text-4xl font-semibold my-4'> test3</h2>
|
<h2 className='text-4xl font-semibold my-4 text-center'>Welcome!</h2>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<div className='flex flex-row text-gray-500 justify-between'>
|
|
||||||
<div>
|
|
||||||
<p className='mb-2'>
|
|
||||||
Use{' '}
|
|
||||||
<code
|
|
||||||
className={`cursor-pointer ${textColor} `}
|
|
||||||
onClick={(e) => setLogin(e.target)}
|
|
||||||
>
|
|
||||||
admin@flatlogic.com
|
|
||||||
</code>{' '}
|
|
||||||
to login as Admin
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Use{' '}
|
|
||||||
<code
|
|
||||||
className={`cursor-pointer ${textColor} `}
|
|
||||||
onClick={(e) => setLogin(e.target)}
|
|
||||||
>
|
|
||||||
client@hello.com
|
|
||||||
</code>{' '}
|
|
||||||
to login as User
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<BaseIcon
|
|
||||||
className={`${iconsColor}`}
|
|
||||||
w='w-16'
|
|
||||||
h='h-16'
|
|
||||||
size={48}
|
|
||||||
path={mdiInformation}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</CardBox>
|
</CardBox>
|
||||||
|
|
||||||
<CardBox className='w-full md:w-3/5 lg:w-2/3'>
|
<CardBox className='w-full md:w-3/5 lg:w-2/3'>
|
||||||
@ -236,26 +203,7 @@ export default function Login() {
|
|||||||
onSubmit={(values) => handleSubmit(values)}
|
onSubmit={(values) => handleSubmit(values)}
|
||||||
>
|
>
|
||||||
<Form>
|
<Form>
|
||||||
<FormField label='Login' help='Please enter your login'>
|
|
||||||
<Field name='email' />
|
|
||||||
</FormField>
|
|
||||||
|
|
||||||
<FormField label='Password' help='Please enter your password'>
|
|
||||||
<Field name='password' type='password' />
|
|
||||||
</FormField>
|
|
||||||
|
|
||||||
<div className={'flex justify-between'}>
|
|
||||||
<FormCheckRadio type='checkbox' label='Remember'>
|
|
||||||
<Field type='checkbox' name='remember' />
|
|
||||||
</FormCheckRadio>
|
|
||||||
|
|
||||||
<Link
|
|
||||||
className={`${textColor} text-blue-600`}
|
|
||||||
href={'/forgot'}
|
|
||||||
>
|
|
||||||
Forgot password?
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<BaseDivider />
|
<BaseDivider />
|
||||||
|
|
||||||
@ -269,12 +217,6 @@ export default function Login() {
|
|||||||
/>
|
/>
|
||||||
</BaseButtons>
|
</BaseButtons>
|
||||||
<br />
|
<br />
|
||||||
<p className={'text-center'}>
|
|
||||||
Don’t have account yet?{' '}
|
|
||||||
<Link className={`${textColor}`} href={'/register'}>
|
|
||||||
New Account
|
|
||||||
</Link>
|
|
||||||
</p>
|
|
||||||
</Form>
|
</Form>
|
||||||
</Formik>
|
</Formik>
|
||||||
</CardBox>
|
</CardBox>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user