From bfe65d61d1c603e4c4724f03cdea1f75326d1a56 Mon Sep 17 00:00:00 2001 From: Luigi Teschio Date: Thu, 27 Jun 2024 11:50:45 +0200 Subject: [PATCH] CYS: Update sidebar homepage copy (#48882) * CYS: Update sidebar homepage copy * Add changefile(s) from automation for the following project(s): woocommerce * fix lint error --------- Co-authored-by: github-actions --- ...sidebar-navigation-screen-homepage-ptk.tsx | 19 +++++-------------- ...s-update-design-your-homepage-sidebar-copy | 4 ++++ 2 files changed, 9 insertions(+), 14 deletions(-) create mode 100644 plugins/woocommerce/changelog/48882-48784-cys-update-design-your-homepage-sidebar-copy diff --git a/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-homepage-ptk.tsx b/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-homepage-ptk.tsx index b37c0bed564..77dbc9310ae 100644 --- a/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-homepage-ptk.tsx +++ b/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-homepage-ptk.tsx @@ -35,7 +35,6 @@ import { ADMIN_URL } from '~/utils/admin-settings'; import { SidebarNavigationScreen } from './sidebar-navigation-screen'; import { trackEvent } from '~/customize-store/tracking'; -import { FlowType } from '~/customize-store/types'; import { CustomizeStoreContext } from '..'; import { Link } from '@woocommerce/components'; import { PATTERN_CATEGORIES } from './pattern-screen/categories'; @@ -141,20 +140,12 @@ export const SidebarNavigationScreenHomepagePTK = ( { ); }; - const aiOnline = context.flowType === FlowType.AIOnline; + const title = __( 'Design your homepage', 'woocommerce' ); - const title = aiOnline - ? __( 'Change your homepage', 'woocommerce' ) - : __( 'Choose your homepage', 'woocommerce' ); - const sidebarMessage = aiOnline - ? __( - 'Based on the most successful stores in your industry and location, our AI tool has recommended this template for your business. Prefer a different layout? Choose from the templates below now, or later via the Editor.', - 'woocommerce' - ) - : __( - 'Create an engaging homepage by selecting one of our pre-designed layouts. You can continue customizing this page, including the content, later via the Editor.', - 'woocommerce' - ); + const sidebarMessage = __( + 'Create an engaging homepage by adding and combining different patterns and layouts. You can continue customizing this page, including the content, later via the Editor.', + 'woocommerce' + ); return (