Skip to content

Commit

Permalink
fix: mrf workflow email UI cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
justynoh committed Mar 28, 2024
1 parent 550069f commit 2612e43
Show file tree
Hide file tree
Showing 15 changed files with 8,236 additions and 373 deletions.
1,587 changes: 1,368 additions & 219 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
"@opengovsg/formsg-sdk": "^0.12.0-alpha.1",
"@opengovsg/myinfo-gov-client": "^4.1.2",
"@opengovsg/sgid-client": "^2.0.0",
"@react-email/components": "^0.0.15",
"@react-email/render": "^0.0.12",
"@sentry/browser": "^7.51.2",
"@sentry/integrations": "^6.19.7",
"@stablelib/base64": "^1.0.1",
Expand Down Expand Up @@ -194,6 +196,7 @@
"@types/promise-retry": "^1.1.3",
"@types/promise-timeout": "^1.3.0",
"@types/puppeteer-core": "^5.4.0",
"@types/react": "^18.2.72",
"@types/sns-validator": "^0.3.1",
"@types/spark-md5": "^3.0.2",
"@types/supertest": "^2.0.12",
Expand Down
27 changes: 27 additions & 0 deletions react-email-preview/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# React Email Preview

A live preview right in your browser so you don't need to keep sending real emails during development.

## Getting Started

First, install the dependencies:

```sh
npm install
# or
yarn
```

Then, run the development server:

```sh
npm run dev
# or
yarn dev
```

Open [localhost:3000](http://localhost:3000) with your browser to see the result.

## License

MIT License
3 changes: 3 additions & 0 deletions react-email-preview/emails/MrfWorkflowEmail.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { MrfWorkflowEmail } from '../../src/app/views/templates/MrfWorkflowEmail'

export default MrfWorkflowEmail
Loading

0 comments on commit 2612e43

Please sign in to comment.