mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-30 22:49:27 +02:00
improve email formatting and invite flow for new users
This commit is contained in:
parent
d244d6003b
commit
d447de9e8a
15 changed files with 107 additions and 89 deletions
|
@ -10,6 +10,7 @@ import {
|
|||
Tailwind
|
||||
} from "@react-email/components";
|
||||
import * as React from "react";
|
||||
import LetterHead from "./components/LetterHead";
|
||||
|
||||
interface Props {
|
||||
email: string;
|
||||
|
@ -35,15 +36,7 @@ export const ConfirmPasswordReset = ({ email }: Props) => {
|
|||
>
|
||||
<Body className="font-sans relative">
|
||||
<Container className="bg-white border border-solid border-gray-200 p-6 max-w-lg mx-auto my-8 rounded-lg">
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="text-sm font-bold text-orange-500">
|
||||
Pangolin
|
||||
</div>
|
||||
|
||||
<div className="text-sm text-gray-500">
|
||||
{new Date().toLocaleDateString()}
|
||||
</div>
|
||||
</div>
|
||||
<LetterHead />
|
||||
|
||||
<Heading className="text-2xl font-semibold text-gray-800 text-center">
|
||||
Password Reset Confirmation
|
||||
|
@ -56,10 +49,6 @@ export const ConfirmPasswordReset = ({ email }: Props) => {
|
|||
reset. If you made this change, no further action is
|
||||
required.
|
||||
</Text>
|
||||
<Text className="text-base text-gray-700">
|
||||
If you did not request this change, please contact
|
||||
our support team immediately.
|
||||
</Text>
|
||||
<Text className="text-base text-gray-700 mt-2">
|
||||
Thank you for keeping your account secure.
|
||||
</Text>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue