Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Show plain-text support email, not just a mailto: link (#2740)

Luke Vella23ec63fbd42d
diff --git a/apps/docs/contact/support.mdx b/apps/docs/contact/support.mdx
index 732f9585b..bddf3b368 100644
--- a/apps/docs/contact/support.mdx
+++ b/apps/docs/contact/support.mdx
@@ -11,7 +11,7 @@ If you have any questions, feedback or suggestions, please get in touch. We'd lo
icon="envelope"
href="mailto:[email protected]"
>
- Send an email
+ Email us at `[email protected]`
</Card>
<Card
title="Discord"
diff --git a/apps/landing/public/locales/en/common.json b/apps/landing/public/locales/en/common.json
index 112edc976..54ae4de87 100644
--- a/apps/landing/public/locales/en/common.json
+++ b/apps/landing/public/locales/en/common.json
@@ -16,7 +16,7 @@
"licensingThankYouNextStepsActivateLicense": "How to Activate Your License",
"licensingThankYouNextStepsInstallation": "Installation Guide",
"licensingThankYouSubtitle": "Your Rallly self-hosted license is confirmed. We're excited to have you on board!",
- "licensingThankYouSupportPrompt": "Need help or have questions? Visit our <0>self-hosted docs</0> or <1>contact us</1>.",
+ "licensingThankYouSupportPrompt": "Need help or have questions? Visit our <0>self-hosted docs</0> or email us at <1>[email protected]</1>.",
"licensingThankYouTitle": "Thank You for Your Purchase!",
"links": "Links",
"login": "Login",
diff --git a/apps/landing/src/app/[locale]/licensing/thank-you/page.tsx b/apps/landing/src/app/[locale]/licensing/thank-you/page.tsx
index 7f3787515..de1140b09 100644
--- a/apps/landing/src/app/[locale]/licensing/thank-you/page.tsx
+++ b/apps/landing/src/app/[locale]/licensing/thank-you/page.tsx
@@ -86,7 +86,7 @@ export default async function LicensingThankYouPage(props: {
<Trans
t={t}
i18nKey="licensingThankYouSupportPrompt"
- defaults="Need help or have questions? Visit our <0>self-hosted docs</0> or <1>contact us</1>."
+ defaults="Need help or have questions? Visit our <0>self-hosted docs</0> or email us at <1>[email protected]</1>."
components={[
<a
key="self-hosted-docs"
@@ -96,7 +96,7 @@ export default async function LicensingThankYouPage(props: {
<a
key="contact-us"
href="mailto:[email protected]"
- className="underline"
+ className="select-all underline"
/>,
]}
/>
diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.json
index 77c5e81e9..2d7fe4aeb 100644
--- a/apps/web/public/locales/en/app.json
+++ b/apps/web/public/locales/en/app.json
@@ -142,6 +142,7 @@
"connectGoogleCalendar": "Google Calendar",
"connectMicrosoftCalendar": "Microsoft Calendar",
"contactSupport": "Contact Support",
+ "contactSupportEmail": "Or email us at <0>[email protected]</0>",
"content": "Content",
"continue": "Continue",
"continueWithEmail": "Continue with email",
diff --git a/apps/web/src/app/[locale]/(space)/settings/billing/components/contact-support-link.tsx b/apps/web/src/app/[locale]/(space)/settings/billing/components/contact-support-link.tsx
index e85c8e910..e5f0f06db 100644
--- a/apps/web/src/app/[locale]/(space)/settings/billing/components/contact-support-link.tsx
+++ b/apps/web/src/app/[locale]/(space)/settings/billing/components/contact-support-link.tsx
@@ -8,17 +8,32 @@ import { Trans } from "@/i18n/client";
export function ContactSupportLink() {
return (
- <a
- href="mailto:[email protected]"
- className={buttonVariants()}
- onClick={() => {
- posthog?.capture("space_billing:support_button_click");
- }}
- >
- <Icon>
- <SendIcon />
- </Icon>
- <Trans i18nKey="contactSupport" defaults="Contact Support" />
- </a>
+ <div className="flex flex-col items-start gap-3">
+ <a
+ href="mailto:[email protected]"
+ className={buttonVariants()}
+ onClick={() => {
+ posthog?.capture("space_billing:support_button_click");
+ }}
+ >
+ <Icon>
+ <SendIcon />
+ </Icon>
+ <Trans i18nKey="contactSupport" defaults="Contact Support" />
+ </a>
+ <p className="text-muted-foreground text-sm">
+ <Trans
+ i18nKey="contactSupportEmail"
+ defaults="Or email us at <0>[email protected]</0>"
+ components={[
+ <a
+ key="email"
+ href="mailto:[email protected]"
+ className="select-all font-medium text-foreground"
+ />,
+ ]}
+ />
+ </p>
+ </div>
);
}