diff --git a/.env.example b/.env.example index 296ae0f0..47b91eff 100644 --- a/.env.example +++ b/.env.example @@ -22,3 +22,5 @@ EMAIL_AUTH_PASS= EMAIL_FROM=no-reply@compassiep.org EMAIL_HOST=localhost EMAIL_PORT=1025 + +BASE_URL=http://localhost:3000 diff --git a/src/backend/emails/_button.html.ejs b/src/backend/emails/_button.html.ejs new file mode 100644 index 00000000..9fb10386 --- /dev/null +++ b/src/backend/emails/_button.html.ejs @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/backend/emails/_footer.html.ejs b/src/backend/emails/_footer.html.ejs new file mode 100644 index 00000000..53848d19 --- /dev/null +++ b/src/backend/emails/_footer.html.ejs @@ -0,0 +1,31 @@ + + + + + + + + + + + + + +   + + + + diff --git a/src/backend/emails/_footer.text.ejs b/src/backend/emails/_footer.text.ejs new file mode 100644 index 00000000..fc63fc86 --- /dev/null +++ b/src/backend/emails/_footer.text.ejs @@ -0,0 +1,3 @@ +---- +Copyright (C) <%= new Date().getFullYear() %> Compass +<%= env.BASE_URL %> diff --git a/src/backend/emails/_header.html.ejs b/src/backend/emails/_header.html.ejs new file mode 100644 index 00000000..1f9eceb8 --- /dev/null +++ b/src/backend/emails/_header.html.ejs @@ -0,0 +1,77 @@ + + + + + + + + + + + +