import { createElement, Component, useContext } from '@wordpress/element' import DashboardContext from './context' import { sprintf, __ } from 'ct-i18n' const Heading = () => { const { theme_name } = useContext(DashboardContext) let afterContent = { content: null } ctEvents.trigger('ct:dashboard:heading:after', afterContent) return (

{theme_name} {afterContent.content}

{__( `The most innovative, lightning fast and super charged WordPress theme. Build visually your next web project in no time.`, 'blocksy' )}

) } export default Heading