overleaf/services/web/frontend/js/shared/components/recaptcha-conditions.js
June Kelly b770feadc8 Merge pull request #4743 from overleaf/hb-recaptcha-branding
add recaptcha branding on login, registration, pw reset and share modal

GitOrigin-RevId: dcdf3e7987a25712601aed2426cce2467eaecea3
2021-08-20 08:03:05 +00:00

32 lines
795 B
JavaScript

import { Trans } from 'react-i18next'
export default function RecaptchaConditions() {
// the component link children below will be overwritten by the translation string
return (
<div className="recaptcha-branding">
<Trans
i18nKey="recaptcha_conditions"
components={{
1: (
<a
rel="noopener noreferrer"
target="_blank"
href="https://policies.google.com/privacy"
>
Privacy Policy
</a>
),
2: (
<a
rel="noopener noreferrer"
target="_blank"
href="https://policies.google.com/terms"
>
Terms of Service
</a>
),
}}
/>
</div>
)
}