675422588264d Frontend Engineer Task
675422588264d Frontend Engineer Task
Figma link →
https://www.figma.com/design/rvldhbeY0NnQlXQkxUi8EW/LoginPage-Task?node-id=12
1-272&node-type=frame&t=Fh91s016w3NZAgQh-0
1. General Features
a. The page should include "Login with Google" and "Login with
Facebook" options (no action required).
b. A login form should include:
i. Fields for Username, Email and Password with proper
placeholders and icons.
ii. The username should only accept "emilys".
iii. A "Remember Me" checkbox.
iv. A "Forgot Password?" link. (no action required)
v. A Login button, styled according to the design.
vi. A "Register" link for new users (no action required).
"username": "emilys",
"password": "your password",
"email": "email id ", // optional
"expiresInMins": 30 // optional
}
3. Logout Functionality:
a. When the Logout button is clicked on the main page remove the stored
authentication token and/or user data from localStorage and redirect the
user back to the login page
4. Route
a. example.com/auth/login for login page (use your domain for example.com)
b. example.com/home for main page
5. Responsiveness
a. The page should adapt to various screen sizes (desktop, tablet, mobile).
Best of Luck