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.

Consistency FTW

Marcus Farrell17567acf70b7
diff --git a/packages/email/src/templates/api-key-created.tsx b/packages/email/src/templates/api-key-created.tsx
index 3d080a4cfc..b3951599b6 100644
--- a/packages/email/src/templates/api-key-created.tsx
+++ b/packages/email/src/templates/api-key-created.tsx
@@ -43,16 +43,15 @@ export function APIKeyCreated({
<Preview>New Workspace API Key Created</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">
+ <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="40"
+ height="32"
alt="Dub.co"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <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">
@@ -65,7 +64,7 @@ export function APIKeyCreated({
Since this is a <strong>{token.type}</strong> token, it has{" "}
{token.permissions}.
</Text>
- <Section className="mb-8 mt-4 text-center">
+ <Section className="mb-8 mt-8">
<Link
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`}
diff --git a/packages/email/src/templates/campaign-imported.tsx b/packages/email/src/templates/campaign-imported.tsx
index 96a5ef84ed..d03534273d 100644
--- a/packages/email/src/templates/campaign-imported.tsx
+++ b/packages/email/src/templates/campaign-imported.tsx
@@ -41,16 +41,15 @@ export function CampaignImported({
<Preview>Your {provider} campaign has been imported</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Your {provider} campaign has been imported
</Heading>
<Text className="text-sm leading-6 text-black">
diff --git a/packages/email/src/templates/clicks-exceeded.tsx b/packages/email/src/templates/clicks-exceeded.tsx
index fa5a075b8c..c998cfedd4 100644
--- a/packages/email/src/templates/clicks-exceeded.tsx
+++ b/packages/email/src/templates/clicks-exceeded.tsx
@@ -44,16 +44,15 @@ export function ClicksExceeded({
</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <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">
@@ -83,7 +82,7 @@ export function ClicksExceeded({
</Link>{" "}
to view their stats.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
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`}
diff --git a/packages/email/src/templates/clicks-summary.tsx b/packages/email/src/templates/clicks-summary.tsx
index 5c231f5219..caf71edb79 100644
--- a/packages/email/src/templates/clicks-summary.tsx
+++ b/packages/email/src/templates/clicks-summary.tsx
@@ -63,16 +63,15 @@ export function ClicksSummary({
<Preview>Your 30-day Dub summary for {workspaceName}</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Your 30-day Dub summary for {workspaceName}
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -82,7 +81,7 @@ export function ClicksSummary({
created <strong>{createdLinks} new links</strong> during that
time.
</Text>
- <Section>
+ <Section className="rounded-lg border border-solid border-neutral-200 pt-6 pb-2">
<Row>
<Column align="center">
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-blue-200">
@@ -168,7 +167,7 @@ export function ClicksSummary({
<Text className="mt-10 text-sm leading-6 text-black">
You can view your full stats by clicking the button below.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
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`}
diff --git a/packages/email/src/templates/confirm-email-change.tsx b/packages/email/src/templates/confirm-email-change.tsx
index 61a9f3ad72..1fe323f0f4 100644
--- a/packages/email/src/templates/confirm-email-change.tsx
+++ b/packages/email/src/templates/confirm-email-change.tsx
@@ -29,23 +29,22 @@ export function ConfirmEmailChange({
<Preview>Confirm your email address change</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Confirm your email address change
</Heading>
<Text className="mx-auto text-sm leading-6">
Follow this link to confirm the update to your email from{" "}
<strong>{email}</strong> to <strong>{newEmail}</strong>.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
href={confirmUrl}
className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
diff --git a/packages/email/src/templates/domain-claimed.tsx b/packages/email/src/templates/domain-claimed.tsx
index 76bf848661..bafb5498de 100644
--- a/packages/email/src/templates/domain-claimed.tsx
+++ b/packages/email/src/templates/domain-claimed.tsx
@@ -29,16 +29,15 @@ export function DomainClaimed({
<Preview>Successfully claimed your .link domain!</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Successfully claimed your .link domain!
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -53,7 +52,7 @@ export function DomainClaimed({
</Link>
.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
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`}
diff --git a/packages/email/src/templates/domain-deleted.tsx b/packages/email/src/templates/domain-deleted.tsx
index aef5ecf825..080c06eecf 100644
--- a/packages/email/src/templates/domain-deleted.tsx
+++ b/packages/email/src/templates/domain-deleted.tsx
@@ -29,16 +29,15 @@ export function DomainDeleted({
<Preview>Domain Deleted</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <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">
@@ -57,7 +56,7 @@ export function DomainDeleted({
If you would like to restore the domain, you can easily create it
again on Dub.co with the link below.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
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`}
diff --git a/packages/email/src/templates/domain-transferred.tsx b/packages/email/src/templates/domain-transferred.tsx
index 9c7a8caaea..005f5a3e68 100644
--- a/packages/email/src/templates/domain-transferred.tsx
+++ b/packages/email/src/templates/domain-transferred.tsx
@@ -32,16 +32,15 @@ export function DomainTransferred({
<Preview>Domain Transferred</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Domain Transferred
</Heading>
<Text className="text-sm leading-6 text-black">
diff --git a/packages/email/src/templates/dub-wrapped.tsx b/packages/email/src/templates/dub-wrapped.tsx
index bda7eb69f5..9fcc3563ea 100644
--- a/packages/email/src/templates/dub-wrapped.tsx
+++ b/packages/email/src/templates/dub-wrapped.tsx
@@ -155,7 +155,7 @@ export function DubWrapped({
</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">
+ <Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img src={DUB_WORDMARK} height="32" alt="Dub" className="my-0" />
</Section>
diff --git a/packages/email/src/templates/email-updated.tsx b/packages/email/src/templates/email-updated.tsx
index aa1958626f..753aa134eb 100644
--- a/packages/email/src/templates/email-updated.tsx
+++ b/packages/email/src/templates/email-updated.tsx
@@ -27,16 +27,15 @@ export function EmailUpdated({
<Preview>Your email address has been updated</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Your email address has been changed
</Heading>
<Text className="mx-auto text-sm leading-6">
diff --git a/packages/email/src/templates/failed-payment.tsx b/packages/email/src/templates/failed-payment.tsx
index ea4f52c05d..32570670a1 100644
--- a/packages/email/src/templates/failed-payment.tsx
+++ b/packages/email/src/templates/failed-payment.tsx
@@ -36,16 +36,15 @@ export function FailedPayment({
<Preview>{title}</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <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
</Heading>
@@ -66,7 +65,7 @@ export function FailedPayment({
</Link>{" "}
using the link below:
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
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`}
diff --git a/packages/email/src/templates/feedback-email.tsx b/packages/email/src/templates/feedback-email.tsx
index 94903b29f3..6b82b4f52b 100644
--- a/packages/email/src/templates/feedback-email.tsx
+++ b/packages/email/src/templates/feedback-email.tsx
@@ -25,16 +25,15 @@ export function FeedbackEmail({
<Preview>New Feedback Received</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
New Feedback Received
</Heading>
<Text className="text-sm leading-6 text-black">
diff --git a/packages/email/src/templates/folder-edit-access-requested.tsx b/packages/email/src/templates/folder-edit-access-requested.tsx
index d5566f5c6f..34870860cd 100644
--- a/packages/email/src/templates/folder-edit-access-requested.tsx
+++ b/packages/email/src/templates/folder-edit-access-requested.tsx
@@ -41,16 +41,15 @@ export function FolderEditAccessRequested({
<Preview>Request to edit folder {folder.name} on Dub</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Request to edit {folder.name}
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -64,7 +63,7 @@ export function FolderEditAccessRequested({
) is requesting edit access to the folder&nbsp;
<strong>{folder.name}</strong>.
</Text>
- <Section className="mb-8 text-center">
+ <Section className="mb-8 mt-8">
<Link
className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={folderUrl}
diff --git a/packages/email/src/templates/integration-installed.tsx b/packages/email/src/templates/integration-installed.tsx
index 58dfb18533..f222846238 100644
--- a/packages/email/src/templates/integration-installed.tsx
+++ b/packages/email/src/templates/integration-installed.tsx
@@ -41,23 +41,22 @@ export function IntegrationInstalled({
<Preview>An integration has been added to your workspace</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">
+ <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="40"
+ height="32"
alt="Dub.co"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
An integration has been added to your workspace
</Heading>
<Text className="text-sm leading-6 text-black">
The <strong>{integration.name}</strong> integration has been added
to your workspace {workspace.name} on Dub.
</Text>
- <Section className="mb-8 mt-4 text-center">
+ <Section className="mb-8 mt-8">
<Link
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}`}
diff --git a/packages/email/src/templates/invalid-domain.tsx b/packages/email/src/templates/invalid-domain.tsx
index c71caa74bf..733d71e5a9 100644
--- a/packages/email/src/templates/invalid-domain.tsx
+++ b/packages/email/src/templates/invalid-domain.tsx
@@ -31,16 +31,15 @@ export function InvalidDomain({
<Preview>Invalid Domain Configuration</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <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">
@@ -59,7 +58,7 @@ export function InvalidDomain({
automatically deleted from Dub.co. Please click the link below to
configure your domain.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
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`}
diff --git a/packages/email/src/templates/links-import-errors.tsx b/packages/email/src/templates/links-import-errors.tsx
index d324c0b4a6..95af370240 100644
--- a/packages/email/src/templates/links-import-errors.tsx
+++ b/packages/email/src/templates/links-import-errors.tsx
@@ -42,16 +42,15 @@ export function LinksImportErrors({
<Preview>Your {provider} links have been imported</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Some {provider} links have failed to import
</Heading>
<Text className="text-sm leading-6 text-black">
diff --git a/packages/email/src/templates/links-imported.tsx b/packages/email/src/templates/links-imported.tsx
index 3c3af34a8c..a3d17d0560 100644
--- a/packages/email/src/templates/links-imported.tsx
+++ b/packages/email/src/templates/links-imported.tsx
@@ -70,16 +70,15 @@ export function LinksImported({
<Preview>Your {provider} links have been imported</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Your {provider} links have been imported
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -129,7 +128,7 @@ export function LinksImported({
</Section>
)}
{count > 5 && (
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
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}`}
diff --git a/packages/email/src/templates/links-limit.tsx b/packages/email/src/templates/links-limit.tsx
index 9194b02b5e..1fa5c58d22 100644
--- a/packages/email/src/templates/links-limit.tsx
+++ b/packages/email/src/templates/links-limit.tsx
@@ -48,16 +48,15 @@ export function LinksLimitAlert({
</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Dub.co Links Limit Alert
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -108,7 +107,7 @@ export function LinksLimitAlert({
to add more links.
</Text>
)}
- <Section className="mb-8 text-center">
+ <Section className="mb-8">
<Link
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`}
diff --git a/packages/email/src/templates/login-link.tsx b/packages/email/src/templates/login-link.tsx
index a5b2500761..3f34dc09bb 100644
--- a/packages/email/src/templates/login-link.tsx
+++ b/packages/email/src/templates/login-link.tsx
@@ -27,16 +27,15 @@ export function LoginLink({
<Preview>Your Dub.co Login Link</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <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">
@@ -45,7 +44,7 @@ export function LoginLink({
<Text className="text-sm leading-6 text-black">
Please click the magic link below to sign in to your account.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={url}
diff --git a/packages/email/src/templates/new-referral-signup.tsx b/packages/email/src/templates/new-referral-signup.tsx
index ffd09a2264..55ee8c8b39 100644
--- a/packages/email/src/templates/new-referral-signup.tsx
+++ b/packages/email/src/templates/new-referral-signup.tsx
@@ -36,16 +36,15 @@ export function NewReferralSignup({
<Preview>New referral signup</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">
+ <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="40"
+ height="32"
alt="Dub.co"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
New referral signup
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -70,7 +69,7 @@ export function NewReferralSignup({
</a>{" "}
workspace on Dub.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8">
<Link
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}`}
diff --git a/packages/email/src/templates/new-sale-alert-partner.tsx b/packages/email/src/templates/new-sale-alert-partner.tsx
index ed0f098447..9f4d37d0af 100644
--- a/packages/email/src/templates/new-sale-alert-partner.tsx
+++ b/packages/email/src/templates/new-sale-alert-partner.tsx
@@ -68,8 +68,8 @@ export function NewSaleAlertPartner({
</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="my-8">
+ <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={program.logo || "https://assets.dub.co/logo.png"}
height="32"
@@ -77,7 +77,7 @@ export function NewSaleAlertPartner({
/>
</Section>
- <Heading className="mx-0 p-0 text-lg font-medium text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
You just made a {earningsInDollars} referral sale!
</Heading>
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 e4abd18536..8a1fd62554 100644
--- a/packages/email/src/templates/new-sale-alert-program-owner.tsx
+++ b/packages/email/src/templates/new-sale-alert-program-owner.tsx
@@ -109,8 +109,8 @@ export function NewSaleAlertProgramOwner({
<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">
- <Section className="my-8">
+ <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={program.logo || "https://assets.dub.co/logo.png"}
height="32"
@@ -118,13 +118,13 @@ export function NewSaleAlertProgramOwner({
/>
</Section>
- <Heading className="mx-0 my-6 p-0 text-lg font-medium text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Hi {finalName},
</Heading>
<Text className="text-sm leading-6 text-neutral-600">
- Your program <strong>{program.name}</strong> earned a sale from a
- customer referred by{" "}
+ <strong>{program.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 96b3d63b98..f9e780bb27 100644
--- a/packages/email/src/templates/partner-application-approved.tsx
+++ b/packages/email/src/templates/partner-application-approved.tsx
@@ -52,8 +52,8 @@ export function PartnerApplicationApproved({
</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="my-8">
+ <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={program.logo || "https://assets.dub.co/logo.png"}
height="32"
@@ -61,7 +61,7 @@ export function PartnerApplicationApproved({
/>
</Section>
- <Heading className="mx-0 p-0 text-lg font-medium text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
Congratulations, {partner.name}!
</Heading>
diff --git a/packages/email/src/templates/partner-application-received.tsx b/packages/email/src/templates/partner-application-received.tsx
index 22a898f203..e89569489a 100644
--- a/packages/email/src/templates/partner-application-received.tsx
+++ b/packages/email/src/templates/partner-application-received.tsx
@@ -67,7 +67,7 @@ export function PartnerApplicationReceived({
<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} width="65" height="32" alt="dub" />
+ <Img src={DUB_WORDMARK} width="61" height="32" alt="dub" />
</Section>
<Heading className="mx-0 p-0 text-lg font-medium text-neutral-800">
diff --git a/packages/email/src/templates/partner-banned.tsx b/packages/email/src/templates/partner-banned.tsx
index 23d64d4bfe..7e3c2036a6 100644
--- a/packages/email/src/templates/partner-banned.tsx
+++ b/packages/email/src/templates/partner-banned.tsx
@@ -46,7 +46,7 @@ export function PartnerBanned({
<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} width="65" height="32" alt="dub" />
+ <Img src={DUB_WORDMARK} width="61" height="32" alt="dub" />
</Section>
<Heading className="mx-0 p-0 text-lg font-medium text-neutral-600">
diff --git a/packages/email/src/templates/partner-invite.tsx b/packages/email/src/templates/partner-invite.tsx
index 398e74898d..2b733c3183 100644
--- a/packages/email/src/templates/partner-invite.tsx
+++ b/packages/email/src/templates/partner-invite.tsx
@@ -35,8 +35,8 @@ export function PartnerInvite({
<Preview>Sign up for {program.name}</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="my-8">
+ <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={program.logo || "https://assets.dub.co/logo.png"}
height="32"
diff --git a/packages/email/src/templates/partner-payout-confirmed.tsx b/packages/email/src/templates/partner-payout-confirmed.tsx
index b6bf4cd6ef..faa954cd3f 100644
--- a/packages/email/src/templates/partner-payout-confirmed.tsx
+++ b/packages/email/src/templates/partner-payout-confirmed.tsx
@@ -65,8 +65,8 @@ export function PartnerPayoutConfirmed({
<Preview>Your payout is being processed</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="my-8">
+ <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={program.logo || "https://assets.dub.co/logo.png"}
height="32"
diff --git a/packages/email/src/templates/partner-payout-sent.tsx b/packages/email/src/templates/partner-payout-sent.tsx
index b30e736975..a37b66cf76 100644
--- a/packages/email/src/templates/partner-payout-sent.tsx
+++ b/packages/email/src/templates/partner-payout-sent.tsx
@@ -68,8 +68,8 @@ export function PartnerPayoutSent({
<Preview>You've been paid!</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="my-8">
+ <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={program.logo || "https://assets.dub.co/logo.png"}
height="32"
@@ -77,7 +77,7 @@ export function PartnerPayoutSent({
/>
</Section>
- <Heading className="mx-0 p-0 text-lg font-medium text-black">
+ <Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">
You've been paid!
</Heading>
diff --git a/packages/email/src/templates/password-updated.tsx b/packages/email/src/templates/password-updated.tsx
index 6ada42f0da..df698ccb84 100644
--- a/packages/email/src/templates/password-updated.tsx
+++ b/packages/email/src/templates/password-updated.tsx
@@ -26,16 +26,15 @@ export function PasswordUpdated({
<Preview>Your password has been {verb}</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Password has been {verb}
</Heading>
<Text className="text-sm leading-6 text-black">
diff --git a/packages/email/src/templates/referral-invite.tsx b/packages/email/src/templates/referral-invite.tsx
index 5879fd7ad0..ae2e733ea7 100644
--- a/packages/email/src/templates/referral-invite.tsx
+++ b/packages/email/src/templates/referral-invite.tsx
@@ -33,16 +33,15 @@ export function ReferralInvite({
<Preview>Sign up for {appName}</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">
+ <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="40"
+ height="32"
alt={appName}
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Sign up for {appName}
</Heading>
{workspaceUser && workspaceUserEmail ? (
@@ -61,7 +60,7 @@ export function ReferralInvite({
You have been invited to start using {appName}!
</Text>
)}
- <Section className="mb-8 text-center">
+ <Section className="mb-8 mt-8">
<Link
className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={url}
diff --git a/packages/email/src/templates/reset-password-link.tsx b/packages/email/src/templates/reset-password-link.tsx
index e32f346f7d..1f9b09fe4c 100644
--- a/packages/email/src/templates/reset-password-link.tsx
+++ b/packages/email/src/templates/reset-password-link.tsx
@@ -27,16 +27,15 @@ export function ResetPasswordLink({
<Preview>Reset Password Link</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Reset password link
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -46,7 +45,7 @@ export function ResetPasswordLink({
<Text className="text-sm leading-6 text-black">
Please click the button below to reset your password.
</Text>
- <Section className="my-8 text-center">
+ <Section className="my-8 mt-8">
<Link
className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={url}
diff --git a/packages/email/src/templates/upgrade-email.tsx b/packages/email/src/templates/upgrade-email.tsx
index 82b15099d3..c50427d7ea 100644
--- a/packages/email/src/templates/upgrade-email.tsx
+++ b/packages/email/src/templates/upgrade-email.tsx
@@ -30,11 +30,11 @@ export function UpgradeEmail({
<Preview>Thank you for upgrading to Dub.co {plan}!</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="my-8">
+ <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>
- <Heading className="mx-0 p-0 text-lg font-medium text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Thank you for upgrading to Dub.co {plan}!
</Heading>
<Section className="my-8">
diff --git a/packages/email/src/templates/verify-email.tsx b/packages/email/src/templates/verify-email.tsx
index 06533b5ec8..23b5781cb0 100644
--- a/packages/email/src/templates/verify-email.tsx
+++ b/packages/email/src/templates/verify-email.tsx
@@ -26,16 +26,15 @@ export function VerifyEmail({
<Preview>Your Dub.co Verification Code</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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Please confirm your email address
</Heading>
<Text className="mx-auto text-sm leading-6">
diff --git a/packages/email/src/templates/webhook-added.tsx b/packages/email/src/templates/webhook-added.tsx
index 4392b6e077..e70adcd1a6 100644
--- a/packages/email/src/templates/webhook-added.tsx
+++ b/packages/email/src/templates/webhook-added.tsx
@@ -39,23 +39,22 @@ export function WebhookAdded({
<Preview>New webhook added</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">
+ <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="40"
+ height="32"
alt="Dub.co"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <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}.
</Text>
- <Section className="mb-8 mt-8 text-center">
+ <Section className="mb-8 mt-8">
<Link
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`}
diff --git a/packages/email/src/templates/webhook-disabled.tsx b/packages/email/src/templates/webhook-disabled.tsx
index 722935d926..3dadfb4c57 100644
--- a/packages/email/src/templates/webhook-disabled.tsx
+++ b/packages/email/src/templates/webhook-disabled.tsx
@@ -43,16 +43,15 @@ export default function WebhookDisabled({
<Preview>Webhook has been disabled</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">
+ <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="40"
+ height="32"
alt="Dub.co"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Webhook has been disabled
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -64,7 +63,7 @@ export default function WebhookDisabled({
Please review the webhook details and update the URL if necessary
to restore functionality.
</Text>
- <Section className="mb-8 mt-8 text-center">
+ <Section className="mb-8 mt-8">
<Link
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`}
diff --git a/packages/email/src/templates/webhook-failed.tsx b/packages/email/src/templates/webhook-failed.tsx
index 85e90914b3..e313b524ee 100644
--- a/packages/email/src/templates/webhook-failed.tsx
+++ b/packages/email/src/templates/webhook-failed.tsx
@@ -45,16 +45,15 @@ export default function WebhookFailed({
<Preview>Webhook is failing to deliver</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">
+ <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="40"
+ height="32"
alt="Dub.co"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Webhook is failing to deliver
</Heading>
<Text className="text-sm leading-6 text-black">
@@ -66,7 +65,7 @@ export default function WebhookFailed({
Please review the webhook details and update the URL if necessary
to restore functionality.
</Text>
- <Section className="mb-8 mt-8 text-center">
+ <Section className="mb-8 mt-8">
<Link
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`}
diff --git a/packages/email/src/templates/welcome-email.tsx b/packages/email/src/templates/welcome-email.tsx
index ee52f05e12..9f07835b06 100644
--- a/packages/email/src/templates/welcome-email.tsx
+++ b/packages/email/src/templates/welcome-email.tsx
@@ -27,16 +27,15 @@ export function WelcomeEmail({
<Preview>Welcome to 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">
+ <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="40"
+ height="32"
alt="Dub"
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Welcome to Dub.co
</Heading>
<Section className="my-8">
diff --git a/packages/email/src/templates/workspace-invite.tsx b/packages/email/src/templates/workspace-invite.tsx
index 32833360bf..b99292dcba 100644
--- a/packages/email/src/templates/workspace-invite.tsx
+++ b/packages/email/src/templates/workspace-invite.tsx
@@ -37,16 +37,15 @@ export function WorkspaceInvite({
</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">
+ <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="40"
+ height="32"
alt={appName}
- className="mx-auto my-0"
/>
</Section>
- <Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
+ <Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">
Join {workspaceName} on {appName}
</Heading>
{workspaceUser && workspaceUserEmail ? (
@@ -67,7 +66,7 @@ export function WorkspaceInvite({
<strong>{workspaceName}</strong> workspace on {appName}!
</Text>
)}
- <Section className="mb-8 mt-8 text-center">
+ <Section className="mb-8 mt-8">
<Link
className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
href={url}