/** * External dependencies */ import { getRedirectUrl, JetpackIcon } from '@automattic/jetpack-components'; import { isWpcomPlatformSite } from '@automattic/jetpack-script-data'; import { ExternalLink } from '@wordpress/components'; import { createInterpolateElement, useMemo } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; /** * Internal dependencies */ import AkismetIcon from '../../icons/akismet'; import CreativeMailIcon from '../../icons/creative-mail'; import GoogleSheetsIcon from '../../icons/google-sheets'; import SalesforceIcon from '../../icons/salesforce'; import CreateFormButton from '../components/create-form-button'; import Details from '../components/details'; import { config } from '../index'; import PatternCard from './pattern-card'; import CheckSVG from './svg/check-svg'; import CloseSVG from './svg/close-svg'; import ExportSVG from './svg/export-svg'; import NotificationsSVG from './svg/notifications-svg'; import WordpressSVG from './svg/wordpress-svg'; /** * Style dependencies */ import './style.scss'; /** * Types */ import type { Pattern } from '../types'; const About = () => { const ASSETS_URL = useMemo( () => config( 'pluginAssetsURL' ), [] ); const patterns: Pattern[] = useMemo( () => [ { image: `${ ASSETS_URL }/images/contact-form.png`, title: __( 'Contact form', 'jetpack-forms' ), recommended: true, code: 'contact-form', description: __( 'Simple form for general inquiries or support requests.', 'jetpack-forms' ), }, { image: `${ ASSETS_URL }/images/rsvp-form.png`, title: __( 'RSVP form', 'jetpack-forms' ), recommended: true, code: 'rsvp-form', description: __( 'Collect attendance confirmations for your event, conference or online event.', 'jetpack-forms' ), }, { image: `${ ASSETS_URL }/images/registration-form.png`, title: __( 'Registration form', 'jetpack-forms' ), code: 'registration-form', description: __( 'Capture user sign-ups with customizable fields and open field input.', 'jetpack-forms' ), }, { image: `${ ASSETS_URL }/images/feedback-form.png`, title: __( 'Feedback form', 'jetpack-forms' ), code: 'feedback-form', description: __( 'Get user insights and ratings to improve your service.', 'jetpack-forms' ), }, { image: `${ ASSETS_URL }/images/appointment-form.png`, title: __( 'Appointment form', 'jetpack-forms' ), code: 'appointment-form', description: __( 'Let users schedule calls, consultations or meetings with ease.', 'jetpack-forms' ), }, { image: `${ ASSETS_URL }/images/lead-capture-form.png`, title: __( 'Lead capture form', 'jetpack-forms' ), code: 'newsletter-form', description: __( 'Use this form to collect contact information from potential leads.', 'jetpack-forms' ), }, ], [ ASSETS_URL ] ); const isWpcomSite = isWpcomPlatformSite(); return (

{ __( 'The simplest way to create forms', 'jetpack-forms' ) }

{ __( 'Start with one of many patterns, customize to your needs', 'jetpack-forms' ) }

{ patterns.map( pattern => ( ) ) }

{ __( 'You’re in full control of the data.', 'jetpack-forms' ) }

{ __( 'Empower your workflow.', 'jetpack-forms' ) }

{ __( 'Connect with apps you already work with', 'jetpack-forms' ) }

{ __( 'Manage your data in wp-admin', 'jetpack-forms' ) }

{ __( 'No spam with Akismet', 'jetpack-forms' ) }

{ __( 'Export your data anytime', 'jetpack-forms' ) }

{ __( 'Real-time notifications via email', 'jetpack-forms' ) }

{ __( 'Zero', 'jetpack-forms' ) }

{ __( 'No additional plugins required', 'jetpack-forms' ) }

{ __( 'Auto field validation', 'jetpack-forms' ) }

{ __( 'You are in good company', 'jetpack-forms' ) }

{ __( 'Trusted by more than 5 million WordPress sites', 'jetpack-forms' ) }

{ __( 'Frequently Asked Questions', 'jetpack-forms' ) }

{ __( 'To get started, simply open the WordPress editor and search for the "Form" block in the block library. You can then add the form block and its corresponding child blocks, such as the text input field or multiple choice block, to your website. You can easily manage incoming form responses within the WP-Admin area.', 'jetpack-forms' ) }
{ ! isWpcomSite && (
{ __( 'Jetpack Forms is currently free and comes by default with your Jetpack plugin.', 'jetpack-forms' ) }
) }
{ createInterpolateElement( __( 'Jetpack and its parent company Automattic take data privacy and the GDPR very seriously. We respect the GDPR’s principles of minimizing the amount of data we collect, being transparent about what data we collect and how we use it, complying with EU law in regards to any data that is transferred to non-EU countries, and not keeping data longer than we need it for the purpose it was collected. You can read more about the data we collect, how data is used and shared, and how long data is retained in our Privacy Policy.', 'jetpack-forms' ), { a: , } ) }
{ __( 'No.', 'jetpack-forms' ) }
{ createInterpolateElement( __( 'If you have more specific questions about Jetpack and Forms feel free to reach out to us and we’ll be happy to help.', 'jetpack-forms' ), { a: isWpcomSite ? ( ) : ( ), } ) }
); }; export default About;