1
0
mirror of https://github.com/bitwarden/server synced 2025-12-06 00:03:34 +00:00

[PM-22423] Add MJML (#5941)

Scaffolds MJML and adds some initial templates and components.

Of interest are:

* src/Core/MailTemplates/Mjml/components/hero.js demonstrates how to create a custom MJML component. In our case it's a hero component with our logo, a title, a call to action button and an image.
* src/Core/MailTemplates/Mjml/components/head.mjml defines some common styling.
* src/Core/MailTemplates/Mjml/components/footer.mjml social links and footer.
This commit is contained in:
Oscar Hinton
2025-07-15 15:53:29 +02:00
committed by GitHub
parent d3c0dca178
commit 42ff09b84f
13 changed files with 2468 additions and 0 deletions

1
.gitignore vendored
View File

@@ -214,6 +214,7 @@ bitwarden_license/src/Sso/wwwroot/assets
.idea/*
**/**.swp
.mono
src/Core/MailTemplates/Mjml/out
src/Admin/Admin.zip
src/Api/Api.zip