Hold /privacy behind a flag until counsel reads it, and fix leftover legal and email copy.
This commit is contained in:
1 parent
ead6c8f716
commit
072e5362f5
43 files changed
+548
-191
No files matched your search
@@ -111,6 +111,8 @@ export type LoginFormProps = {
|
||||
variant?: LoginFormVariant;
|
||||
/** Overrides URL `next` for `requestMagicLink` (e.g. create-flow exit modal). */
|
||||
magicLinkNextPath?: string;
|
||||
/** When false, the login legal line links terms only. */
|
||||
privacyEnabled?: boolean;
|
||||
/** `keepRule`: Continue without saving. */
|
||||
onDismiss?: () => void;
|
||||
/** Sent-state Close, and the dialog chrome close. */
|
||||
@@ -120,6 +122,7 @@ export type LoginFormProps = {
|
||||
export default function LoginForm({
|
||||
variant = "default",
|
||||
magicLinkNextPath,
|
||||
privacyEnabled = false,
|
||||
onDismiss,
|
||||
onClose,
|
||||
}: LoginFormProps) {
|
||||
@@ -365,13 +368,17 @@ export default function LoginForm({
|
||||
>
|
||||
{tFooter("legal.termsOfService")}
|
||||
</Link>
|
||||
{t("legalAnd")}
|
||||
<Link
|
||||
href={tFooter("legal.privacyPolicyHref")}
|
||||
className="text-[var(--color-content-default-tertiary)] underline decoration-solid underline-offset-2"
|
||||
>
|
||||
{tFooter("legal.privacyPolicy")}
|
||||
</Link>
|
||||
{privacyEnabled ? (
|
||||
<>
|
||||
{t("legalAnd")}
|
||||
<Link
|
||||
href={tFooter("legal.privacyPolicyHref")}
|
||||
className="text-[var(--color-content-default-tertiary)] underline decoration-solid underline-offset-2"
|
||||
>
|
||||
{tFooter("legal.privacyPolicy")}
|
||||
</Link>
|
||||
</>
|
||||
) : null}
|
||||
{t("legalSuffix")}
|
||||
</p>
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user