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.

update emails to use dub wordmark

Steven Teyfec3e6a2a535
diff --git a/apps/web/emails/api-key-created.tsx b/apps/web/emails/api-key-created.tsx
index 1ad26b1625..0be974dcc0 100644
--- a/apps/web/emails/api-key-created.tsx
+++ b/apps/web/emails/api-key-created.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO, formatDate } from "@dub/utils";
+import { DUB_WORDMARK, formatDate } from "@dub/utils";
import {
Body,
Container,
@@ -30,8 +30,7 @@ export default function APIKeyCreated({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub.co"
className="mx-auto my-0"
diff --git a/apps/web/emails/clicks-exceeded.tsx b/apps/web/emails/clicks-exceeded.tsx
index 0af38b2e83..98b72b3bd6 100644
--- a/apps/web/emails/clicks-exceeded.tsx
+++ b/apps/web/emails/clicks-exceeded.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO, capitalize, getNextPlan, nFormatter } from "@dub/utils";
+import { DUB_WORDMARK, capitalize, getNextPlan, nFormatter } from "@dub/utils";
import {
Body,
Container,
@@ -47,8 +47,7 @@ export default function ClicksExceeded({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/clicks-summary.tsx b/apps/web/emails/clicks-summary.tsx
index e3552ddeae..6c38d1029e 100644
--- a/apps/web/emails/clicks-summary.tsx
+++ b/apps/web/emails/clicks-summary.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO, nFormatter, truncate } from "@dub/utils";
+import { DUB_WORDMARK, nFormatter, truncate } from "@dub/utils";
import {
Body,
Column,
@@ -72,8 +72,7 @@ export default function ClicksSummary({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt={appName}
className="mx-auto my-0"
diff --git a/apps/web/emails/domain-deleted.tsx b/apps/web/emails/domain-deleted.tsx
index 8efaaadddb..bf1aebbb3d 100644
--- a/apps/web/emails/domain-deleted.tsx
+++ b/apps/web/emails/domain-deleted.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO } from "@dub/utils";
+import { DUB_WORDMARK } from "@dub/utils";
import {
Body,
Container,
@@ -32,8 +32,7 @@ export default function DomainDeleted({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/domain-transferred.tsx b/apps/web/emails/domain-transferred.tsx
index c8cf027fff..3b18451c68 100644
--- a/apps/web/emails/domain-transferred.tsx
+++ b/apps/web/emails/domain-transferred.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO } from "@dub/utils";
+import { DUB_WORDMARK } from "@dub/utils";
import { Project } from "@prisma/client";
import {
Body,
@@ -35,8 +35,7 @@ export default function DomainTransferred({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/feedback-email.tsx b/apps/web/emails/feedback-email.tsx
index d3a2f0fda8..2be2cd84f2 100644
--- a/apps/web/emails/feedback-email.tsx
+++ b/apps/web/emails/feedback-email.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO } from "@dub/utils";
+import { DUB_WORDMARK } from "@dub/utils";
import {
Body,
Container,
@@ -28,8 +28,7 @@ export default function FeedbackEmail({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/invalid-domain.tsx b/apps/web/emails/invalid-domain.tsx
index 592e35b7da..ad22e6de65 100644
--- a/apps/web/emails/invalid-domain.tsx
+++ b/apps/web/emails/invalid-domain.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO } from "@dub/utils";
+import { DUB_WORDMARK } from "@dub/utils";
import {
Body,
Container,
@@ -34,8 +34,7 @@ export default function InvalidDomain({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/links-imported.tsx b/apps/web/emails/links-imported.tsx
index d862e26ef1..289cd56708 100644
--- a/apps/web/emails/links-imported.tsx
+++ b/apps/web/emails/links-imported.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO, linkConstructor, timeAgo } from "@dub/utils";
+import { DUB_WORDMARK, linkConstructor, timeAgo } from "@dub/utils";
import {
Body,
Column,
@@ -73,8 +73,7 @@ export default function LinksImported({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/links-limit.tsx b/apps/web/emails/links-limit.tsx
index 1690655003..b7d328d92d 100644
--- a/apps/web/emails/links-limit.tsx
+++ b/apps/web/emails/links-limit.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO, capitalize, getNextPlan, nFormatter } from "@dub/utils";
+import { DUB_WORDMARK, capitalize, getNextPlan, nFormatter } from "@dub/utils";
import {
Body,
Container,
@@ -51,8 +51,7 @@ export default function LinksLimitAlert({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/login-link.tsx b/apps/web/emails/login-link.tsx
index e1cf879c34..73df76385d 100644
--- a/apps/web/emails/login-link.tsx
+++ b/apps/web/emails/login-link.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO } from "@dub/utils";
+import { DUB_WORDMARK } from "@dub/utils";
import {
Body,
Container,
@@ -30,8 +30,7 @@ export default function LoginLink({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/rebrand-email.tsx b/apps/web/emails/rebrand-email.tsx
index 55422d2293..a02bd08612 100644
--- a/apps/web/emails/rebrand-email.tsx
+++ b/apps/web/emails/rebrand-email.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO, DUB_THUMBNAIL } from "@dub/utils";
+import { DUB_THUMBNAIL, DUB_WORDMARK } from "@dub/utils";
import {
Body,
Container,
@@ -33,8 +33,7 @@ export default function RebrandEmail({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/upgrade-email.tsx b/apps/web/emails/upgrade-email.tsx
index 12cc533d93..c0fdaaaf53 100644
--- a/apps/web/emails/upgrade-email.tsx
+++ b/apps/web/emails/upgrade-email.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO, getPlanDetails } from "@dub/utils";
+import { DUB_WORDMARK, getPlanDetails } from "@dub/utils";
import {
Body,
Container,
@@ -33,8 +33,7 @@ export default function UpgradeEmail({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/welcome-email.tsx b/apps/web/emails/welcome-email.tsx
index b242ff81aa..9170ad1a36 100644
--- a/apps/web/emails/welcome-email.tsx
+++ b/apps/web/emails/welcome-email.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO, DUB_THUMBNAIL } from "@dub/utils";
+import { DUB_THUMBNAIL, DUB_WORDMARK } from "@dub/utils";
import {
Body,
Container,
@@ -30,8 +30,7 @@ export default function WelcomeEmail({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt="Dub"
className="mx-auto my-0"
diff --git a/apps/web/emails/workspace-invite.tsx b/apps/web/emails/workspace-invite.tsx
index fb04b49a20..6c1b8566c1 100644
--- a/apps/web/emails/workspace-invite.tsx
+++ b/apps/web/emails/workspace-invite.tsx
@@ -1,4 +1,4 @@
-import { DUB_LOGO } from "@dub/utils";
+import { DUB_WORDMARK } from "@dub/utils";
import {
Body,
Container,
@@ -40,8 +40,7 @@ export default function WorkspaceInvite({
<Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
<Section className="mt-8">
<Img
- src={DUB_LOGO}
- width="40"
+ src={DUB_WORDMARK}
height="40"
alt={appName}
className="mx-auto my-0"
diff --git a/packages/utils/src/constants/index.ts b/packages/utils/src/constants/index.ts
index f7724a5654..1b97b5ba5e 100644
--- a/packages/utils/src/constants/index.ts
+++ b/packages/utils/src/constants/index.ts
@@ -57,6 +57,7 @@ export const ADMIN_HOSTNAMES = new Set([
]);
export const DUB_LOGO = "https://assets.dub.co/logo.png";
+export const DUB_WORDMARK = "https://assets.dub.co/wordmark.png";
export const DUB_THUMBNAIL = "https://assets.dub.co/thumbnail.jpg";
export const DUB_WORKSPACE_ID = "cl7pj5kq4006835rbjlt2ofka";