From e212c731dd0348434586de8fdbdad383d3072fae Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Sat, 4 Jan 2020 13:33:35 -0800 Subject: Email refactoring Tons of refactoring of email. This no longer uses Sendgrid templates and now uses source-controlled handlebars files in the `views/emails/` directory. This means that email messages are now source-controlled and vastly reduces the sendgrid setup process. This also adds a new file, `domain-example.js`, in the config directory, which stores things like the site name, base URL, port, etc. This should be renamed to `domain.js`, in keeping with the other configuration files. --- views/emails/createevent.handlebars | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 views/emails/createevent.handlebars (limited to 'views/emails/createevent.handlebars') diff --git a/views/emails/createevent.handlebars b/views/emails/createevent.handlebars new file mode 100644 index 0000000..030ee58 --- /dev/null +++ b/views/emails/createevent.handlebars @@ -0,0 +1,19 @@ +

Your event has been created!

+

Use this link to share it with people: https://{{domain}}/{{eventID}}

+

Click this button to edit your event. DO NOT SHARE THIS, as anyone with this link can edit your event.

+ + + + + + + +
+ + + + + + +
Edit Your Event
+
-- cgit v1.2.3