Skip to content

Commit

Permalink
Signup form ToC agreement text now links to the ToS page
Browse files Browse the repository at this point in the history
  • Loading branch information
SARodrigues committed Jan 22, 2024
1 parent 8c3468d commit 383a0a0
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions frontend/pages/sign-up/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,20 @@ const SignUp: PageComponent<SignUpPageProps, AuthPageLayoutProps> = () => {
/>
<span className="ml-2 font-sans text-sm text-gray-800 font-regular">
<FormattedMessage
defaultMessage="I agree with the Terms & Conditions and Privacy Policy."
id="AnCRrS"
defaultMessage="I agree with the <a>Terms & Conditions and Privacy Policy.</a>"
id="JiU7oK"
values={{
a: (chunks) => (
<Link href={Paths.TermsConditions}>
<a
className="underline focus-visible:outline focus-visible:outline-green-dark focus-visible:outline-2 focus-visible:outline-offset-2"
target="_blank"
>
{chunks}
</a>
</Link>
),
}}
/>
</span>
</label>
Expand Down

0 comments on commit 383a0a0

Please sign in to comment.