Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | import { GooglePhotosLogo } from '@automattic/jetpack-shared-extension-utils/icons';
import { Fragment, memo } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import { Link, Text } from '@wordpress/ui';
/**
* AuthInstructions component
*
* @return {import('react').ReactElement} - JSX Element
*/
function AuthInstructions() {
return (
<Fragment>
<GooglePhotosLogo />
<Text variant="body-lg" render={ <p /> }>
{ __(
'To get started, connect your site to your Google Photos library.',
'jetpack-external-media'
) }
</Text>
<Text variant="body-lg" render={ <p /> }>
{ __(
'You can remove the connection in either of these places:',
'jetpack-external-media'
) }
</Text>
<ul>
<li>
<Link openInNewTab href="https://myaccount.google.com/security">
{ __( 'Google Security page', 'jetpack-external-media' ) }
</Link>
</li>
</ul>
</Fragment>
);
}
export default memo( AuthInstructions );
|