Compare commits

...

5 Commits
master ... dev

Author SHA1 Message Date
Flatlogic Bot
e4c2e4b76b Remove link for create new account 2025-03-05 15:36:08 +00:00
Flatlogic Bot
8098cf6b1a Center for title on login page 2025-03-05 15:31:54 +00:00
Flatlogic Bot
289fbdeb2a Remove text from login 2025-03-05 15:28:52 +00:00
Flatlogic Bot
9b501a8b02 Remove text from login page 2025-03-05 15:27:29 +00:00
Flatlogic Bot
fee31c592c Remove inputs from login page 2025-03-05 15:26:10 +00:00

View File

@ -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'}>
Dont have account yet?{' '}
<Link className={`${textColor}`} href={'/register'}>
New Account
</Link>
</p>
</Form> </Form>
</Formik> </Formik>
</CardBox> </CardBox>