feat: Updated email templates

This commit is contained in:
2026-09-10 12:06:29 +00:00
parent 059949674d
commit e1ad2467d2
34 changed files with 896 additions and 163 deletions
+7 -2
View File
@@ -1,5 +1,8 @@
{{define "subject"}}[Vantage] {{.Topic}} {{.Email}}{{end}}
{{define "title"}}New contact enquiry{{end}}
{{define "tone"}}accent{{end}}
{{define "category"}}Enquiry{{end}}
{{define "pill"}}{{if .Topic}}{{template "chip" (dict "label" .Topic "tone" "accent")}}{{end}}{{end}}
{{define "title"}}New enquiry from {{.Name}}{{end}}
{{define "body"}}
{{template "lead" "Someone has used the contact form on the Vantage site."}}
{{template "rows" (list
@@ -8,6 +11,8 @@
(dict "k" "Servers" "v" .Servers)
(dict "k" "Topic" "v" .Topic)
(dict "k" "Received" "v" .Received))}}
Message:
{{template "label" "Message"}}
{{template "note" .Message}}
{{template "small" (printf "Reply to this email to answer %s directly." .Email)}}
{{end}}
{{define "why"}}this inbox receives the contact form on the Vantage site.{{end}}