From 414bd4ca1f08ed08a0d25cb337c9d5a03a260dae Mon Sep 17 00:00:00 2001
From: Andrew Tavis McAllister
Date: Mon, 20 May 2024 20:25:46 +0200
Subject: [PATCH] Add team email to the contact form in case people would
prefer to use that
---
frontend/i18n/en-US.json | 5 +++--
frontend/pages/help/contact.vue | 15 +++++++++++----
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/frontend/i18n/en-US.json b/frontend/i18n/en-US.json
index 7a085f174..550919071 100644
--- a/frontend/i18n/en-US.json
+++ b/frontend/i18n/en-US.json
@@ -533,8 +533,9 @@
"pages.help.contact.section-1-paragraph-1-1": "Thanks for your interest in connecting with the activist.org team. Please consider joining the",
"pages.help.contact.section-1-paragraph-1-3": "for simple inquiries and suggestions. The community including the development team would be happy to help! Feature requests should also be sent via our open-source codebase",
"pages.help.contact.section-1-paragraph-1-5": ". Go to \"Issues\" and select \"New issue\" to get started.",
- "pages.help.contact.section-1-paragraph-2-1": "For other inquiries, please use the contact form on this page. In using this form we ask that you respect our",
- "pages.help.contact.section-1-paragraph-2-2": "community code of conduct",
+ "pages.help.contact.section-1-paragraph-2-1": "For other inquiries, please use the contact form on this page or email us at",
+ "pages.help.contact.section-1-paragraph-2-2": "In using this form we ask that you respect our",
+ "pages.help.contact.section-1-paragraph-2-3": "community code of conduct",
"pages.help.contact.send": "Send",
"pages.help.contact.send-form-aria-label": "Send your message to the activist.org team email",
"pages.help.contact.subject-label": "Subject",
diff --git a/frontend/pages/help/contact.vue b/frontend/pages/help/contact.vue
index 293b1f8f1..7b3a435d3 100644
--- a/frontend/pages/help/contact.vue
+++ b/frontend/pages/help/contact.vue
@@ -69,17 +69,24 @@
{{ $t("pages.help.contact.section-1-paragraph-2-1") }}
+
+ team@activist.org
+ .
+ {{ $t("pages.help.contact.section-1-paragraph-2-2") }}
- {{ $t("pages.help.contact.section-1-paragraph-2-2") }}
+ {{ $t("pages.help.contact.section-1-paragraph-2-3") }}
.
@@ -346,7 +353,7 @@ const sendEmail = async () => {
message.value.trim().length > 0
) {
await mail.send({
- from: email.value,
+ from: "contact@activist.org",
subject: `activist contact form: ${subject.value}`,
text: message.value,
});