You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Get your products in front of more than 475M people on Pinterest',
30
+
'pinterest-for-woocommerce'
31
+
)}
32
+
</Text>
34
33
35
-
<Textvariant="body">{welcome.text}</Text>
34
+
<Textvariant="body">
35
+
{__(
36
+
'Pinterest is a visual discovery engine people use to find inspiration for their lives! More than 475 million people have saved more than 300 billion Pins, making it easier to turn inspiration into their next purchase.',
37
+
'pinterest-for-woocommerce'
38
+
)}
39
+
</Text>
36
40
37
-
<Textvariant="body">
38
-
<Button
39
-
isPrimary
40
-
onClick={()=>
41
-
getHistory().push(
42
-
getNewPath(
43
-
{},
44
-
wcSettings.pinterest_for_woocommerce
45
-
.isSetupComplete
46
-
? '/pinterest/catalog'
47
-
: '/pinterest/onboarding'
48
-
)
41
+
<Textvariant="body">
42
+
<Button
43
+
isPrimary
44
+
onClick={()=>
45
+
getHistory().push(
46
+
getNewPath(
47
+
{},
48
+
wcSettings.pinterest_for_woocommerce
49
+
.isSetupComplete
50
+
? '/pinterest/catalog'
51
+
: '/pinterest/onboarding'
49
52
)
50
-
}
51
-
>
52
-
{__(
53
-
'Get started',
54
-
'pinterest-for-woocommerce'
55
-
)}
56
-
</Button>
57
-
</Text>
53
+
)
54
+
}
55
+
>
56
+
{__('Get started','pinterest-for-woocommerce')}
57
+
</Button>
58
+
</Text>
58
59
59
-
<Textvariant="body">
60
-
{__(
61
-
'By clicking ‘Get started’, you agree to our',
60
+
<Textvariant="body">
61
+
{createInterpolateElement(
62
+
__(
63
+
'By clicking ‘Get started’, you agree to our <a>Terms of Service</a>.',
62
64
'pinterest-for-woocommerce'
63
-
)}{' '}
64
-
<a
65
-
href={welcome.tos_link}
66
-
target="_blank"
67
-
rel="noreferrer"
68
-
>
69
-
{__(
70
-
'Terms of Service',
71
-
'pinterest-for-woocommerce'
72
-
)}
73
-
</a>
74
-
.
75
-
</Text>
76
-
</FlexBlock>
77
-
<FlexBlockclassName="image-block">
78
-
<imgsrc={welcome.image_url}alt=""/>
79
-
</FlexBlock>
80
-
</Flex>
81
-
</Card>
65
+
),
66
+
{
67
+
a: (
68
+
// Disabling no-content rule - content is interpolated from above string.
'Connect your store to seamlessly sync your product catalog with Pinterest and create rich pins for each item. Your pins are kept up to date with daily automatic updates.',
109
+
'pinterest-for-woocommerce'
110
+
)}
111
+
/>
112
+
<Feature
113
+
imageUrl={
114
+
wcSettings.pinterest_for_woocommerce.pluginUrl+
115
+
'/assets/images/landing_organic.svg'
116
+
}
117
+
title={__(
118
+
'Increase organic reach',
119
+
'pinterest-for-woocommerce'
120
+
)}
121
+
text={__(
122
+
'Pinterest users can easily discover, save and buy products from your website without any advertising spend from you. Track your performance with the Pinterest tag.',
123
+
'pinterest-for-woocommerce'
124
+
)}
125
+
/>
126
+
<Feature
127
+
imageUrl={
128
+
wcSettings.pinterest_for_woocommerce.pluginUrl+
129
+
'/assets/images/landing_catalog.svg'
130
+
}
131
+
title={__(
132
+
'Create a storefront on Pinterest',
133
+
'pinterest-for-woocommerce'
134
+
)}
135
+
text={__(
136
+
'Syncing your catalog creates a Shop tab on your Pinterest profile which allows Pinterest users to easily discover your products.',
'Why am I getting an “Account not connected” error message?',
113
167
'pinterest-for-woocommerce'
114
168
)}
115
-
>
116
-
{faqItems.map((item,index)=>(
117
-
<PanelBody
118
-
title={item.question}
119
-
initialOpen={false}
120
-
key={index}
121
-
>
122
-
<PanelRow>{item.answer}</PanelRow>
123
-
</PanelBody>
124
-
))}
125
-
</Panel>
126
-
</Card>
169
+
answer={__(
170
+
'Your password might have changed recently. Click Reconnect Pinterest Account and follow the instructions on screen to restore the connection.',
171
+
'pinterest-for-woocommerce'
172
+
)}
173
+
/>
174
+
<FaqQuestion
175
+
question={__(
176
+
'I have more than one Pinterest Advertiser account. Can I connect my WooCommerce store to multiple Pinterest Advertiser accounts?',
177
+
'pinterest-for-woocommerce'
178
+
)}
179
+
answer={__(
180
+
'Only one Pinterest advertiser account can be linked to each WooCommerce store. If you want to connect a different Pinterest advertiser account you will need to either Disconnect the existing Pinterest Advertiser account from your current WooCommerce store and connect a different Pinterest Advertiser account, or Create another WooCommerce store and connect the additional Pinterest Advertiser account.',
@@ -420,53 +416,6 @@ private function get_component_settings() {
420
416
);
421
417
}
422
418
423
-
424
-
/**
425
-
* Adds the content of the landing page.
426
-
*
427
-
* @return array
428
-
*/
429
-
privatefunctionget_landing_page_content() {
430
-
431
-
returnarray(
432
-
'landing_page' => array(
433
-
'welcome' => array(
434
-
'title' => esc_html__( 'Get your products in front of more than 475M people on Pinterest', 'pinterest-for-woocommerce' ),
435
-
'text' => esc_html__( 'Pinterest is a visual discovery engine people use to find inspiration for their lives! More than 475 million people have saved more than 300 billion Pins, making it easier to turn inspiration into their next purchase.', 'pinterest-for-woocommerce' ),
'title' => esc_html__( 'Sync your catalog', 'pinterest-for-woocommerce' ),
442
-
'text' => esc_html__( 'Connect your store to seamlessly sync your product catalog with Pinterest and create rich pins for each item. Your pins are kept up to date with daily automatic updates.', 'pinterest-for-woocommerce' ),
'text' => esc_html__( 'Pinterest users can easily discover, save and buy products from your website without any advertising spend from you. Track your performance with the Pinterest tag.', 'pinterest-for-woocommerce' ),
'title' => esc_html__( 'Create a storefront on Pinterest', 'pinterest-for-woocommerce' ),
452
-
'text' => esc_html__( 'Syncing your catalog creates a Shop tab on your Pinterest profile which allows Pinterest users to easily discover your products.', 'pinterest-for-woocommerce' ),
'question' => esc_html__( 'Why am I getting an “Account not connected” error message?', 'pinterest-for-woocommerce' ),
459
-
'answer' => esc_html__( 'Your password might have changed recently. Click Reconnect Pinterest Account and follow the instructions on screen to restore the connection.', 'pinterest-for-woocommerce' ),
460
-
),
461
-
array(
462
-
'question' => esc_html__( 'I have more than one Pinterest Advertiser account. Can I connect my WooCommerce store to multiple Pinterest Advertiser accounts?', 'pinterest-for-woocommerce' ),
463
-
'answer' => esc_html__( 'Only one Pinterest advertiser account can be linked to each WooCommerce store. If you want to connect a different Pinterest advertiser account you will need to either Disconnect the existing Pinterest Advertiser account from your current WooCommerce store and connect a different Pinterest Advertiser account, or Create another WooCommerce store and connect the additional Pinterest Advertiser account.', 'pinterest-for-woocommerce' ),
0 commit comments