mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 23:10:00 +02:00
improve site and resource info cards and other small visual tweaks
This commit is contained in:
parent
8f3e653c1b
commit
fd4ab3b7a0
31 changed files with 469 additions and 332 deletions
|
@ -36,6 +36,16 @@ export const TwoFactorAuthNotification = ({ email, enabled }: Props) => {
|
|||
>
|
||||
<Body className="font-sans">
|
||||
<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>
|
||||
|
||||
<Heading className="text-2xl font-semibold text-gray-800 text-center">
|
||||
Two-Factor Authentication{" "}
|
||||
{enabled ? "Enabled" : "Disabled"}
|
||||
|
@ -48,22 +58,19 @@ export const TwoFactorAuthNotification = ({ email, enabled }: Props) => {
|
|||
has been successfully{" "}
|
||||
{enabled ? "enabled" : "disabled"} on your account.
|
||||
</Text>
|
||||
<Section className="text-center my-6">
|
||||
{enabled ? (
|
||||
<Text className="text-base text-gray-700">
|
||||
With Two-Factor Authentication enabled, your
|
||||
account is now more secure. Please ensure
|
||||
you keep your authentication method safe.
|
||||
</Text>
|
||||
) : (
|
||||
<Text className="text-base text-gray-700">
|
||||
With Two-Factor Authentication disabled,
|
||||
your account may be less secure. We
|
||||
recommend enabling it to protect your
|
||||
account.
|
||||
</Text>
|
||||
)}
|
||||
</Section>
|
||||
{enabled ? (
|
||||
<Text className="text-base text-gray-700">
|
||||
With Two-Factor Authentication enabled, your
|
||||
account is now more secure. Please ensure you
|
||||
keep your authentication method safe.
|
||||
</Text>
|
||||
) : (
|
||||
<Text className="text-base text-gray-700">
|
||||
With Two-Factor Authentication disabled, your
|
||||
account may be less secure. We recommend
|
||||
enabling it to protect your account.
|
||||
</Text>
|
||||
)}
|
||||
<Text className="text-base text-gray-700 mt-2">
|
||||
If you did not make this change, please contact our
|
||||
support team immediately.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue