| 1 |
import {__} from '@wordpress/i18n'; |
| 2 |
|
| 3 |
/** |
| 4 |
* @since 3.0.0 |
| 5 |
*/ |
| 6 |
const SecureBadge = () => { |
| 7 |
return ( |
| 8 |
<aside className="givewp-form-secure-badge"> |
| 9 |
<i className="fa-solid fa-lock givewp-secondary-color"></i> |
| 10 |
<span>{__('100% Secure Donation', 'give')}</span> |
| 11 |
</aside> |
| 12 |
); |
| 13 |
}; |
| 14 |
|
| 15 |
/** |
| 16 |
* @since 3.0.0 |
| 17 |
*/ |
| 18 |
export default function Header({Title, Description, Goal}) { |
| 19 |
return ( |
| 20 |
<> |
| 21 |
<Title /> |
| 22 |
<Description /> |
| 23 |
<SecureBadge /> |
| 24 |
<Goal /> |
| 25 |
</> |
| 26 |
); |
| 27 |
} |
| 28 |
|
| 29 |
|
| 30 |
|