From bfde01c13cef9571163652859bb7ee43cc39dc87 Mon Sep 17 00:00:00 2001 From: matcornic Date: Tue, 28 Mar 2017 18:20:11 +0200 Subject: [PATCH] Better images --- README.md | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 9fcd04e..09fabcc 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,11 @@ It's a package that generates clean, responsive HTML e-mails for sending transac # Demo -![Welcome](screens/default/welcome.png) + -![Reset](screens/default/reset.png) + -![Receipt](screens/default/receipt.png) + # Usage @@ -40,26 +40,26 @@ Next, generate an e-mail using the following code: ```go email := hermes.Email{ - Body: hermes.Body{ - Name: "Jon Snow", - Intros: []string{ - "Welcome to Hermes! We're very excited to have you on board.", - }, - Actions: []hermes.Action{ - { - Instructions: "To get started with Hermes, please click here:", - Button: hermes.Button{ - Color: "#22BC66", // Optional action button color - Text: "Confirm your account", - Link: "https://hermes-example.com/confirm?token=d9729feb74992cc3482b350163a1a010", - }, - }, - }, - Outros: []string{ - "Need help, or have questions? Just reply to this email, we'd love to help.", - }, - }, - } + Body: hermes.Body{ + Name: "Jon Snow", + Intros: []string{ + "Welcome to Hermes! We're very excited to have you on board.", + }, + Actions: []hermes.Action{ + { + Instructions: "To get started with Hermes, please click here:", + Button: hermes.Button{ + Color: "#22BC66", // Optional action button color + Text: "Confirm your account", + Link: "https://hermes-example.com/confirm?token=d9729feb74992cc3482b350163a1a010", + }, + }, + }, + Outros: []string{ + "Need help, or have questions? Just reply to this email, we'd love to help.", + }, + }, +} // Generate an HTML email with the provided contents(for modern clients) emailBody, err := h.GenerateHTML(email)