feat[password]: added forgot password, reset password, and email templates (#144)

* added forgot password & reset password

* added react-email, added templates and styles that can be reused for all company emails

* docs: updated CONTRIBUTING.md

* consolidated icons into an email-icons file

* fix build issue by wrapping reset password page in suspense boundary since we use useSearchParams
This commit is contained in:
Waleed Latif
2025-03-22 12:55:01 -07:00
committed by GitHub
parent 15534c8079
commit bca29b4ef2
15 changed files with 2778 additions and 21 deletions

View File

@@ -239,6 +239,24 @@ If you prefer not to use Docker or Dev Containers:
6. **Make Your Changes and Test Locally.**
### Email Template Development
When working on email templates, you can preview them using a local email preview server:
1. **Run the Email Preview Server:**
```bash
npm run email:dev
```
2. **Access the Preview:**
- Open `http://localhost:3000` in your browser
- You'll see a list of all email templates
- Click on any template to view and test it with various parameters
3. **Templates Location:**
- Email templates are located in `sim/app/emails/`
- After making changes to templates, they will automatically update in the preview
---
## License