File size: 756 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import clsx from 'clsx';
import { useTranslate } from 'i18n-calypso';
import FormattedHeader from 'calypso/components/formatted-header';
import { preventWidows } from 'calypso/lib/formatting';
import './style.scss';
export default function Header() {
const translate = useTranslate();
const title = translate( 'Bulk discounts and flexible billing to suit your needs' );
return (
<>
<div className={ clsx( 'header' ) }>
<FormattedHeader
className="header__main-title"
headerText={ preventWidows( title ) }
align="center"
/>
<div className="header__sub-title">
{ translate(
'Get the best rates in Jetpack Manage enabling you to package your services however you wish'
) }
</div>
</div>
</>
);
}
|