File size: 694 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
import clsx from 'clsx';
import { useTranslate } from 'i18n-calypso';
import FormattedHeader from 'calypso/components/formatted-header';
import JetpackComMasterbar from 'calypso/jetpack-cloud/sections/pricing/jpcom-masterbar';
import { preventWidows } from 'calypso/lib/formatting';
import './style.scss';

export default function Header() {
	const translate = useTranslate();
	const title = translate( 'Security, performance, and growth tools for WordPress' );

	return (
		<>
			<JetpackComMasterbar />
			<div className={ clsx( 'header' ) }>
				<FormattedHeader
					className="header__main-title"
					headerText={ preventWidows( title ) }
					align="center"
				/>
			</div>
		</>
	);
}