diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-block-editor-nux/src/welcome-tour/use-tour-steps.tsx b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-block-editor-nux/src/welcome-tour/use-tour-steps.tsx index f9100391e94da..73e82b3a9594e 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-block-editor-nux/src/welcome-tour/use-tour-steps.tsx +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-block-editor-nux/src/welcome-tour/use-tour-steps.tsx @@ -1,4 +1,5 @@ import { localizeUrl } from '@automattic/i18n-utils'; +import { isComingSoon } from '@automattic/jetpack-shared-extension-utils'; import { ExternalLink } from '@wordpress/components'; import { useViewportMatch } from '@wordpress/compose'; import { createInterpolateElement } from '@wordpress/element'; @@ -83,6 +84,8 @@ function useTourSteps( ): WpcomStep[] { // eslint-disable-next-line no-console console.debug( '*** useTourSteps' ); + // eslint-disable-next-line no-console + console.debug( '*** isComingSoon', isComingSoon() ); const isVideoMaker = 'videomaker' === ( themeName ?? '' ); const isPatternAssembler = !! getQueryArg( window.location.href, 'assembler' ); const isMobile = useViewportMatch( 'mobile', '<' ); @@ -331,32 +334,50 @@ function useTourSteps( meta: { heading: __( 'Congratulations!', 'jetpack-mu-wpcom' ), descriptions: { - desktop: createInterpolateElement( - __( - "You've learned the basics. Remember, your site is private until you decide to launch. View the block editing docs to learn more.", - 'jetpack-mu-wpcom' - ), - { - link_to_launch_site_docs: ( - - ), - link_to_editor_docs: ( - - ), - } - ), + desktop: isComingSoon() + ? createInterpolateElement( + __( + "You've learned the basics. Remember, your site is private until you decide to launch. View the block editing docs to learn more.", + 'jetpack-mu-wpcom' + ), + { + link_to_launch_site_docs: ( + + ), + link_to_editor_docs: ( + + ), + } + ) + : createInterpolateElement( + __( + "You've learned the basics. View the block editing docs to learn more.", + 'jetpack-mu-wpcom' + ), + { + link_to_editor_docs: ( + + ), + } + ), mobile: null, }, imgSrc: getTourAssets( 'finish' ),