Files
tenant-registry/internal/mail/templates/layout.html
T
sharangandClaude Opus 5.5 e0bff8c793
ci / shared (push) Successful in 13s
ci / test (push) Successful in 23m16s
ci / image (push) Successful in 36s
feat(notify): branded mails for published documents and new findings (#35)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-23 21:10:06 +00:00

29 lines
1.8 KiB
HTML

{{define "layout"}}<!doctype html>
<html lang="{{.Lang}}">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{{.Subject}}</title></head>
<body style="margin:0;padding:0;background:#f4f3f8;font-family:Arial,Helvetica,sans-serif;color:#1d1a2e;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f4f3f8;padding:24px 12px;">
<tr><td align="center">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:560px;background:#ffffff;border-radius:8px;border:1px solid #e4e1ef;">
<tr><td style="padding:20px 28px;border-bottom:1px solid #eeecf5;">
<table role="presentation" cellpadding="0" cellspacing="0"><tr>
<td style="width:28px;height:28px;background:#6d3fe0;border-radius:6px;color:#ffffff;font-weight:bold;font-size:16px;text-align:center;vertical-align:middle;">B</td>
<td style="padding-left:10px;font-size:15px;font-weight:bold;letter-spacing:-0.2px;">BreakPilot</td>
</tr></table>
</td></tr>
<tr><td style="padding:28px 28px 8px 28px;font-size:14px;line-height:1.6;">
{{template "html" .}}
</td></tr>
<tr><td style="padding:8px 28px 28px 28px;">
<a href="{{.URL}}" style="display:inline-block;background:#6d3fe0;color:#ffffff;text-decoration:none;font-weight:bold;font-size:14px;padding:10px 18px;border-radius:6px;">{{template "button" .}}</a>
</td></tr>
<tr><td style="padding:18px 28px;border-top:1px solid #eeecf5;font-size:11.5px;line-height:1.6;color:#7a7590;">
{{template "footer" .}}<br>
BreakPilot GmbH · <a href="https://breakpilot.com/impressum" style="color:#7a7590;">{{if eq .Lang "de"}}Impressum{{else}}Imprint{{end}}</a> · <a href="https://breakpilot.com/datenschutz" style="color:#7a7590;">{{if eq .Lang "de"}}Datenschutz{{else}}Privacy{{end}}</a>
</td></tr>
</table>
</td></tr>
</table>
</body>
</html>{{end}}