refactor code to improve readability and maintainability + redesigned announcement bar

This commit is contained in:
daniel31x13
2024-05-24 17:12:47 -04:00
parent a498f3a10d
commit d262041f33
21 changed files with 191 additions and 175 deletions
@@ -30,12 +30,11 @@ export default function EmailChangeVerificationModal({
"Updating this field will change your billing email on Stripe as well."}
</p>
{process.env.NEXT_PUBLIC_GOOGLE_ENABLED === "true" && (
<p>
If you change your email address, any existing Google SSO
connections will be removed.
</p>
)}
<p>
If you change your email address, any existing{" "}
{process.env.NEXT_PUBLIC_GOOGLE_ENABLED === "true" && "Google"} SSO
connections will be removed.
</p>
<div>
<p>Old Email</p>