| 1 |
/** |
| 2 |
* WordPress dependencies |
| 3 |
*/ |
| 4 |
import { __ } from '@wordpress/i18n'; |
| 5 |
import { |
| 6 |
Button, |
| 7 |
Dashicon, |
| 8 |
ExternalLink, |
| 9 |
HorizontalRule, |
| 10 |
PanelBody, |
| 11 |
PanelRow, |
| 12 |
} from '@wordpress/components'; |
| 13 |
|
| 14 |
export default () => ( |
| 15 |
<PanelBody |
| 16 |
title={ __( 'Help', 'speechkit' ) } |
| 17 |
initialOpen={ true } |
| 18 |
className={ 'beyondwords beyondwords-sidebar__help' } |
| 19 |
> |
| 20 |
<PanelRow> |
| 21 |
{ __( |
| 22 |
'For setup instructions, troubleshooting, and FAQs,' + |
| 23 |
' see our BeyondWords for WordPress guide.', |
| 24 |
'speechkit' |
| 25 |
) } |
| 26 |
</PanelRow> |
| 27 |
<PanelRow> |
| 28 |
<ExternalLink |
| 29 |
href={ |
| 30 |
'https://docs.beyondwords.io/docs-and-guides/content/' + |
| 31 |
'connect-cms/wordpress/install?utm_source=wordpress' + |
| 32 |
'&utm_medium=referral&utm_campaign=' + |
| 33 |
'&utm_content=plugin' |
| 34 |
} |
| 35 |
> |
| 36 |
{ __( 'Setup guide', 'speechkit' ) } |
| 37 |
</ExternalLink> |
| 38 |
</PanelRow> |
| 39 |
<HorizontalRule /> |
| 40 |
<PanelRow> |
| 41 |
{ __( 'Need help? Email our support team.', 'speechkit' ) } |
| 42 |
</PanelRow> |
| 43 |
<PanelRow> |
| 44 |
<Button isSecondary href="mailto:support@beyondwords.io"> |
| 45 |
<Dashicon icon="email" /> |
| 46 |
{ __( 'Email BeyondWords', 'speechkit' ) } |
| 47 |
</Button> |
| 48 |
</PanelRow> |
| 49 |
</PanelBody> |
| 50 |
); |
| 51 |
|