import { PLAN_PERSONAL, PLAN_PREMIUM, PLAN_BUSINESS, PLAN_ECOMMERCE, getPlan, } from '@automattic/calypso-products'; import { ExternalLink } from '@automattic/components'; import { localizeUrl, useHasEnTranslation } from '@automattic/i18n-utils'; import styled from '@emotion/styled'; import { useTranslate } from 'i18n-calypso'; import { useCallback } from 'react'; import { useDispatch } from 'react-redux'; import ExternalLinkWithTracking from 'calypso/components/external-link-with-tracking'; import FoldableFAQComponent from 'calypso/components/foldable-faq'; import { recordTracksEvent } from 'calypso/state/analytics/actions'; const FAQHeader = styled.h1` font-size: 2rem; text-align: center; margin: 48px 0; `; const FoldableFAQ = styled( FoldableFAQComponent )` .foldable-faq__question-text { font-size: 1.125rem; } `; const PlanFAQ = ( { titanMonthlyRenewalCost = 0 } ) => { const dispatch = useDispatch(); const translate = useTranslate(); const hasEnTranslation = useHasEnTranslation(); const onFaqToggle = useCallback( ( faqArgs ) => { const { id, isExpanded } = faqArgs; const tracksArgs = { faq_id: id, }; if ( isExpanded ) { // FAQ opened dispatch( recordTracksEvent( 'calypso_plans_faq_open', tracksArgs ) ); } else { // FAQ closed dispatch( recordTracksEvent( 'calypso_plans_faq_closed', tracksArgs ) ); } }, [ dispatch ] ); return (
{ translate( 'Frequently Asked Questions' ) } { translate( 'Yes! All our plans include fast and reliable hosting that’s optimized for creating and scaling a WordPress site.' ) } <> { translate( 'It is possible to import your blog content from a variety of other blogging platforms, including Blogger, ' + 'GoDaddy, Wix, Squarespace, and more. You can also easily import your content from a self-hosted WordPress site.' ) } { hasEnTranslation( 'Want a Happiness Engineer to do a free migration of your WordPress site to WordPress.com? ' + '{{ExternalLink}}Request a Happiness Engineer{{/ExternalLink}} to handle your migration for free!' ) ? translate( '{{br /}}{{br /}}Want a Happiness Engineer to do a free migration of your WordPress site to WordPress.com? ' + '{{ExternalLink}}Request a Happiness Engineer{{/ExternalLink}} to handle your migration for free!', { components: { br:
, ExternalLink: ( ), }, } ) : null }
{ translate( 'Absolutely, and you will never be hit with any surprise usage fees. With WordPress.com, ' + 'you’ll be hosted on our infinitely scalable and globally distributed server infrastructure, ' + 'which means your site will always be available and load fast, no matter how popular your site becomes.' ) } { translate( 'Yes! You can connect your domain for free to any WordPress.com paid plan (we won’t charge ' + 'you a separate domain registration fee). You may either keep the domain at your current ' + 'registrar or transfer it to us, whichever you prefer.' ) } { translate( 'Yes, you can host as many sites as you like, but they each need a separate plan. You can ' + 'choose the appropriate plan for each site individually so you’ll pay for only the features ' + 'you need.{{br /}}{{br /}}We have a dashboard that helps you manage all your WordPress.com and Jetpack-connected ' + 'websites, all from one simple and centralized admin tool.', { components: { br:
}, } ) }
{ translate( "If you aren't satisfied with our product, you can cancel anytime within the refund period " + 'for a prompt and courteous refund, no questions asked. The refund timeframes are:{{br /}}' + '{{ul}}' + '{{li}}14 days for annual WordPress.com plans{{/li}}' + '{{li}}7 days for monthly WordPress.com plans{{/li}}' + '{{li}}96 hours for new domain registrations{{/li}}' + '{{/ul}}', { components: { br:
, ul:
); }; export default PlanFAQ;