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 } let afterContent = { content: null } ctEvents.trigger('ct:dashboard:home:before', beforeContent) ctEvents.trigger('ct:dashboard:home:after', afterContent) return (
{beforeContent.content}

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

{is_companion_active !== 'yes' && (

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

)}
{afterContent.content}
) } export default Home