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.

Email updates

Marcus Farrell01eb9de8bca9
diff --git a/packages/email/src/templates/api-key-created.tsx b/packages/email/src/templates/api-key-created.tsx
index 7e7ed216fb..3d080a4cfc 100644
--- a/packages/email/src/templates/api-key-created.tsx
+++ b/packages/email/src/templates/api-key-created.tsx
@@ -67,7 +67,7 @@ export function APIKeyCreated({
</Text>
<Section className="mb-8 mt-4 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspace.slug}/settings/tokens`}
>
View API Keys
diff --git a/packages/email/src/templates/clicks-exceeded.tsx b/packages/email/src/templates/clicks-exceeded.tsx
index 40bb83e0b2..fa5a075b8c 100644
--- a/packages/email/src/templates/clicks-exceeded.tsx
+++ b/packages/email/src/templates/clicks-exceeded.tsx
@@ -85,7 +85,7 @@ export function ClicksExceeded({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${slug}/upgrade`}
>
Upgrade my plan
diff --git a/packages/email/src/templates/clicks-summary.tsx b/packages/email/src/templates/clicks-summary.tsx
index e862740f7f..5c231f5219 100644
--- a/packages/email/src/templates/clicks-summary.tsx
+++ b/packages/email/src/templates/clicks-summary.tsx
@@ -170,7 +170,7 @@ export function ClicksSummary({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspaceSlug}/analytics?interval=30d`}
>
View my stats
diff --git a/packages/email/src/templates/confirm-email-change.tsx b/packages/email/src/templates/confirm-email-change.tsx
index 3cb8ef6b89..61a9f3ad72 100644
--- a/packages/email/src/templates/confirm-email-change.tsx
+++ b/packages/email/src/templates/confirm-email-change.tsx
@@ -48,7 +48,7 @@ export function ConfirmEmailChange({
<Section className="my-8 text-center">
<Link
href={confirmUrl}
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
>
<strong>Confirm email change</strong>
</Link>
diff --git a/packages/email/src/templates/domain-claimed.tsx b/packages/email/src/templates/domain-claimed.tsx
index e05322939e..76bf848661 100644
--- a/packages/email/src/templates/domain-claimed.tsx
+++ b/packages/email/src/templates/domain-claimed.tsx
@@ -55,7 +55,7 @@ export function DomainClaimed({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspaceSlug}/settings/domains`}
>
Manage your domain
@@ -63,8 +63,7 @@ export function DomainClaimed({
</Section>
<Text className="text-sm leading-6 text-black">
Once the domain is fully provisioned, you can start creating links
- with it. This process can take anywhere between a few minutes to
- an hour.
+ with it. This process can take up to 1 hour.
</Text>
<Text className="text-sm leading-6 text-black">
If your domain is not active after 1 hour, please reply to this
diff --git a/packages/email/src/templates/domain-deleted.tsx b/packages/email/src/templates/domain-deleted.tsx
index 4a452a514e..aef5ecf825 100644
--- a/packages/email/src/templates/domain-deleted.tsx
+++ b/packages/email/src/templates/domain-deleted.tsx
@@ -59,15 +59,14 @@ export function DomainDeleted({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspaceSlug}/settings/domains`}
>
Add a domain
</Link>
</Section>
<Text className="text-sm leading-6 text-black">
- If you did not want to keep using this domain on Dub.co anyway,
- you can simply ignore this email.
+ If you don’t plan to keep using this domain on Dub.co, 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 dad208bcfd..ea4f52c05d 100644
--- a/packages/email/src/templates/failed-payment.tsx
+++ b/packages/email/src/templates/failed-payment.tsx
@@ -68,7 +68,7 @@ export function FailedPayment({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspace.slug}/settings/billing`}
>
Update payment information
diff --git a/packages/email/src/templates/folder-edit-access-requested.tsx b/packages/email/src/templates/folder-edit-access-requested.tsx
index 078315816a..d5566f5c6f 100644
--- a/packages/email/src/templates/folder-edit-access-requested.tsx
+++ b/packages/email/src/templates/folder-edit-access-requested.tsx
@@ -66,7 +66,7 @@ export function FolderEditAccessRequested({
</Text>
<Section className="mb-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={folderUrl}
>
View folder
diff --git a/packages/email/src/templates/integration-installed.tsx b/packages/email/src/templates/integration-installed.tsx
index 599eedabd9..58dfb18533 100644
--- a/packages/email/src/templates/integration-installed.tsx
+++ b/packages/email/src/templates/integration-installed.tsx
@@ -59,7 +59,7 @@ export function IntegrationInstalled({
</Text>
<Section className="mb-8 mt-4 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspace.slug}/settings/integrations/${integration.slug}`}
>
View installed integration
diff --git a/packages/email/src/templates/invalid-domain.tsx b/packages/email/src/templates/invalid-domain.tsx
index ec7fdfa4fa..c71caa74bf 100644
--- a/packages/email/src/templates/invalid-domain.tsx
+++ b/packages/email/src/templates/invalid-domain.tsx
@@ -61,7 +61,7 @@ export function InvalidDomain({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspaceSlug}/settings/domains`}
>
Configure domain
diff --git a/packages/email/src/templates/links-imported.tsx b/packages/email/src/templates/links-imported.tsx
index 04d0e6da22..3c3af34a8c 100644
--- a/packages/email/src/templates/links-imported.tsx
+++ b/packages/email/src/templates/links-imported.tsx
@@ -131,7 +131,7 @@ export function LinksImported({
{count > 5 && (
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspaceSlug}`}
>
View {Intl.NumberFormat("en-us").format(count - 5)} more links
@@ -146,7 +146,7 @@ export function LinksImported({
>
configured your {pluralize("domain", domains.length)}
</Link>
- , you will need to do it before you can start using your links.
+ , you will need to do this before you can start using your links.
</Text>
<Footer email={email} />
</Container>
diff --git a/packages/email/src/templates/links-limit.tsx b/packages/email/src/templates/links-limit.tsx
index a9a06ed06b..9194b02b5e 100644
--- a/packages/email/src/templates/links-limit.tsx
+++ b/packages/email/src/templates/links-limit.tsx
@@ -110,7 +110,7 @@ export function LinksLimitAlert({
)}
<Section className="mb-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${slug}/upgrade`}
>
Upgrade my plan
diff --git a/packages/email/src/templates/login-link.tsx b/packages/email/src/templates/login-link.tsx
index 9d8c6cde34..a5b2500761 100644
--- a/packages/email/src/templates/login-link.tsx
+++ b/packages/email/src/templates/login-link.tsx
@@ -47,7 +47,7 @@ export function LoginLink({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={url}
>
Sign in
diff --git a/packages/email/src/templates/new-referral-signup.tsx b/packages/email/src/templates/new-referral-signup.tsx
index 4a103ba80c..ffd09a2264 100644
--- a/packages/email/src/templates/new-referral-signup.tsx
+++ b/packages/email/src/templates/new-referral-signup.tsx
@@ -72,7 +72,7 @@ export function NewReferralSignup({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspace.slug}`}
>
View your referral stats
diff --git a/packages/email/src/templates/new-sale-alert-partner.tsx b/packages/email/src/templates/new-sale-alert-partner.tsx
index dbc2e911c1..ed0f098447 100644
--- a/packages/email/src/templates/new-sale-alert-partner.tsx
+++ b/packages/email/src/templates/new-sale-alert-partner.tsx
@@ -103,7 +103,7 @@ export function NewSaleAlertPartner({
<Section className="mb-12 mt-8">
<Link
- className="rounded-md bg-neutral-900 px-4 py-3 text-[12px] font-medium text-white no-underline"
+ className="rounded-lg bg-neutral-900 px-4 py-3 text-[12px] font-semibold text-white no-underline"
href={linkToSale}
>
View sale
diff --git a/packages/email/src/templates/new-sale-alert-program-owner.tsx b/packages/email/src/templates/new-sale-alert-program-owner.tsx
index 69a38aa279..ecb783a6cb 100644
--- a/packages/email/src/templates/new-sale-alert-program-owner.tsx
+++ b/packages/email/src/templates/new-sale-alert-program-owner.tsx
@@ -106,7 +106,7 @@ export function NewSaleAlertProgramOwner({
return (
<Html>
<Head />
- <Preview>You received a payment from a customer referred! 💰</Preview>
+ <Preview>You received a sale from a customer referred! 💰</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">
@@ -123,7 +123,7 @@ export function NewSaleAlertProgramOwner({
</Heading>
<Text className="text-sm leading-6 text-neutral-600">
- You received a payment from a customer referred by{" "}
+ <strong>{workspace.name}</strong> earned a sale from a customer referred by {" "}
<strong>
{partner.name
? `${partner.name} (${partner.email})`
diff --git a/packages/email/src/templates/partner-application-approved.tsx b/packages/email/src/templates/partner-application-approved.tsx
index 706aa52fb1..96b3d63b98 100644
--- a/packages/email/src/templates/partner-application-approved.tsx
+++ b/packages/email/src/templates/partner-application-approved.tsx
@@ -124,7 +124,7 @@ export function PartnerApplicationApproved({
<Section className="mb-8 mt-8">
<Link
- className="rounded-md bg-neutral-900 px-6 py-3 text-[13px] font-medium text-white no-underline"
+ className="rounded-lg bg-neutral-900 px-6 py-3 text-[13px] font-semibold text-white no-underline"
href={`https://partners.dub.co/programs/${program.slug}`}
>
Go to your dashboard
diff --git a/packages/email/src/templates/partner-application-received.tsx b/packages/email/src/templates/partner-application-received.tsx
index d9ccf30f10..22a898f203 100644
--- a/packages/email/src/templates/partner-application-received.tsx
+++ b/packages/email/src/templates/partner-application-received.tsx
@@ -151,7 +151,7 @@ export function PartnerApplicationReceived({
<Section className="mt-8 text-center">
<Link
href={applicationUrl}
- className="box-border block w-full rounded-md bg-black px-0 py-4 text-center text-sm font-medium leading-none text-white no-underline"
+ className="box-border block w-full rounded-lg bg-black px-0 py-4 text-center text-sm font-semibold leading-none text-white no-underline"
>
Review application on Dub
</Link>
diff --git a/packages/email/src/templates/partner-invite.tsx b/packages/email/src/templates/partner-invite.tsx
index 83015f3a15..398e74898d 100644
--- a/packages/email/src/templates/partner-invite.tsx
+++ b/packages/email/src/templates/partner-invite.tsx
@@ -55,7 +55,7 @@ export function PartnerInvite({
<Section className="mb-12 mt-8">
<Link
- className="rounded-md bg-neutral-900 px-4 py-3 text-[12px] font-medium text-white no-underline"
+ className="rounded-lg bg-neutral-900 px-4 py-3 text-[12px] font-semibold text-white no-underline"
href="https://partners.dub.co/register"
>
Accept Invite
diff --git a/packages/email/src/templates/partner-payout-confirmed.tsx b/packages/email/src/templates/partner-payout-confirmed.tsx
index ed7ac627d3..b6bf4cd6ef 100644
--- a/packages/email/src/templates/partner-payout-confirmed.tsx
+++ b/packages/email/src/templates/partner-payout-confirmed.tsx
@@ -93,7 +93,7 @@ export function PartnerPayoutConfirmed({
<Section className="mb-12 mt-8">
<Link
- className="rounded-md bg-neutral-900 px-4 py-3 text-[12px] font-medium text-white no-underline"
+ className="rounded-lg bg-neutral-900 px-4 py-3 text-[12px] font-semibold text-white no-underline"
href={`https://partners.dub.co/settings/payouts?payoutId=${payout.id}`}
>
View payout
diff --git a/packages/email/src/templates/partner-payout-sent.tsx b/packages/email/src/templates/partner-payout-sent.tsx
index e69870ed86..b30e736975 100644
--- a/packages/email/src/templates/partner-payout-sent.tsx
+++ b/packages/email/src/templates/partner-payout-sent.tsx
@@ -101,7 +101,7 @@ export function PartnerPayoutSent({
<Section className="mb-12 mt-8">
<Link
- className="rounded-md bg-neutral-900 px-4 py-3 text-[12px] font-medium text-white no-underline"
+ className="rounded-lg bg-neutral-900 px-4 py-3 text-[12px] font-semibold text-white no-underline"
href={`https://partners.dub.co/settings/payouts?payoutId=${payout.id}`}
>
View payout
diff --git a/packages/email/src/templates/referral-invite.tsx b/packages/email/src/templates/referral-invite.tsx
index b07b6f8635..5879fd7ad0 100644
--- a/packages/email/src/templates/referral-invite.tsx
+++ b/packages/email/src/templates/referral-invite.tsx
@@ -63,7 +63,7 @@ export function ReferralInvite({
)}
<Section className="mb-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={url}
>
Learn More
diff --git a/packages/email/src/templates/reset-password-link.tsx b/packages/email/src/templates/reset-password-link.tsx
index 3eb43e3490..e32f346f7d 100644
--- a/packages/email/src/templates/reset-password-link.tsx
+++ b/packages/email/src/templates/reset-password-link.tsx
@@ -48,7 +48,7 @@ export function ResetPasswordLink({
</Text>
<Section className="my-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={url}
>
Reset Password
diff --git a/packages/email/src/templates/verify-email.tsx b/packages/email/src/templates/verify-email.tsx
index c90001e0dc..06533b5ec8 100644
--- a/packages/email/src/templates/verify-email.tsx
+++ b/packages/email/src/templates/verify-email.tsx
@@ -41,8 +41,8 @@ export function VerifyEmail({
<Text className="mx-auto text-sm leading-6">
Enter this code on the Dub verify page to complete your sign up:
</Text>
- <Section className="my-8">
- <div className="mx-auto w-fit rounded-xl px-6 py-3 text-center font-mono text-2xl font-semibold tracking-[0.25em]">
+ <Section className="my-8 rounded-lg border border-solid border-neutral-200">
+ <div className="mx-auto w-fit px-6 py-3 text-center font-mono text-2xl font-semibold tracking-[0.25em]">
{code}
</div>
</Section>
diff --git a/packages/email/src/templates/webhook-added.tsx b/packages/email/src/templates/webhook-added.tsx
index 3b7a279ae8..4392b6e077 100644
--- a/packages/email/src/templates/webhook-added.tsx
+++ b/packages/email/src/templates/webhook-added.tsx
@@ -55,9 +55,9 @@ export function WebhookAdded({
Webhook with the name <strong>{webhook.name}</strong> has been
added to your Dub.co workspace {workspace.name}.
</Text>
- <Section className="mb-8 mt-4 text-center">
+ <Section className="mb-8 mt-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspace.slug}/settings/webhooks`}
>
View Webhook
diff --git a/packages/email/src/templates/webhook-disabled.tsx b/packages/email/src/templates/webhook-disabled.tsx
index 11594819c2..722935d926 100644
--- a/packages/email/src/templates/webhook-disabled.tsx
+++ b/packages/email/src/templates/webhook-disabled.tsx
@@ -64,9 +64,9 @@ export default function WebhookDisabled({
Please review the webhook details and update the URL if necessary
to restore functionality.
</Text>
- <Section className="mb-8 mt-4 text-center">
+ <Section className="mb-8 mt-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspace.slug}/settings/webhooks/${webhook.id}/edit`}
>
Edit Webhook
diff --git a/packages/email/src/templates/webhook-failed.tsx b/packages/email/src/templates/webhook-failed.tsx
index fb354dbedc..85e90914b3 100644
--- a/packages/email/src/templates/webhook-failed.tsx
+++ b/packages/email/src/templates/webhook-failed.tsx
@@ -66,9 +66,9 @@ export default function WebhookFailed({
Please review the webhook details and update the URL if necessary
to restore functionality.
</Text>
- <Section className="mb-8 mt-4 text-center">
+ <Section className="mb-8 mt-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={`https://app.dub.co/${workspace.slug}/settings/webhooks/${webhook.id}/edit`}
>
Edit Webhook
diff --git a/packages/email/src/templates/workspace-invite.tsx b/packages/email/src/templates/workspace-invite.tsx
index 49c3573b77..32833360bf 100644
--- a/packages/email/src/templates/workspace-invite.tsx
+++ b/packages/email/src/templates/workspace-invite.tsx
@@ -67,9 +67,9 @@ export function WorkspaceInvite({
<strong>{workspaceName}</strong> workspace on {appName}!
</Text>
)}
- <Section className="mb-8 text-center">
+ <Section className="mb-8 mt-8 text-center">
<Link
- className="rounded-full bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={url}
>
Join Workspace