import { isLocaleRtl } from '@automattic/i18n-utils'; import clsx from 'clsx'; import Head from 'calypso/components/head'; import { jsonStringifyForHtml } from 'calypso/server/sanitize'; import { chunkCssLinks } from './utils'; function DomainsLanding( { branchName, clientData, domainsLandingData, inlineScriptNonce, env, entrypoint, head, i18nLocaleScript, lang, manifests, } ) { const isRTL = isLocaleRtl( lang ); return ( { head.metas.map( ( props, index ) => ( ) ) } { head.links.map( ( props, index ) => ( ) ) } { chunkCssLinks( entrypoint, isRTL ) } { /* eslint-disable wpcalypso/jsx-classname-namespace, react/no-danger */ }
{ domainsLandingData && (