features
This commit is contained in:
41
apps/api/src/mail/templates/layouts/base.hbs
Normal file
41
apps/api/src/mail/templates/layouts/base.hbs
Normal file
@@ -0,0 +1,41 @@
|
||||
<!doctype html>
|
||||
<html lang="{{#if locale}}{{locale}}{{else}}de{{/if}}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="x-apple-disable-message-reformatting">
|
||||
<title>{{title}}</title>
|
||||
<style>
|
||||
@media screen and (max-width: 640px) {
|
||||
.outer { padding: 18px 10px !important; }
|
||||
.container { width: 100% !important; }
|
||||
.content { padding: 28px 22px !important; }
|
||||
.button { display: block !important; width: 100% !important; box-sizing: border-box !important; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="margin:0; padding:0; background:#f4f7f9; color:#1f2933; font-family:Arial, Helvetica, sans-serif;">
|
||||
<div style="display:none; max-height:0; overflow:hidden; opacity:0;">{{preheader}}</div>
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f4f7f9; border-collapse:collapse;">
|
||||
<tr>
|
||||
<td class="outer" align="center" style="padding:32px 16px;">
|
||||
<table class="container" role="presentation" width="640" cellpadding="0" cellspacing="0" style="width:640px; max-width:640px; border-collapse:collapse;">
|
||||
<tr>
|
||||
<td>{{> header}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="content" style="background:#ffffff; border:1px solid #dbe4ea; border-radius:8px; padding:40px 44px;">
|
||||
<h1 style="font-size:24px; line-height:1.25; margin:0 0 12px; color:#17212b;">{{title}}</h1>
|
||||
{{#if subtitle}}<p style="font-size:16px; line-height:1.5; margin:0 0 24px; color:#516173;">{{subtitle}}</p>{{/if}}
|
||||
{{{body}}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{> footer}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user