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.

standardized more

Steven Tey0f1a07e71853
diff --git a/packages/email/src/templates/api-key-created.tsx b/packages/email/src/templates/api-key-created.tsx
index b3951599b6..a01d8f64fb 100644
--- a/packages/email/src/templates/api-key-created.tsx
+++ b/packages/email/src/templates/api-key-created.tsx
@@ -45,17 +45,13 @@ export function APIKeyCreated({
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mb-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub.co"
- />
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-6 p-0 text-lg font-medium text-black">
New Workspace API Key Created
</Heading>
<Text className="text-sm leading-6 text-black">
- You've created a new API key for your Dub.co workspace{" "}
+ You've created a new API key for your Dub workspace{" "}
<strong>{workspace.name}</strong> with the name{" "}
<strong>"{token.name}"</strong> on{" "}
{formatDate(new Date().toString())}.
diff --git a/packages/email/src/templates/clicks-exceeded.tsx b/packages/email/src/templates/clicks-exceeded.tsx
index c998cfedd4..7368f0bb72 100644
--- a/packages/email/src/templates/clicks-exceeded.tsx
+++ b/packages/email/src/templates/clicks-exceeded.tsx
@@ -38,25 +38,21 @@ export function ClicksExceeded({
<Html>
<Head />
<Preview>
- Your Dub.co workspace, {name || ""} has exceeded the{" "}
+ Your Dub workspace, {name || ""} has exceeded the{" "}
{capitalize(plan) || ""} Plan limit of {nFormatter(usageLimit)} link
clicks/month.
</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Clicks Limit Exceeded
</Heading>
<Text className="text-sm leading-6 text-black">
- Your Dub.co workspace,{" "}
+ Your Dub workspace,{" "}
<Link
href={`https://app.dub.co/${slug}`}
className="text-black underline"
diff --git a/packages/email/src/templates/domain-deleted.tsx b/packages/email/src/templates/domain-deleted.tsx
index 080c06eecf..53ab280330 100644
--- a/packages/email/src/templates/domain-deleted.tsx
+++ b/packages/email/src/templates/domain-deleted.tsx
@@ -30,19 +30,15 @@ export function DomainDeleted({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Domain Deleted
</Heading>
<Text className="text-sm leading-6 text-black">
Your domain <code className="text-purple-600">{domain}</code> for
- your Dub.co workspace{" "}
+ your Dub workspace{" "}
<Link
href={`https://app.dub.co/${workspaceSlug}`}
className="font-medium text-blue-600 no-underline"
@@ -54,7 +50,7 @@ export function DomainDeleted({
</Text>
<Text className="text-sm leading-6 text-black">
If you would like to restore the domain, you can easily create it
- again on Dub.co with the link below.
+ again on Dub with the link below.
</Text>
<Section className="my-8">
<Link
@@ -65,7 +61,8 @@ export function DomainDeleted({
</Link>
</Section>
<Text className="text-sm leading-6 text-black">
- If you don’t plan to keep using this domain on Dub.co, feel free to ignore this email.
+ If you don’t plan to keep using this domain on Dub, feel free to
+ ignore this email.
</Text>
<Footer
email={email}
diff --git a/packages/email/src/templates/failed-payment.tsx b/packages/email/src/templates/failed-payment.tsx
index 32570670a1..4d0a791b2f 100644
--- a/packages/email/src/templates/failed-payment.tsx
+++ b/packages/email/src/templates/failed-payment.tsx
@@ -28,7 +28,7 @@ export function FailedPayment({
}) {
const title = `${
attemptCount == 2 ? "2nd notice: " : attemptCount == 3 ? "3rd notice: " : ""
- }Your payment for Dub.co failed`;
+ }Your payment for Dub failed`;
return (
<Html>
@@ -37,16 +37,12 @@ export function FailedPayment({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
{attemptCount == 2 ? "2nd " : attemptCount == 3 ? "3rd " : ""}
- Failed Payment for Dub.co
+ Failed Payment for Dub
</Heading>
<Text className="text-sm leading-6 text-black">
Hey{user.name ? `, ${user.name}` : ""}!
diff --git a/packages/email/src/templates/integration-installed.tsx b/packages/email/src/templates/integration-installed.tsx
index f222846238..aae9497447 100644
--- a/packages/email/src/templates/integration-installed.tsx
+++ b/packages/email/src/templates/integration-installed.tsx
@@ -42,12 +42,8 @@ export function IntegrationInstalled({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub.co"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
An integration has been added to your workspace
diff --git a/packages/email/src/templates/invalid-domain.tsx b/packages/email/src/templates/invalid-domain.tsx
index 733d71e5a9..c0220ac512 100644
--- a/packages/email/src/templates/invalid-domain.tsx
+++ b/packages/email/src/templates/invalid-domain.tsx
@@ -32,19 +32,15 @@ export function InvalidDomain({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Invalid Domain Configuration
</Heading>
<Text className="text-sm leading-6 text-black">
Your domain <code className="text-purple-600">{domain}</code> for
- your Dub.co workspace{" "}
+ your Dub workspace{" "}
<Link
href={`https://app.dub.co/${workspaceSlug}`}
className="font-medium text-blue-600 no-underline"
@@ -55,7 +51,7 @@ export function InvalidDomain({
</Text>
<Text className="text-sm leading-6 text-black">
If your domain remains unconfigured for 30 days, it will be
- automatically deleted from Dub.co. Please click the link below to
+ automatically deleted from Dub. Please click the link below to
configure your domain.
</Text>
<Section className="my-8">
@@ -67,7 +63,7 @@ export function InvalidDomain({
</Link>
</Section>
<Text className="text-sm leading-6 text-black">
- If you do not want to keep this domain on Dub.co, you can{" "}
+ If you do not want to keep this domain on Dub, you can{" "}
<Link
href={`https://app.dub.co/${workspaceSlug}/settings/domains`}
className="font-medium text-blue-600 no-underline"
diff --git a/packages/email/src/templates/links-import-errors.tsx b/packages/email/src/templates/links-import-errors.tsx
index 95af370240..19e6e9c895 100644
--- a/packages/email/src/templates/links-import-errors.tsx
+++ b/packages/email/src/templates/links-import-errors.tsx
@@ -43,12 +43,8 @@ export function LinksImportErrors({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Some {provider} links have failed to import
@@ -56,7 +52,7 @@ export function LinksImportErrors({
<Text className="text-sm leading-6 text-black">
The following{" "}
{Intl.NumberFormat("en-us").format(errorLinks.length)} links from{" "}
- {provider} failed to import into your Dub.co workspace,{" "}
+ {provider} failed to import into your Dub workspace,{" "}
<Link
href={`https://app.dub.co/${workspaceSlug}`}
className="font-medium text-blue-600 no-underline"
diff --git a/packages/email/src/templates/links-imported.tsx b/packages/email/src/templates/links-imported.tsx
index a3d17d0560..337383e302 100644
--- a/packages/email/src/templates/links-imported.tsx
+++ b/packages/email/src/templates/links-imported.tsx
@@ -71,12 +71,8 @@ export function LinksImported({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Your {provider} links have been imported
@@ -86,7 +82,7 @@ export function LinksImported({
<strong>
imported {Intl.NumberFormat("en-us").format(count)} links
</strong>{" "}
- from {provider} into your Dub.co workspace,{" "}
+ from {provider} into your Dub workspace,{" "}
<Link
href={`https://app.dub.co/${workspaceSlug}`}
className="font-medium text-blue-600 no-underline"
diff --git a/packages/email/src/templates/links-limit.tsx b/packages/email/src/templates/links-limit.tsx
index 1fa5c58d22..4a328f6788 100644
--- a/packages/email/src/templates/links-limit.tsx
+++ b/packages/email/src/templates/links-limit.tsx
@@ -49,18 +49,14 @@ export function LinksLimitAlert({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
- Dub.co Links Limit Alert
+ Dub Links Limit Alert
</Heading>
<Text className="text-sm leading-6 text-black">
- Your Dub.co workspace,{" "}
+ Your Dub workspace,{" "}
<Link
href={`https://app.dub.co/${slug}`}
className="text-black underline"
diff --git a/packages/email/src/templates/login-link.tsx b/packages/email/src/templates/login-link.tsx
index 3f34dc09bb..ee6e2bdfbe 100644
--- a/packages/email/src/templates/login-link.tsx
+++ b/packages/email/src/templates/login-link.tsx
@@ -24,22 +24,18 @@ export function LoginLink({
return (
<Html>
<Head />
- <Preview>Your Dub.co Login Link</Preview>
+ <Preview>Your Dub Login Link</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Your Login Link
</Heading>
<Text className="text-sm leading-6 text-black">
- Welcome to Dub.co!
+ Welcome to Dub!
</Text>
<Text className="text-sm leading-6 text-black">
Please click the magic link below to sign in to your account.
diff --git a/packages/email/src/templates/new-referral-signup.tsx b/packages/email/src/templates/new-referral-signup.tsx
index 55ee8c8b39..ef45df0544 100644
--- a/packages/email/src/templates/new-referral-signup.tsx
+++ b/packages/email/src/templates/new-referral-signup.tsx
@@ -37,12 +37,8 @@ export function NewReferralSignup({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub.co"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
New referral signup
diff --git a/packages/email/src/templates/partner-invite.tsx b/packages/email/src/templates/partner-invite.tsx
index 2b733c3183..80bdef51e3 100644
--- a/packages/email/src/templates/partner-invite.tsx
+++ b/packages/email/src/templates/partner-invite.tsx
@@ -16,7 +16,7 @@ import { Footer } from "../components/footer";
export function PartnerInvite({
email = "[email protected]",
- appName = "Dub.co",
+ appName = "Dub",
program = {
name: "Acme",
logo: DUB_WORDMARK,
diff --git a/packages/email/src/templates/rebrand-email.tsx b/packages/email/src/templates/rebrand-email.tsx
deleted file mode 100644
index 5af0c7f060..0000000000
--- a/packages/email/src/templates/rebrand-email.tsx
+++ /dev/null
@@ -1,149 +0,0 @@
-import { DUB_THUMBNAIL, DUB_WORDMARK } from "@dub/utils";
-import {
- Body,
- Container,
- Head,
- Heading,
- Hr,
- Html,
- Img,
- Link,
- Preview,
- Section,
- Tailwind,
- Text,
-} from "@react-email/components";
-import { Footer } from "../components/footer";
-
-export function RebrandEmail({
- name = "Brendon Urie",
- email = "[email protected]",
-}: {
- name: string | null;
- email: string;
-}) {
- return (
- <Html>
- <Head />
- <Preview>
- Today, we're thrilled to announce our rebrand. Dub.sh is now Dub.co.
- </Preview>
- <Tailwind>
- <Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8">
- <Img
- src={DUB_WORDMARK}
- height="40"
- alt="Dub"
- className="mx-auto my-0"
- />
- </Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
- Dub​.sh is rebranding to Dub​.co
- </Heading>
- <Section className="my-8">
- <Img src={DUB_THUMBNAIL} alt="Dub" className="max-w-[500px]" />
- </Section>
- <Text className="text-sm leading-6 text-black">
- Hey{name ? ` ${name}` : " there"}!
- </Text>
- <Text className="text-sm leading-6 text-black">
- My name is Steven, and I'm the founder of Dub. Today, I have some
- exciting news to share with you.
- </Text>
- <Text className="text-sm font-bold leading-6 text-black">
- Dub​.sh is rebranding to Dub​.co.
- </Text>
- <Text className="text-sm leading-6 text-black">
- You can learn more about the rebrand and what's changing{" "}
- <Link
- href="https://dub.co/blog/rebrand"
- className="font-medium text-blue-600 no-underline"
- >
- in this blog post
- </Link>
- .
- </Text>
- <Text className="text-sm leading-6 text-black">
- Moving forward, we'll also be sending product update emails from{" "}
- <strong>ship.dub​.co</strong> instead of{" "}
- <strong>ship.dub​.sh</strong>. We'd appreciate it if you can add{" "}
- <strong>ship.dub​.co</strong> to your email whitelist to ensure
- you receive our emails.
- </Text>
- <Hr />
- <Text className="text-sm leading-6 text-black">
- Along with the rebrand, we've also been working on a multitude of
- new features. In the last 30 days, we rolled out 9 major updates:
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆{" "}
- <Link
- href="https://dub.co/blog/migration-assistants"
- className="font-bold text-blue-600 no-underline"
- >
- Migration Assistants
- </Link>{" "}
- for Bitly and Short​.io
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆{" "}
- <Link
- href="https://dub.co/help"
- className="font-bold text-blue-600 no-underline"
- >
- Dub Help Center
- </Link>{" "}
- - a one-stop shop for all your Dub questions
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆ <strong>Geo Targeting</strong> - Redirect visitors based on
- their location
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆ <strong>Link comments</strong> - Leave comments on your links
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆ <strong>Link Cloaking</strong> – Mask your destination URL
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆ <strong>Custom QR Codes</strong> – Available on the Pro plan
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆ <strong>Custom Social Media Cards</strong>
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆ <strong>Detailed Link Stats</strong>
- </Text>
- <Text className="ml-1 text-sm leading-6 text-black">
- ◆ <strong>Link Pagination</strong>
- </Text>
- <Text className="text-sm leading-6 text-black">
- Check out our{" "}
- <Link
- href="https://dub.co/changelog"
- className="font-medium text-blue-600 no-underline"
- >
- changelog
- </Link>{" "}
- to see what's new on Dub.
- </Text>
-
- <Text className="text-sm leading-6 text-black">
- Let me know if you have any questions or feedback. I'm always
- happy to help!
- </Text>
- <Text className="text-sm font-light leading-6 text-neutral-400">
- Steven from Dub
- </Text>
-
- <Footer email={email} marketing />
- </Container>
- </Body>
- </Tailwind>
- </Html>
- );
-}
-
-export default RebrandEmail;
diff --git a/packages/email/src/templates/referral-invite.tsx b/packages/email/src/templates/referral-invite.tsx
index ae2e733ea7..f22439e18b 100644
--- a/packages/email/src/templates/referral-invite.tsx
+++ b/packages/email/src/templates/referral-invite.tsx
@@ -16,7 +16,7 @@ import { Footer } from "../components/footer";
export function ReferralInvite({
email = "[email protected]",
- appName = "Dub.co",
+ appName = "Dub",
url = "https://dub.co",
workspaceUser = "Brendon Urie",
workspaceUserEmail = "[email protected]",
@@ -34,12 +34,8 @@ export function ReferralInvite({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt={appName}
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt={appName} />
</Section>
<Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Sign up for {appName}
diff --git a/packages/email/src/templates/upgrade-email.tsx b/packages/email/src/templates/upgrade-email.tsx
index c50427d7ea..d011fa6e83 100644
--- a/packages/email/src/templates/upgrade-email.tsx
+++ b/packages/email/src/templates/upgrade-email.tsx
@@ -27,15 +27,15 @@ export function UpgradeEmail({
return (
<Html>
<Head />
- <Preview>Thank you for upgrading to Dub.co {plan}!</Preview>
+ <Preview>Thank you for upgrading to Dub {plan}!</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
+ <Section className="mt-6 mt-8">
<Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
- Thank you for upgrading to Dub.co {plan}!
+ Thank you for upgrading to Dub {plan}!
</Heading>
<Section className="my-8">
<Img
@@ -54,7 +54,7 @@ export function UpgradeEmail({
href={planDetails.link}
className="font-medium text-blue-600 no-underline"
>
- Dub.co {plan}
+ Dub {plan}
</Link>
!
</Text>
@@ -67,7 +67,7 @@ export function UpgradeEmail({
open-source
</Link>{" "}
business. Your support means the world to us and helps us continue
- to build and improve Dub.co.
+ to build and improve Dub.
</Text>
<Text className="text-sm leading-6 text-black">
On the {plan} plan, you now have access to:
diff --git a/packages/email/src/templates/verify-email.tsx b/packages/email/src/templates/verify-email.tsx
index 23b5781cb0..ee814f8dfa 100644
--- a/packages/email/src/templates/verify-email.tsx
+++ b/packages/email/src/templates/verify-email.tsx
@@ -23,16 +23,12 @@ export function VerifyEmail({
return (
<Html>
<Head />
- <Preview>Your Dub.co Verification Code</Preview>
+ <Preview>Your Dub Verification Code</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Please confirm your email address
diff --git a/packages/email/src/templates/webhook-added.tsx b/packages/email/src/templates/webhook-added.tsx
index e70adcd1a6..a785ad001d 100644
--- a/packages/email/src/templates/webhook-added.tsx
+++ b/packages/email/src/templates/webhook-added.tsx
@@ -40,19 +40,15 @@ export function WebhookAdded({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub.co"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
New webhook added
</Heading>
<Text className="text-sm leading-6 text-black">
Webhook with the name <strong>{webhook.name}</strong> has been
- added to your Dub.co workspace {workspace.name}.
+ added to your Dub workspace {workspace.name}.
</Text>
<Section className="mb-8 mt-8">
<Link
diff --git a/packages/email/src/templates/webhook-disabled.tsx b/packages/email/src/templates/webhook-disabled.tsx
index 3dadfb4c57..e4fdbe35bc 100644
--- a/packages/email/src/templates/webhook-disabled.tsx
+++ b/packages/email/src/templates/webhook-disabled.tsx
@@ -44,12 +44,8 @@ export default function WebhookDisabled({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub.co"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Webhook has been disabled
diff --git a/packages/email/src/templates/webhook-failed.tsx b/packages/email/src/templates/webhook-failed.tsx
index e313b524ee..e857c39026 100644
--- a/packages/email/src/templates/webhook-failed.tsx
+++ b/packages/email/src/templates/webhook-failed.tsx
@@ -46,12 +46,8 @@ export default function WebhookFailed({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub.co"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Webhook is failing to deliver
diff --git a/packages/email/src/templates/welcome-email.tsx b/packages/email/src/templates/welcome-email.tsx
index 9f07835b06..3ac15d9e82 100644
--- a/packages/email/src/templates/welcome-email.tsx
+++ b/packages/email/src/templates/welcome-email.tsx
@@ -24,19 +24,15 @@ export function WelcomeEmail({
return (
<Html>
<Head />
- <Preview>Welcome to Dub.co</Preview>
+ <Preview>Welcome to Dub</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt="Dub"
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
- Welcome to Dub.co
+ Welcome to Dub
</Heading>
<Section className="my-8">
<Img src={DUB_THUMBNAIL} alt="Dub" className="max-w-[500px]" />
@@ -45,7 +41,7 @@ export function WelcomeEmail({
Thanks for signing up{name && `, ${name}`}!
</Text>
<Text className="text-sm leading-6 text-black">
- My name is Steven, and I'm the founder of Dub.co - the modern link
+ My name is Steven, and I'm the founder of Dub - the modern link
management platform for you to create marketing campaigns, link
sharing features, and referral programs. We're excited to have you
on board!
diff --git a/packages/email/src/templates/workspace-invite.tsx b/packages/email/src/templates/workspace-invite.tsx
index b99292dcba..9bcf7e8f8b 100644
--- a/packages/email/src/templates/workspace-invite.tsx
+++ b/packages/email/src/templates/workspace-invite.tsx
@@ -16,14 +16,12 @@ import { Footer } from "../components/footer";
export function WorkspaceInvite({
email = "[email protected]",
- appName = "Dub.co",
url = "http://localhost:8888/api/auth/callback/email?callbackUrl=http%3A%2F%2Fapp.localhost%3A3000%2Flogin&token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&[email protected]",
workspaceName = "Acme",
workspaceUser = "Brendon Urie",
workspaceUserEmail = "[email protected]",
}: {
email: string;
- appName: string;
url: string;
workspaceName: string;
workspaceUser: string | null;
@@ -32,21 +30,15 @@ export function WorkspaceInvite({
return (
<Html>
<Head />
- <Preview>
- Join {workspaceName} on {appName}
- </Preview>
+ <Preview>Join {workspaceName} on Dub</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
- <Section className="mt-8 mt-6">
- <Img
- src={DUB_WORDMARK}
- height="32"
- alt={appName}
- />
+ <Section className="mt-6 mt-8">
+ <Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
<Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
- Join {workspaceName} on {appName}
+ Join {workspaceName} on Dub
</Heading>
{workspaceUser && workspaceUserEmail ? (
<Text className="text-sm leading-6 text-black">
@@ -58,12 +50,12 @@ export function WorkspaceInvite({
{workspaceUserEmail}
</Link>
) has invited you to join the <strong>{workspaceName}</strong>{" "}
- workspace on {appName}!
+ workspace on Dub!
</Text>
) : (
<Text className="text-sm leading-6 text-black">
You have been invited to join the{" "}
- <strong>{workspaceName}</strong> workspace on {appName}!
+ <strong>{workspaceName}</strong> workspace on Dub!
</Text>
)}
<Section className="mb-8 mt-8">