💄 Refactor email templates and components for improved styling (#2451)

This commit is contained in:
Alejandra
2026-08-21 13:09:48 +02:00
committed by GitHub
parent 2734dfd002
commit 00a6aa978e
11 changed files with 213 additions and 96 deletions
+10 -2
View File
@@ -1,7 +1,15 @@
import { Link as EmailLink } from "@react-email/components"
type LinkProps = React.PropsWithChildren & { href: string }
export const Link = ({ children, href }: LinkProps) => (
<a href={href} className="text-brand-dark underline break-all">
<EmailLink href={href} style={linkStyle}>
{children}
</a>
</EmailLink>
)
const linkStyle = {
color: "#00695c",
textDecoration: "underline",
wordBreak: "break-all" as const,
}