File size: 926 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
29
30
31
32
33
34
import { localizeUrl } from '@automattic/i18n-utils';
import { useTranslate } from 'i18n-calypso';

export default function IneligibleSite() {
	const translate = useTranslate();

	return (
		<>
			<div className="promote-post-i2__inner-container">
				<div className="promote-post-i2__setup-icon"></div>
				<h3 className="setup-pages__title wp-brand-font">
					{ translate( 'Your site is not eligible to Advertise with Blaze' ) }
				</h3>
				<p className="setup-pages__body">
					{ translate(
						"Unfortunately, your site doesn't qualify for advertising using Blaze. If you have any questions or need assistance, please contact our {{a}}support team{{/a}}.",
						{
							components: {
								a: (
									<a
										href={ localizeUrl( 'https://wordpress.com/help/contact' ) }
										target="_blank"
										rel="noreferrer"
									/>
								),
							},
						}
					) }
				</p>
			</div>
		</>
	);
}