From c3e6a1f8ddf0e69829d649b950bd5316d218c2ea Mon Sep 17 00:00:00 2001 From: Dylan Munson <65001528+CodeyGuyDylan@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:44:35 -0700 Subject: [PATCH] Add/growth icon to upsell (#40347) * Add growth icon to recommendation upsell * changelog --- .../jetpack/_inc/client/recommendations/feature-utils.js | 1 + projects/plugins/jetpack/changelog/add-growth-icon-to-upsell | 4 ++++ .../plugins/jetpack/images/recommendations/growth-icon.svg | 1 + 3 files changed, 6 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/add-growth-icon-to-upsell create mode 100644 projects/plugins/jetpack/images/recommendations/growth-icon.svg diff --git a/projects/plugins/jetpack/_inc/client/recommendations/feature-utils.js b/projects/plugins/jetpack/_inc/client/recommendations/feature-utils.js index 352dfe48a0d49..1bd4cfc73d0fc 100644 --- a/projects/plugins/jetpack/_inc/client/recommendations/feature-utils.js +++ b/projects/plugins/jetpack/_inc/client/recommendations/feature-utils.js @@ -816,6 +816,7 @@ export const getProductCardData = ( state, productSlug ) => { } ), productCardCtaText: __( 'Get Jetpack Growth', 'jetpack' ), productCardList: products.growth ? products.growth.features : [], + productCardIcon: '/recommendations/growth-icon.svg', }; case PLAN_JETPACK_ANTI_SPAM: return { diff --git a/projects/plugins/jetpack/changelog/add-growth-icon-to-upsell b/projects/plugins/jetpack/changelog/add-growth-icon-to-upsell new file mode 100644 index 0000000000000..fccbdfa35c27a --- /dev/null +++ b/projects/plugins/jetpack/changelog/add-growth-icon-to-upsell @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Add growth icon to recommendation upsell diff --git a/projects/plugins/jetpack/images/recommendations/growth-icon.svg b/projects/plugins/jetpack/images/recommendations/growth-icon.svg new file mode 100644 index 0000000000000..e6e365b69ddb4 --- /dev/null +++ b/projects/plugins/jetpack/images/recommendations/growth-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file