Feat/hng 43 implement reset password page without image #230
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Develop a clean and functional Reset Password Email Template. This email is designed to allow users to safely reset their password when requested, providing clear instructions and a secure method to do so.
**Closes #43 **
Changes proposed
Update: Implemented Reset Password Email Template
What were you told to do?
[FEAT] EMAIL TEMPLATES > Implement reset password page WITHOUT image
What did you do?
I have implemented the Reset Password Email template using React Email. Below are the details of the changes:
Created
ResetPasswordEmail
Component: The component acceptsrecipientName
andresetLink
as props and renders a styled email template.Responsive Layout: Ensured the email template is responsive and displays correctly across various email clients.
Loader Function: Added a loader function in the /reset-password-email route to fetch and provide the necessary data (recipient name and reset link) to the email component.
Route for Testing: Set up a new route /reset-password-email to serve the email template, allowing for easy testing and validation.
Check List (Check all the applicable boxes)
🚨Please review the contribution guideline for this repository.
Screenshots/Videos