mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-07 22:24:06 -05:00
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:
18
.github/CONTRIBUTING.md
vendored
18
.github/CONTRIBUTING.md
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user