File size: 938 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
35
36
37
import { useTranslate } from 'i18n-calypso';
import DocumentHead from 'calypso/components/data/document-head';
import QueryIntroOffers from 'calypso/components/data/query-intro-offers';
import QueryProductsList from 'calypso/components/data/query-products-list';
import Main from 'calypso/components/main';
import { TableWithStoreAccess } from './table';
import { ContentProps } from './types';

export const Content: React.FC< ContentProps > = ( {
	nav,
	header,
	footer,
	locale,
	rootUrl,
	urlQueryArgs,
} ) => {
	const translate = useTranslate();

	return (
		<>
			<DocumentHead
				title={ translate( 'Full Jetpack plan listing and price comparisonJetpack' ) }
				skipTitleFormatting
			/>
			{ nav }

			<QueryProductsList type="jetpack" />
			<QueryIntroOffers />
			<Main>
				{ header }
				<TableWithStoreAccess locale={ locale } rootUrl={ rootUrl } urlQueryArgs={ urlQueryArgs } />
			</Main>
			{ footer }
		</>
	);
};