Compare commits

..

No commits in common. "ai-dev" and "master" have entirely different histories.

2 changed files with 42 additions and 9 deletions

5
.gitignore vendored
View File

@ -1,8 +1,3 @@
node_modules/ node_modules/
*/node_modules/ */node_modules/
*/build/ */build/
**/node_modules/
**/build/
.DS_Store
.env

View File

@ -45,9 +45,9 @@ export default function Login() {
notify: notifyState, notify: notifyState,
} = useAppSelector((state) => state.auth); } = useAppSelector((state) => state.auth);
const [initialValues, setInitialValues] = React.useState({ const [initialValues, setInitialValues] = React.useState({
email: '', email: 'admin@flatlogic.com',
email: '', password: 'c015ebf1',
password: '', remember: true,
}); });
const title = 'saveschematest'; const title = 'saveschematest';
@ -198,7 +198,45 @@ export default function Login() {
<h2 className='text-4xl font-semibold my-4'> saveschematest</h2> <h2 className='text-4xl font-semibold my-4'> saveschematest</h2>
</Link> </Link>
{/* Credential hints removed */} <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>
{' / '}
<code className={`${textColor}`}>c015ebf1</code>
{' / '}
to login as Admin
</p>
<p>
Use{' '}
<code
className={`cursor-pointer ${textColor} `}
onClick={(e) => setLogin(e.target)}
>
client@hello.com
</code>
{' / '}
<code className={`${textColor}`}>63a043cc2150</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'>