Skip to content

Commit dd1eb2c

Browse files
committed
change some things
1 parent 518943f commit dd1eb2c

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

apps/demo/emails/magic-links/notion-magic-link.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,28 @@ export const NotionMagicLinkEmail = ({
2929
<Body className="bg-white">
3030
<Preview>Log in with this magic link</Preview>
3131
<Container className="px-3 mx-auto">
32-
<Heading className="font-sans text-2xl font-bold text-[#333] my-10 p-0">
32+
<Heading className="text-[#333] font-sans text-2xl my-10 mx-0 p-0">
3333
Login
3434
</Heading>
3535
<Link
3636
href="https://notion.so"
3737
target="_blank"
38-
className="text-[#2754C5] font-sans text-sm underline block mb-4"
38+
className="text-[#2754C5] font-sans text-sm underline mb-4 block"
3939
>
4040
Click here to log in with this magic link
4141
</Link>
4242
<Text className="text-[#333] font-sans text-sm my-6 mb-3.5">
4343
Or, copy and paste this temporary login code:
4444
</Text>
45-
<code className="inline-block py-4 px-[4.5%] w-[90.5%] bg-[#f4f4f4] rounded-md border border-[#eee] text-[#333]">
45+
<code className="inline-block py-4 px-[4.5%] w-9/10">
4646
{loginCode}
4747
</code>
48-
49-
<Text className="text-[#ababab] mt-3.5 mb-4 font-sans text-sm">
48+
<Text className="text-[#ababab] font-sans text-sm mt-3.5 mb-4">
5049
If you didn&apos;t try to login, you can safely ignore this email.
5150
</Text>
52-
<Text className="text-[#ababab] mt-3 mb-[38px] font-sans text-sm">
51+
<Text
52+
className="text-[#ababab] font-sans text-sm mt-3.5 mb-9.5"
53+
>
5354
Hint: You can set a permanent password in Settings & members My
5455
account.
5556
</Text>
@@ -59,11 +60,11 @@ export const NotionMagicLinkEmail = ({
5960
height="32"
6061
alt="Notion's Logo"
6162
/>
62-
<Text className="text-[#898989] mt-3 mb-[22px] font-sans text-sm">
63+
<Text className="text-[#898989] font-sans text-xs mt-3 mb-6">
6364
<Link
64-
className="text-[#898989] underline font-sans text-sm"
6565
href="https://notion.so"
6666
target="_blank"
67+
className="text-[#898989] font-sans text-sm underline"
6768
>
6869
Notion.so
6970
</Link>
@@ -82,3 +83,4 @@ NotionMagicLinkEmail.PreviewProps = {
8283
} as NotionMagicLinkEmailProps;
8384

8485
export default NotionMagicLinkEmail;
86+
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
import type { TailwindConfig } from '@react-email/components';
22

3-
export default {} satisfies TailwindConfig;
3+
export default {
4+
} satisfies TailwindConfig;

apps/demo/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
},
1111
"dependencies": {
1212
"@react-email/components": "npm:@react-email/[email protected]",
13+
"email-dev": "workspace:*",
1314
"react": "^19",
14-
"react-dom": "^19",
15-
"email-dev": "workspace:*"
15+
"react-dom": "^19"
1616
},
1717
"devDependencies": {
1818
"@react-email/preview-server": "workspace:*",
19-
"next": "^15.3.2",
2019
"@types/react": "^19",
21-
"@types/react-dom": "^19"
20+
"@types/react-dom": "^19",
21+
"next": "^15.3.2"
2222
}
2323
}

0 commit comments

Comments
 (0)