Connect.js
22 lines
| 1 | import {__} from '@wordpress/i18n'; |
| 2 | import './Connect.scss' |
| 3 | |
| 4 | const Connect = () => { |
| 5 | return <div className="hostinger-reach-block-connect"> |
| 6 | <div className="hostinger-reach-block-connect__title"> |
| 7 | {__("You are not connected to Hostinger Reach", "hostinger-reach")} |
| 8 | </div> |
| 9 | <div className="hostinger-reach-block-connect__subtitle"> |
| 10 | {__("You are not connected to Hostinger Reach. To gain full access to this block, you need to connect your Hostinger Reach account.", "hostinger-reach")} |
| 11 | </div> |
| 12 | <div className="hostinger-reach-block-connect__button-wrap"><a |
| 13 | target="_blank" |
| 14 | href="/wp-admin/admin.php?page=hostinger-reach" |
| 15 | className="hostinger-block-button hostinger-block-button--is-normal hostinger-block-button--is-primary"> |
| 16 | {__("Connect Now", "hostinger-reach")} |
| 17 | </a></div> |
| 18 | </div> |
| 19 | } |
| 20 | |
| 21 | export default Connect; |
| 22 |