CategoryCard.jsx
1 month ago
FAQs.jsx
1 month ago
PaidSupport.jsx
1 month ago
SearchBox.jsx
1 month ago
SupportForum.jsx
4 weeks ago
TicketModal.jsx
4 weeks ago
Videos.jsx
1 month ago
SupportForum.jsx
61 lines
| 1 | /** |
| 2 | * External Dependencies |
| 3 | */ |
| 4 | import { __ } from '@wordpress/i18n'; |
| 5 | |
| 6 | /** |
| 7 | * Internal Dependencies |
| 8 | */ |
| 9 | import { Card } from '@admin/components/Card'; |
| 10 | import { adminUrl } from '@utilities'; |
| 11 | |
| 12 | export function SupportForum() { |
| 13 | const p1 = __( |
| 14 | 'Upgrade to <strong>A2 Pro</strong> to get:', |
| 15 | 'advanced-ads' |
| 16 | ); |
| 17 | |
| 18 | return ( |
| 19 | <Card className="advads-card bg-gray-100 flex flex-col"> |
| 20 | <div> |
| 21 | <h3 className="mt-0 mb-2"> |
| 22 | { __( 'Need more help?', 'advanced-ads' ) } |
| 23 | </h3> |
| 24 | <p> |
| 25 | { __( |
| 26 | 'On the free plan, support is available via guides and community forums.', |
| 27 | 'advanced-ads' |
| 28 | ) } |
| 29 | </p> |
| 30 | <p dangerouslySetInnerHTML={ { __html: p1 } } /> |
| 31 | <ul className="list-disc list-inside"> |
| 32 | <li> |
| 33 | { __( |
| 34 | 'Priority support from our team', |
| 35 | 'advanced-ads' |
| 36 | ) } |
| 37 | </li> |
| 38 | <li> |
| 39 | { __( |
| 40 | 'Help directly inside the plugin', |
| 41 | 'advanced-ads' |
| 42 | ) } |
| 43 | </li> |
| 44 | <li>{ __( 'Faster issue resolution', 'advanced-ads' ) }</li> |
| 45 | </ul> |
| 46 | </div> |
| 47 | |
| 48 | <div className="mt-auto"> |
| 49 | <a |
| 50 | href={ adminUrl( |
| 51 | 'admin.php?page=advanced-ads-app&path=/license' |
| 52 | ) } |
| 53 | className="button advads-button-secondary is-block mt-6" |
| 54 | > |
| 55 | { __( 'Upgrade to Premium', 'advanced-ads' ) } |
| 56 | </a> |
| 57 | </div> |
| 58 | </Card> |
| 59 | ); |
| 60 | } |
| 61 |