import { createElement, useContext, Fragment } from '@wordpress/element' import { __, sprintf } from 'ct-i18n' import SubmitSupport from '../components/SubmitSupport' import DashboardContext from '../context' const Home = () => { const { is_companion_active, companion_download_link, child_download_link } = useContext(DashboardContext) let beforeContent = { content: null } ctEvents.trigger('ct:dashboard:home:before', beforeContent) return (
{!beforeContent.content && (

{__('Welcome Aboard!', 'blocksy')}

{__( `Thank you for choosing Blocksy and for joining the CreativeThemes community.`, 'blocksy' )}

)} {beforeContent.content}

{__('Getting Started', 'blocksy')}

{is_companion_active !== 'yes' && (

{__('Customizer Shortcuts', 'blocksy')}

)}
) } export default Home