Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/hng 43 implement reset password page without image #230

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

Maticmania
Copy link

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:

  • CreatedResetPasswordEmailComponent: The component accepts recipientName and resetLink 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.

  • My code follows the code style of this project.
  • This PR does not contain plagiarized content.
  • The title and description of the PR is clear and explains the approach.
  • I am making a pull request against the dev branch (left side).
  • My commit messages styles matches our requested structure.
  • My code additions will fail neither code linting checks nor unit test.
  • I am only making changes to files I was requested to.

Screenshots/Videos

Screenshot 2024-07-20 142219

- Create  component with TypeScript props for recipient name and reset link.
- Add styles for the email template ensuring responsiveness and compatibility across email clients.
- Create a new route  to serve the email template in Remix.
- Implement loader function to fetch and provide recipient name and reset link to the email component.
…remix into feat/HNG-43-Implement-reset-password-page-WITHOUT-image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] EMAIL TEMPLATES > Implement reset password page WITHOUT image
1 participant