import { Gridicon } from '@automattic/components'; import { useDesktopBreakpoint } from '@automattic/viewport-react'; import { Button } from '@wordpress/components'; import { useTranslate } from 'i18n-calypso'; import MigrationBannerImg from 'calypso/assets/images/performance-profiler/migration-banner-img.png'; import { LogoBar } from '../logo-bar'; import './style.scss'; export const MigrationBanner = ( props: { url: string; onClick: () => void } ) => { const translate = useTranslate(); const isDesktop = useDesktopBreakpoint(); return (
{ translate( 'WordPress.com Hosting' ) }
{ translate( 'Scale without Limits, Perform without Compromise' ) }
{ translate( 'Managed WordPress hosting designed for scalable, lightning-fast speed anywhere in the world, whatever you throw at it.' ) }
{ translate( 'Get {{span}}50% off our Business plan{{/span}} for an entire year when you migrate your site.', { components: { span: } } ) }
{ translate( 'Unlimited bandwidth, visitors, and traffic' ) }
{ translate( '14-day money-back guarantee' ) }
{ translate( 'Free migrations' ) }
{ isDesktop && (
{
) }

{ translate( 'Trusted by 160 million worldwide' ) }

); };