Add a "View Resume" Link under Each User Card on the Homepage
Description
Implement a feature where each user card on the homepage displays a "View Resume" link under the Gmail field. Clicking the link should redirect the user to the respective resume link associated with that user.
Task Details
-
File to Modify:
The LatestUser.jsx file located at Codebase/frontend/src/components/LatestUser.jsx.
-
Add "View Resume" Link:
- Under the Gmail field in each user card, add a "View Resume" link.
- The link should be styled consistently with the existing design.
-
Redirect on Click:
- When the "View Resume" link is clicked, it should open the respective user's resume in a new tab.
- The link for the resume should be dynamically populated based on the data associated with the user.
-
Testing:
- Verify that the "View Resume" link appears under each user card.
- Ensure clicking the link opens the correct resume link in a new tab.
- Test for edge cases where a user might not have a resume link (e.g., show "Resume not available").
-
Follow Pull Request Guidelines:
- Please refer to the Pull_request_template.md file to create your Pull Request for this change.
- Ensure code quality and test thoroughly before submitting the Pull Request.
Add a "View Resume" Link under Each User Card on the Homepage
Description
Implement a feature where each user card on the homepage displays a "View Resume" link under the Gmail field. Clicking the link should redirect the user to the respective resume link associated with that user.
Task Details
File to Modify:
The
LatestUser.jsxfile located atCodebase/frontend/src/components/LatestUser.jsx.Add "View Resume" Link:
Redirect on Click:
Testing:
Follow Pull Request Guidelines: