mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-20 01:09:47 +00:00
add back TOS on login for web only
This commit is contained in:
parent
da40fdce9c
commit
dc82e908fb
1 changed files with 21 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { FormField, Form } from 'component/common/form';
|
||||||
import Button from 'component/button';
|
import Button from 'component/button';
|
||||||
import analytics from 'analytics';
|
import analytics from 'analytics';
|
||||||
import { EMAIL_REGEX } from 'constants/email';
|
import { EMAIL_REGEX } from 'constants/email';
|
||||||
|
import I18nMessage from 'component/i18nMessage';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
errorMessage: ?string,
|
errorMessage: ?string,
|
||||||
|
@ -99,6 +100,26 @@ function UserEmailNew(props: Props) {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
|
{/* @if TARGET='web' */}
|
||||||
|
<p className="help">
|
||||||
|
<React.Fragment>
|
||||||
|
<I18nMessage
|
||||||
|
tokens={{
|
||||||
|
terms: (
|
||||||
|
<Button
|
||||||
|
tabIndex="2"
|
||||||
|
button="link"
|
||||||
|
href="https://www.lbry.com/termsofservice"
|
||||||
|
label={__('Terms of Service')}
|
||||||
|
/>
|
||||||
|
),
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
By continuing, I agree to the %terms% and confirm I am over the age of 13.
|
||||||
|
</I18nMessage>
|
||||||
|
</React.Fragment>
|
||||||
|
</p>
|
||||||
|
{/* @endif */}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue