From ff49c507db17c4fd0467ca68483cbd75102b7f1d Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 18 Mar 2022 20:19:07 -0700 Subject: [PATCH] fix: Direct to contact page rather than mailto: link closes #3265 --- app/actions/definitions/navigation.tsx | 4 ++-- shared/utils/urlHelpers.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/actions/definitions/navigation.tsx b/app/actions/definitions/navigation.tsx index b64ff63d97..844f3f64b2 100644 --- a/app/actions/definitions/navigation.tsx +++ b/app/actions/definitions/navigation.tsx @@ -16,7 +16,7 @@ import * as React from "react"; import { developersUrl, changelogUrl, - mailToUrl, + feedbackUrl, githubIssuesUrl, } from "@shared/utils/urlHelpers"; import stores from "~/stores"; @@ -115,7 +115,7 @@ export const openFeedbackUrl = createAction({ section: NavigationSection, iconInContextMenu: false, icon: , - perform: () => window.open(mailToUrl()), + perform: () => window.open(feedbackUrl()), }); export const openBugReportUrl = createAction({ diff --git a/shared/utils/urlHelpers.ts b/shared/utils/urlHelpers.ts index d931a4841b..1749c4f29e 100644 --- a/shared/utils/urlHelpers.ts +++ b/shared/utils/urlHelpers.ts @@ -35,16 +35,16 @@ export function twitterUrl(): string { return "https://twitter.com/getoutline"; } -export function mailToUrl(): string { - return "mailto:hello@getoutline.com"; +export function feedbackUrl(): string { + return "https://www.getoutline.com/contact"; } export function developersUrl(): string { - return `https://www.getoutline.com/developers`; + return "https://www.getoutline.com/developers"; } export function changelogUrl(): string { - return `https://www.getoutline.com/changelog`; + return "https://www.getoutline.com/changelog"; } export function signin(service = "slack"): string {