More adjustments
This commit is contained in:
parent
3050cacc39
commit
ffdf1e6c02
|
@ -49,7 +49,7 @@ export const WCPayCardBody = ( {
|
||||||
target="_blank"
|
target="_blank"
|
||||||
type="external"
|
type="external"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
href="https://woocommerce.com/payments/?utm_medium=product"
|
href="https://wordpress.com/tos/"
|
||||||
onClick={ onLinkClick }
|
onClick={ onLinkClick }
|
||||||
>
|
>
|
||||||
{ __( 'Terms of Service', 'woocommerce' ) }
|
{ __( 'Terms of Service', 'woocommerce' ) }
|
||||||
|
@ -60,7 +60,7 @@ export const WCPayCardBody = ( {
|
||||||
target="_blank"
|
target="_blank"
|
||||||
type="external"
|
type="external"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
href="https://woocommerce.com/payments/?utm_medium=product"
|
href="https://automattic.com/privacy/"
|
||||||
onClick={ onLinkClick }
|
onClick={ onLinkClick }
|
||||||
>
|
>
|
||||||
{ __( 'Privacy Policy', 'woocommerce' ) }
|
{ __( 'Privacy Policy', 'woocommerce' ) }
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default ( { width = 141, height = 148, ...props } ) => (
|
||||||
<svg
|
<svg
|
||||||
width={ width }
|
width={ width }
|
||||||
height={ height }
|
height={ height }
|
||||||
viewBox={ `0 0 ${ width } ${ height }` }
|
viewBox={ `-10 0 ${ width } ${ height }` }
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
{ ...props }
|
{ ...props }
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default ( { width = 140, height = 148, ...props } ) => (
|
||||||
<svg
|
<svg
|
||||||
width={ width }
|
width={ width }
|
||||||
height={ height }
|
height={ height }
|
||||||
viewBox={ `0 10 ${ width } ${ height }` }
|
viewBox={ `5 10 ${ width } ${ height }` }
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
{ ...props }
|
{ ...props }
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default ( { width = 157, height = 148, ...props } ) => (
|
||||||
<svg
|
<svg
|
||||||
width={ width }
|
width={ width }
|
||||||
height={ height }
|
height={ height }
|
||||||
viewBox={ `0 13 ${ width } ${ height }` }
|
viewBox={ `0 10 ${ width } ${ height }` }
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
{ ...props }
|
{ ...props }
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
import { __ } from '@wordpress/i18n';
|
import { __ } from '@wordpress/i18n';
|
||||||
import interpolateComponents from '@automattic/interpolate-components';
|
|
||||||
import { Link } from '@woocommerce/components';
|
|
||||||
import { recordEvent } from '@woocommerce/tracks';
|
import { recordEvent } from '@woocommerce/tracks';
|
||||||
import {
|
import {
|
||||||
WCPayCard,
|
WCPayCard,
|
||||||
|
@ -20,23 +18,6 @@ import { useDispatch } from '@wordpress/data';
|
||||||
import { Action } from '../Action';
|
import { Action } from '../Action';
|
||||||
import { connectWcpay } from './utils';
|
import { connectWcpay } from './utils';
|
||||||
|
|
||||||
const TosPrompt = () =>
|
|
||||||
interpolateComponents( {
|
|
||||||
mixedString: __(
|
|
||||||
'Upon clicking "Get started", you agree to the {{link}}Terms of service{{/link}}. Next we’ll ask you to share a few details about your business to create your account.',
|
|
||||||
'woocommerce'
|
|
||||||
),
|
|
||||||
components: {
|
|
||||||
link: (
|
|
||||||
<Link
|
|
||||||
href={ 'https://wordpress.com/tos/' }
|
|
||||||
target="_blank"
|
|
||||||
type="external"
|
|
||||||
/>
|
|
||||||
),
|
|
||||||
},
|
|
||||||
} );
|
|
||||||
|
|
||||||
export const Suggestion = ( { paymentGateway, onSetupCallback = null } ) => {
|
export const Suggestion = ( { paymentGateway, onSetupCallback = null } ) => {
|
||||||
const {
|
const {
|
||||||
id,
|
id,
|
||||||
|
|
Loading…
Reference in New Issue