Skip to content

Commit 209c5a4

Browse files
authored
Merge pull request dubinc#3707 from dubinc/fix-email-layout-and-typo
Fix verify-email-for-account-merge and payout typo
2 parents 2ddaf9f + 5194341 commit 209c5a4

2 files changed

Lines changed: 23 additions & 13 deletions

File tree

apps/web/app/(ee)/partners.dub.co/(apply)/[programSlug]/(default)/apply/success/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const FEATURES = [
2525
icon: MoneyBills2,
2626
title: "Get paid how you want",
2727
description:
28-
"Connect your paoyut details and receive payouts from the programs you partner with.",
28+
"Connect your payout details and receive payouts from the programs you partner with.",
2929
},
3030
{
3131
icon: LinesY,

packages/email/src/templates/verify-email-for-account-merge.tsx

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import { DUB_WORDMARK } from "@dub/utils";
22
import {
33
Body,
4+
Column,
45
Container,
56
Head,
67
Heading,
78
Html,
89
Img,
10+
Link,
911
Preview,
12+
Row,
1013
Section,
1114
Tailwind,
1215
Text,
@@ -46,19 +49,26 @@ export default function VerifyEmailForAccountMerge({
4649
Use the code below to verify and continue merging your accounts
4750
</Text>
4851

49-
<Section className="mb-8">
50-
<div className="mx-auto flex flex-col rounded-lg border border-solid border-neutral-200 bg-neutral-100 p-1 text-center">
51-
<div className="rounded-lg border border-solid border-neutral-200 bg-white px-6 py-6 text-center">
52-
<span className="font-mono text-3xl font-semibold tracking-[0.25em]">
53-
{code}
54-
</span>
55-
</div>
56-
<div className="items-center py-1.5">
57-
<span className="text-base text-sm text-neutral-500">
52+
<Section className="mb-8 rounded-lg border border-solid border-neutral-200 bg-neutral-100 p-1 text-center">
53+
<Row>
54+
<Column align="center" className="w-full">
55+
<div className="rounded-lg border border-solid border-neutral-200 bg-white px-6 py-6 text-center">
56+
<span className="font-mono text-3xl font-semibold tracking-[0.25em]">
57+
{code}
58+
</span>
59+
</div>
60+
</Column>
61+
</Row>
62+
<Row>
63+
<Column align="center" className="w-full py-1.5">
64+
<Link
65+
href={`mailto:${email}`}
66+
className="text-sm text-neutral-500 no-underline"
67+
>
5868
{email}
59-
</span>
60-
</div>
61-
</div>
69+
</Link>
70+
</Column>
71+
</Row>
6272
</Section>
6373

6474
<Text className="mb-2 text-sm text-neutral-600">

0 commit comments

Comments
 (0)