From 33d3ac1ff64c7ec0d7396951eb52fa7aff720d2f Mon Sep 17 00:00:00 2001
From: James Ritchie
Date: Sun, 3 Aug 2025 17:56:38 +0100
Subject: [PATCH] Updates the magic link email
---
.../emails/emails/magic-link.tsx | 88 ++++++++++++-------
1 file changed, 58 insertions(+), 30 deletions(-)
diff --git a/internal-packages/emails/emails/magic-link.tsx b/internal-packages/emails/emails/magic-link.tsx
index 21ec1575d..e63b8f31b 100644
--- a/internal-packages/emails/emails/magic-link.tsx
+++ b/internal-packages/emails/emails/magic-link.tsx
@@ -1,39 +1,67 @@
-import { Body, Container, Head, Html, Link, Preview, Text } from "@react-email/components";
+import {
+ Body,
+ Button,
+ Container,
+ Hr,
+ Html,
+ Link,
+ Preview,
+ Section,
+ Tailwind,
+ Text,
+} from "@react-email/components";
import { Footer } from "./components/Footer";
import { Image } from "./components/Image";
-import { anchor, container, h1, main, paragraphLight } from "./components/styles";
+import { hr } from "./components/styles";
export default function Email({ magicLink }: { magicLink: string }) {
return (
-
- Log in with this magic link 🪄
-
-
- Log in to Trigger.dev
-
- Click here to log in with this magic link
-
-
- If you didn't try to log in, you can safely ignore this email.
-
-
-
-
-
+ Log in with this magic link
+
+
+
+
+
+
+ Log in to Trigger.dev
+
+
+
+
+
+ Can't see the button? Copy and paste this link into your browser:{" "}
+
+
+ {magicLink}
+
+
+
+
+
+ This link expires in 30 minutes and can only be used once. If you didn't try to
+ log in, you can safely ignore this email.
+
+
+
+
+
+
);
}