Skip to content

Commit

Permalink
chore(mails): add sample data using mjml-handlebars vscode extension
Browse files Browse the repository at this point in the history
  • Loading branch information
gwennlbh committed May 28, 2024
1 parent ac63da6 commit fc09424
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"prisma.prisma",
"stylelint.vscode-stylelint",
"svelte.svelte-vscode",
"mjmlio.vscode-mjml"
// "mjmlio.vscode-mjml"
"rbremont.vscode-handlebars-mjml"
]
}
6 changes: 6 additions & 0 deletions packages/api/src/mail-templates/_base.sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"env": {
"FRONTEND_ORIGIN": "http://localhost:5173",
"PUBLIC_SUPPORT_EMAIL": "support@localhost"
}
}
6 changes: 6 additions & 0 deletions packages/api/src/mail-templates/booking.sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"bookingCode": "5MQZTPQ7GXU5TVVU",
"bookingLink": "http://localhost:5173/bookings/5MQZTPQ7GXU5TVVU",
"eventTitle": "odit est eveniet",
"beneficiary": ""
}

0 comments on commit fc09424

Please sign in to comment.