User should be able to input email and password. By click at sign in button, button should be disabled and receive loading indicator.
When loading is finished we should trigger next action, based at answer results:
Success result
We should redirect user into main application page
Error result
We should show error message by using Message component from Ant.Design (https://ant.design/components/message/) with Error icon and message from server.
We should implement Sign In UI and logic.
UI Requirements
Sign In form should have:
UI example:
Functional requirements
User should be able to input email and password. By click at sign in button, button should be disabled and receive loading indicator. When loading is finished we should trigger next action, based at answer results:
Success result
We should redirect user into main application page
Error result
We should show error message by using Message component from Ant.Design (https://ant.design/components/message/) with Error icon and message from server.