mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 21:03:39 -05:00
33 lines
795 B
React
33 lines
795 B
React
|
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>
|
||
|
)
|
||
|
}
|