give
/
src
/
Promotions
/
WelcomeBanner
/
resources
/
js
/
app
/
components
/
Sections
/
LeftContentSection.tsx
give
/
src
/
Promotions
/
WelcomeBanner
/
resources
/
js
/
app
/
components
/
Sections
Last commit date
LeftContentSection.tsx
1 year ago
RightContentSection.tsx
2 years ago
styles.scss
2 years ago
LeftContentSection.tsx
52 lines
| 1 | import Row from '../Row'; |
| 2 | import {__} from '@wordpress/i18n'; |
| 3 | import {ExternalLink, InternalLink} from '../Link'; |
| 4 | import './styles.scss'; |
| 5 | |
| 6 | type LeftContentSectionProps = { |
| 7 | assets: string; |
| 8 | }; |
| 9 | |
| 10 | /** |
| 11 | * @since 3.6.0 Updated copy |
| 12 | * @since 3.0.0 |
| 13 | */ |
| 14 | export default function LeftContentSection({assets}: LeftContentSectionProps) { |
| 15 | return ( |
| 16 | <section className={'givewp-welcome-banner-left-content'}> |
| 17 | <Row> |
| 18 | <header className={'givewp-welcome-banner-row__header'}> |
| 19 | <h1>{__('What’s new in the Visual Form Builder', 'give')}</h1> |
| 20 | <p> |
| 21 | {__( |
| 22 | 'GiveWP introduces an enhanced forms experience powered by the new Visual Donations Form Builder.', |
| 23 | 'give' |
| 24 | )} |
| 25 | </p> |
| 26 | </header> |
| 27 | </Row> |
| 28 | |
| 29 | <Row> |
| 30 | <h2>{__('Create a donation form', 'give')}</h2> |
| 31 | <p>{__('This is powered by the new Visual Donation Form Builder', 'give')}</p> |
| 32 | <InternalLink href={'/wp-admin/edit.php?post_type=give_forms&page=give-campaigns&new=campaign'}> |
| 33 | {__('Try the new form builder', 'give')} |
| 34 | </InternalLink> |
| 35 | </Row> |
| 36 | |
| 37 | <Row> |
| 38 | <h2>{__('New Updates', 'give')}</h2> |
| 39 | <p> |
| 40 | {__( |
| 41 | 'The team is still working on some new features, add-on and payment gateway compatibility to make your form experience better.', |
| 42 | 'give' |
| 43 | )} |
| 44 | </p> |
| 45 | <ExternalLink href={'https://docs.givewp.com/welcome-docs'}> |
| 46 | {__('Read documentation', 'give')} |
| 47 | </ExternalLink> |
| 48 | </Row> |
| 49 | </section> |
| 50 | ); |
| 51 | } |
| 52 |