import { createElement, Component, useContext } from '@wordpress/element' import DashboardContext from './context' import { sprintf, __ } from 'ct-i18n' import ctEvents from 'ct-events' const Heading = () => { const { theme_name, theme_custom_description, dashboard_has_heading, } = useContext(DashboardContext) let afterContent = { content: null } ctEvents.trigger('ct:dashboard:heading:after', afterContent) return (
{theme_custom_description || __( `The most innovative, lightning fast and super charged WordPress theme. Build visually your next web project in no time.`, 'blocksy' )}