????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/./tempvsty/pontiacques.org/wp-content/plugins/give/blocks/components/no-form/ |
Upload File : |
/**
* WordPress dependencies
*/
import {__} from '@wordpress/i18n';
import {Button} from '@wordpress/components';
/**
* Internal dependencies
*/
import {getSiteUrl} from '../../utils';
import GiveBlankSlate from '../blank-slate';
/**
* Render No forms Found UI
*
* @since 4.0.0 Replace "new form" with "new campaign form" link
*/
const NoForms = () => {
return (
<GiveBlankSlate
title={__('No campaign forms found.', 'give')}
description={__('The first step towards accepting online donations is to create a campaign.', 'give')}
helpLink
>
<Button
isPrimary
isLarge
className="give-blank-slate__cta"
href={`${getSiteUrl()}/wp-admin/edit.php?post_type=give_forms&page=give-campaigns&new=campaign`}
>
{__('Create Campaign Form', 'give')}
</Button>
</GiveBlankSlate>
);
};
export default NoForms;