/* eslint-disable @woocommerce/dependency-group */ /* eslint-disable @typescript-eslint/ban-ts-comment */ /** * External dependencies */ import classNames from 'classnames'; import { __ } from '@wordpress/i18n'; import { getSetting } from '@woocommerce/settings'; import { recordEvent } from '@woocommerce/tracks'; import { Button, // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore No types for this exist yet. __unstableMotion as motion, } from '@wordpress/components'; // @ts-ignore No types for this exist yet. import { useIsSiteEditorLoading } from '@wordpress/edit-site/build-module/components/layout/hooks'; /** * Internal dependencies */ import { SiteHub } from '../assembler-hub/site-hub'; import { ADMIN_URL } from '~/utils/admin-settings'; import './style.scss'; import { navigateOrParent } from '../utils'; export type events = { type: 'GO_BACK_TO_HOME' }; export const Transitional = ( { editor, sendEvent, }: { editor: React.ReactNode; sendEvent: ( event: events ) => void; } ) => { const homeUrl: string = getSetting( 'homeUrl', '' ); const isEditorLoading = useIsSiteEditorLoading(); return (

{ __( 'Your store looks great!', 'woocommerce' ) }

{ __( "Your store is a reflection of your unique style and personality, and we're thrilled to see it come to life.", 'woocommerce' ) }

{ editor }

{ __( 'Fine-tune your design', 'woocommerce' ) }

{ __( 'Head to the Editor to change your images and text, add more pages, and make any further customizations.', 'woocommerce' ) }

{ __( 'Continue setting up your store', 'woocommerce' ) }

{ __( 'Go back to the Home screen to complete your store setup and start selling', 'woocommerce' ) }

); };