Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix support URLs

Steven Teyad4fc2baea9a
diff --git a/apps/web/app/(ee)/api/domains/register/route.ts b/apps/web/app/(ee)/api/domains/register/route.ts
index 8d2e11676b..c8a8958878 100644
--- a/apps/web/app/(ee)/api/domains/register/route.ts
+++ b/apps/web/app/(ee)/api/domains/register/route.ts
@@ -20,7 +20,7 @@ export const POST = withWorkspace(
throw new DubApiError({
code: "forbidden",
message:
- "Your workspace is not eligible for domain registration. Contact [email protected] for more information.",
+ "Your workspace is not eligible for domain registration. Contact our team for more information.",
});
}
diff --git a/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/domain-renewal-invoice.tsx b/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/domain-renewal-invoice.tsx
index 66950a4f73..a4560e7ae1 100644
--- a/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/domain-renewal-invoice.tsx
+++ b/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/domain-renewal-invoice.tsx
@@ -97,7 +97,6 @@ export async function DomainRenewalInvoice({
city: "San Francisco",
state: "CA",
postalCode: "94114",
- email: "[email protected]",
},
},
{
@@ -121,12 +120,6 @@ export async function DomainRenewalInvoice({
<Page size="A4" style={tw("p-20 bg-white")}>
<View style={tw("flex-row justify-between items-center mb-10")}>
<Image src={DUB_WORDMARK} style={tw("w-20 h-10")} />
- <View style={tw("text-right w-1/2")}>
- <Text style={tw("text-sm font-medium text-neutral-800")}>
- Dub Technologies Inc.
- </Text>
- <Text style={tw("text-sm text-neutral-500 ")}>[email protected]</Text>
- </View>
</View>
<View style={tw("flex-col gap-2 text-sm font-medium mb-10")}>
@@ -257,14 +250,15 @@ export async function DomainRenewalInvoice({
</View>
<Text style={tw("text-sm text-neutral-600 mt-6")}>
- If you have any questions, visit our support site at{" "}
+ If you have any questions,{" "}
<Link href="https://dub.co/help" style={tw("text-neutral-900")}>
- https://dub.co/help
+ visit our help center
</Link>{" "}
- or contact us at{" "}
- <Link href="mailto:[email protected]" style={tw("text-neutral-900")}>
+ or{" "}
+ <Link href="https://dub.co/support" style={tw("text-neutral-900")}>
+ reach out to our support team
</Link>
+ .
</Text>
</Page>
</Document>,
diff --git a/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/partner-payout-invoice.tsx b/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/partner-payout-invoice.tsx
index 507bebd1d7..596bb1724f 100644
--- a/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/partner-payout-invoice.tsx
+++ b/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/partner-payout-invoice.tsx
@@ -204,7 +204,6 @@ export async function PartnerPayoutInvoice({
city: "San Francisco",
state: "CA",
postalCode: "94114",
- email: "[email protected]",
},
},
{
@@ -228,12 +227,6 @@ export async function PartnerPayoutInvoice({
<Page size="A4" style={tw("p-20 bg-white")}>
<View style={tw("flex-row justify-between items-center mb-4")}>
<Image src={DUB_WORDMARK} style={tw("w-20 h-10")} />
- <View style={tw("text-right w-1/2")}>
- <Text style={tw("text-sm font-medium text-neutral-800")}>
- Dub Technologies Inc.
- </Text>
- <Text style={tw("text-sm text-neutral-500 ")}>[email protected]</Text>
- </View>
</View>
<View style={tw("flex-col gap-2 text-sm font-medium mb-10")}>
@@ -430,14 +423,15 @@ export async function PartnerPayoutInvoice({
</View>
<Text style={tw("text-sm text-neutral-600 mt-6")}>
- If you have any questions, visit our support site at{" "}
+ If you have any questions,{" "}
<Link href="https://dub.co/help" style={tw("text-neutral-900")}>
- https://dub.co/help
+ visit our help center
</Link>{" "}
- or contact us at{" "}
- <Link href="mailto:[email protected]" style={tw("text-neutral-900")}>
+ or{" "}
+ <Link href="https://dub.co/support" style={tw("text-neutral-900")}>
+ reach out to our support team
</Link>
+ .
</Text>
</Page>
</Document>,
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/integrations/integrations-cards.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/integrations/integrations-cards.tsx
index 2fcb14f07f..dddacf3d5b 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/integrations/integrations-cards.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/integrations/integrations-cards.tsx
@@ -107,7 +107,7 @@ export function IntegrationsCards({
)}
addButton={
<a
- href="mailto:[email protected]?subject=Integration%20Request"
+ href="https://dub.co/support"
className={cn(
buttonVariants({ variant: "primary" }),
"flex h-8 items-center rounded-md border px-2.5 text-sm",
diff --git a/apps/web/lib/actions/send-otp.ts b/apps/web/lib/actions/send-otp.ts
index 42341b6a41..a70d2d5512 100644
--- a/apps/web/lib/actions/send-otp.ts
+++ b/apps/web/lib/actions/send-otp.ts
@@ -85,7 +85,7 @@ export const sendOtpAction = actionClient
]);
if (!isPartnerAccount && !hasExistingApplications) {
throw new Error(
- "Invalid email address – please use your work email instead. If you think this is a mistake, please contact us at [email protected]",
+ "Invalid email address – please use your work email instead. If you think this is a mistake, please contact us at dub.co/support",
);
}
}
diff --git a/apps/web/lib/openapi/index.ts b/apps/web/lib/openapi/index.ts
index f4c0c038ee..42db43125e 100644
--- a/apps/web/lib/openapi/index.ts
+++ b/apps/web/lib/openapi/index.ts
@@ -31,7 +31,7 @@ export const document = createDocument({
contact: {
name: "Dub Support",
- url: "https://dub.co/api",
+ url: "https://dub.co/support",
},
license: {
name: "AGPL-3.0 license",
diff --git a/apps/web/ui/modals/import-short-modal.tsx b/apps/web/ui/modals/import-short-modal.tsx
index d07a261f10..eba3ccabba 100644
--- a/apps/web/ui/modals/import-short-modal.tsx
+++ b/apps/web/ui/modals/import-short-modal.tsx
@@ -211,7 +211,7 @@ function ImportShortModal({
import your links.
</p>
<a
- href="mailto:[email protected]?subject=I%20need%20help%20with%20importing%20my%20Short.io%20links"
+ href="https://dub.co/support"
className={cn(
buttonVariants({ variant: "secondary" }),
"flex h-8 items-center justify-center rounded-md border px-4 text-sm",
diff --git a/packages/email/src/templates/partner-account-merged.tsx b/packages/email/src/templates/partner-account-merged.tsx
index 24bed14d67..a0382c1ad9 100644
--- a/packages/email/src/templates/partner-account-merged.tsx
+++ b/packages/email/src/templates/partner-account-merged.tsx
@@ -54,7 +54,7 @@ export default function PartnerAccountMerged({
</Text>
<Text className="text-base text-neutral-600">
- Contact <Link href="mailto:[email protected]">support</Link> if you
+ <Link href="https://dub.co/support">Contact support</Link> if you
have any questions.
</Text>