From f4d202d7c59c500bdf27e10239d777a3a5611f8d Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Thu, 10 Oct 2019 20:28:02 +0700 Subject: [PATCH] Added member email templates no-issue --- core/server/services/members/emails/signin.js | 175 +++++++++++++++++ core/server/services/members/emails/signup.js | 175 +++++++++++++++++ .../services/members/emails/subscribe.js | 176 ++++++++++++++++++ 3 files changed, 526 insertions(+) create mode 100644 core/server/services/members/emails/signin.js create mode 100644 core/server/services/members/emails/signup.js create mode 100644 core/server/services/members/emails/subscribe.js diff --git a/core/server/services/members/emails/signin.js b/core/server/services/members/emails/signin.js new file mode 100644 index 0000000000..dc47211144 --- /dev/null +++ b/core/server/services/members/emails/signin.js @@ -0,0 +1,175 @@ +module.exports = ({siteTitle, email, url}) => ` + + + + + + 🔑 Secure sign in link for ${siteTitle} + + + + + + + + + +
  +
+ + + + + + + + + + + +
+ + + + +
+

Hey there,

+

Welcome back! Use this link to securely sign in to your ${siteTitle} account:

+ + + + + + +
+ + + + + + +
Sign in to ${siteTitle}
+
+

For your security, the link will expire in 10 minutes time.

+

See you soon!
The team at ${siteTitle}

+
+

You can also copy & paste this URL into your browser:

+

${url}

+
+
+ + + + + + +
+
 
+ + +`; diff --git a/core/server/services/members/emails/signup.js b/core/server/services/members/emails/signup.js new file mode 100644 index 0000000000..0d482bb070 --- /dev/null +++ b/core/server/services/members/emails/signup.js @@ -0,0 +1,175 @@ +module.exports = ({siteTitle, email, url}) => ` + + + + + + 🙌 Complete your sign up to ${siteTitle}! + + + + + + + + + +
  +
+ + + + + + + + + + + +
+ + + + +
+

Hey there!

+

Thanks for signing up for ${siteTitle} — use this link to complete the sign up process and be automatically signed in:

+ + + + + + +
+ + + + + + +
Activate my account
+
+

For your security, the link will expire in 10 minutes time.

+

See you soon!
The team at ${siteTitle}

+
+

You can also copy & paste this URL into your browser:

+

${url}

+
+
+ + + + + + +
+
 
+ + +`; diff --git a/core/server/services/members/emails/subscribe.js b/core/server/services/members/emails/subscribe.js new file mode 100644 index 0000000000..ec8dc02780 --- /dev/null +++ b/core/server/services/members/emails/subscribe.js @@ -0,0 +1,176 @@ +module.exports = ({siteTitle, email, url}) => ` + + + + + + 📫 Confirm your subscription to ${siteTitle} + + + + + + + + + +
  +
+ + + + + + + + + + + +
+ + + + +
+

Hey there,

+

You're one tap away from subscribing to ${siteTitle} — please confirm your email address with this link:

+ + + + + + +
+ + + + + + +
Yes, I want to subscribe
+
+

For your security, the link will expire in 10 minutes time.

+

All the best!
The team at ${siteTitle}

+
+

You can also copy & paste this URL into your browser:

+

${url}

+
+
+ + + + + + +
+
 
+ + +`;