diff --git a/client/a8c-for-agencies/components/a4a-migration-offer-v3/index.tsx b/client/a8c-for-agencies/components/a4a-migration-offer-v3/index.tsx index 65ded6624f74cb..e09c54f74ac545 100644 --- a/client/a8c-for-agencies/components/a4a-migration-offer-v3/index.tsx +++ b/client/a8c-for-agencies/components/a4a-migration-offer-v3/index.tsx @@ -47,7 +47,7 @@ const MigrationOfferV3 = ( { isExpanded, onToggleView }: Props ) => {

{ translate( - '{{b}}Limited time offer:{{/b}} Migrate your sites to Pressable or WordPress.com and earn up to $10,000!', + '{{b}}Limited time offer:{{/b}} Migrate your sites to Pressable or WordPress.com and earn up to $10,000!*', { components: { b: , @@ -66,7 +66,7 @@ const MigrationOfferV3 = ( { isExpanded, onToggleView }: Props ) => { , @@ -74,7 +74,15 @@ const MigrationOfferV3 = ( { isExpanded, onToggleView }: Props ) => { } ), translate( - '{{b}}For any other host:{{/b}} You will receive $100 per site migrated up to a maximum of $3,000.', + "{{b}}WP Engine customers:{{/b}} You will receive $100 per successful site migration up to $10,000. If you have an existing contract, we'll host your site(s) for free until your existing WP Engine contract ends.", + { + components: { + b: , + }, + } + ), + translate( + '{{b}}For any other host:{{/b}} You will receive $100 per successful site migration, up to $3,000.', { components: { b: , @@ -104,9 +112,9 @@ const MigrationOfferV3 = ( { isExpanded, onToggleView }: Props ) => { - { translate( '* offer valid until %(endDate)s', { + { translate( '*Offer valid until %(endDate)s', { args: { - endDate: new Date( '2025-01-31T00:00:00' ).toLocaleDateString( + endDate: new Date( '2025-07-31T00:00:00' ).toLocaleDateString( translate.localeSlug, { year: 'numeric', diff --git a/client/a8c-for-agencies/components/a4a-migration-offer-v3/style.scss b/client/a8c-for-agencies/components/a4a-migration-offer-v3/style.scss index 029232500b5abb..8c91f716e7610a 100644 --- a/client/a8c-for-agencies/components/a4a-migration-offer-v3/style.scss +++ b/client/a8c-for-agencies/components/a4a-migration-offer-v3/style.scss @@ -55,7 +55,7 @@ flex-direction: column; .simple-list { - max-width: 800px; + max-width: 850px; margin-block-start: 24px; margin-inline-start: 16px; } diff --git a/client/a8c-for-agencies/sections/migrations/primary/migrations-overview-v2/sections/migrations-banner/index.tsx b/client/a8c-for-agencies/sections/migrations/primary/migrations-overview-v2/sections/migrations-banner/index.tsx index e4244700f70384..ea8e7ae1e2b4f5 100644 --- a/client/a8c-for-agencies/sections/migrations/primary/migrations-overview-v2/sections/migrations-banner/index.tsx +++ b/client/a8c-for-agencies/sections/migrations/primary/migrations-overview-v2/sections/migrations-banner/index.tsx @@ -1,22 +1,14 @@ -import { Button, Card } from '@wordpress/components'; import { useTranslate } from 'i18n-calypso'; -import { CONTACT_URL_FOR_MIGRATION_OFFER_HASH_FRAGMENT } from 'calypso/a8c-for-agencies/components/a4a-contact-support-widget'; +import { useState } from 'react'; +import MigrationOfferV3 from 'calypso/a8c-for-agencies/components/a4a-migration-offer-v3'; import PageSection from 'calypso/a8c-for-agencies/components/page-section'; import { BackgroundType5 } from 'calypso/a8c-for-agencies/components/page-section/backgrounds'; -import SimpleList from 'calypso/a8c-for-agencies/components/simple-list'; -import MigrationIcon from 'calypso/assets/images/a8c-for-agencies/migration-icon.svg'; -import { useDispatch } from 'calypso/state'; -import { recordTracksEvent } from 'calypso/state/analytics/actions'; import './style.scss'; export default function MigrationsBanner() { const translate = useTranslate(); - const dispatch = useDispatch(); - - const onMigrateSiteClick = () => { - dispatch( recordTracksEvent( 'calypso_a8c_migration_banner_migrate_site_click' ) ); - }; + const [ isMigrationOfferExpanded, setIsMigrationOfferExpanded ] = useState( true ); return ( - -
-

- - { translate( - 'Limited time offer: Migrate your sites to Pressable or WordPress.com and earn up to $10,000!' - ) } -

- -
- , - }, - } - ), - translate( - '{{b}}For any other host:{{/b}} will receive $100 per site migrated up to a maximum of $3,000.', - { - components: { - b: , - }, - } - ), - ] } - /> - - -
-
-
+ setIsMigrationOfferExpanded( ( prev ) => ! prev ) } + />
); }