+ { ! showLearnMoreLink && description } + + { showLearnMoreLink && + createInterpolateElement( + sprintf( + /* translators: 1: The description. 2: The learn more link. */ + __( + '%1$s %2$s', + 'google-site-kit' + ), + description, + __( 'Learn more', 'google-site-kit' ) + ), + { + Link: ( + + ), + } + ) } +
+ { getHelpURL && ( + + { __( 'Get help', 'google-site-kit' ) } + + ) } + { DISCONNECTED_REASON_CONNECTED_URL_MISMATCH === + disconnectedReason && + connectedProxyURL !== homeURL && ( +
+ { sprintf(
+ /* translators: %s: Previous Connected Proxy URL */
+ __( '— Old URL: %s', 'google-site-kit' ),
+ connectedProxyURL
+ ) }
+
+ { sprintf(
+ /* translators: %s: Connected Proxy URL */
+ __( '— New URL: %s', 'google-site-kit' ),
+ homeURL
+ ) }
+
- { ! showLearnMoreLink && description } + const classname = setupFlowRefreshEnabled + ? 'googlesitekit-splash' + : 'googlesitekit-setup__splash'; - { showLearnMoreLink && - createInterpolateElement( - sprintf( - /* translators: 1: The description. 2: The learn more link. */ - __( - '%1$s %2$s', - 'google-site-kit' - ), - description, - __( 'Learn more', 'google-site-kit' ) - ), - { - Link: ( - - ), - } - ) } -
- { getHelpURL && ( - - { __( 'Get help', 'google-site-kit' ) } - - ) } - { DISCONNECTED_REASON_CONNECTED_URL_MISMATCH === - disconnectedReason && - connectedProxyURL !== homeURL && ( -
- { sprintf(
- /* translators: %s: Previous Connected Proxy URL */
- __(
- '— Old URL: %s',
- 'google-site-kit'
- ),
- connectedProxyURL
- ) }
-
- { sprintf(
- /* translators: %s: Connected Proxy URL */
- __(
- '— New URL: %s',
- 'google-site-kit'
- ),
- homeURL
- ) }
-
+ { ! showLearnMoreLink && description } + + { showLearnMoreLink && + createInterpolateElement( + sprintf( + /* translators: 1: The description. 2: The learn more link. */ + __( + '%1$s %2$s', + 'google-site-kit' + ), + description, + __( 'Learn more', 'google-site-kit' ) + ), + { + Link: ( + + ), + } + ) } +
+ ) } + + { getHelpURL && ( + + { __( 'Get help', 'google-site-kit' ) } + + ) } + + { DISCONNECTED_REASON_CONNECTED_URL_MISMATCH === + disconnectedReason && + connectedProxyURL !== homeURL && ( +
+ { sprintf(
+ /* translators: %s: Previous Connected Proxy URL */
+ __( '— Old URL: %s', 'google-site-kit' ),
+ connectedProxyURL
+ ) }
+
+ { sprintf(
+ /* translators: %s: Connected Proxy URL */
+ __( '— New URL: %s', 'google-site-kit' ),
+ homeURL
+ ) }
+