feat: Updated email templates
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
{{define "category"}}Account{{end}}
|
||||
{{define "preheader"}}One click to confirm {{.Email}}. The link expires in {{.TTLHours}} hours.{{end}}
|
||||
{{define "pill"}}{{template "chip" (dict "label" "Action needed" "tone" "accent")}}{{end}}
|
||||
{{define "title"}}Confirm your email address{{end}}
|
||||
{{define "body"}}
|
||||
{{template "lead" "Confirm this address to finish setting up your Vantage account."}}
|
||||
{{template "lead" (printf "Welcome to Vantage. Confirm that %s is your address and your account is ready to use." .Email)}}
|
||||
{{template "button" (dict "label" "Confirm email address" "url" .Link)}}
|
||||
{{template "p" (printf "The link works once and expires in %d hours." .TTLHours)}}
|
||||
{{template "p" "If you did not request this, ignore this email - nothing happens until the link is opened."}}
|
||||
{{template "rows" (list
|
||||
(dict "k" "Account email" "v" .Email)
|
||||
(dict "k" "Link expires" "v" (stamp .Expires))
|
||||
(dict "k" "Can be used" "v" "Once"))}}
|
||||
{{template "label" "What happens next"}}
|
||||
{{template "steps" (list
|
||||
(dict "t" "Confirm your address" "d" "Open the link above. It works once, then it is spent.")
|
||||
(dict "t" "Sign in to Vantage HQ" "d" "Use this email address and the password you chose at sign-up.")
|
||||
(dict "t" "Create your first instance" "d" "It starts on a Free licence you can renew in one click."))}}
|
||||
{{template "callout" (dict "tone" "none" "title" "Did not sign up?" "text" "Ignore this email. Nothing is activated until the link is opened, and it expires on its own.")}}
|
||||
{{end}}
|
||||
{{define "why"}}someone signed up for Vantage with {{.Email}}.{{end}}
|
||||
|
||||
Reference in New Issue
Block a user