Skip to content

Commit a20dff0

Browse files
authored
Merge pull request #6378 from Automattic/update/xml-sitemaps-layout
Update xml sitemaps layout
2 parents 7b59440 + 473304e commit a20dff0

File tree

1 file changed

+7
-27
lines changed

1 file changed

+7
-27
lines changed

_inc/client/traffic/verification-services.jsx

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import get from 'lodash/get';
1212
*/
1313
import {
1414
FormFieldset,
15-
FormLegend,
1615
FormLabel
1716
} from 'components/forms';
1817
import { ModuleSettingsForm as moduleSettingsForm } from 'components/module-settings/module-settings-form';
@@ -112,33 +111,14 @@ export const VerificationServices = moduleSettingsForm(
112111
</FormFieldset>
113112
</SettingsGroup>
114113
<SettingsGroup support={ sitemaps.learn_more_button }>
114+
<span className="jp-form-label-wide">{ __( 'XML Sitemaps' ) }</span>
115115
<FormFieldset>
116-
<FormLegend>{ __( 'XML Sitemaps' ) }</FormLegend>
117-
<div>
118-
<p>{ __( 'Search engines will find the sitemaps at these locations:' ) }</p>
119-
<ul>
120-
{
121-
[
122-
{
123-
id: 'sitemap',
124-
label: __( 'Sitemaps' ),
125-
url: sitemap_url
126-
},
127-
{
128-
id: 'news_sitemap',
129-
label: __( 'News Sitemaps' ),
130-
url: news_sitemap_url
131-
}
132-
].map( item => (
133-
<li key={ `xml_${ item.id }` }>
134-
<strong>{ item.label }</strong>
135-
<br />
136-
<ExternalLink icon={ true } target="_blank" href={ item.url }>{ item.url }</ExternalLink>
137-
</li>
138-
) )
139-
}
140-
</ul>
141-
</div>
116+
<p>
117+
<ExternalLink icon={ true } target="_blank" href={ sitemap_url }>{ sitemap_url }</ExternalLink>
118+
<br />
119+
<ExternalLink icon={ true } target="_blank" href={ news_sitemap_url }>{ news_sitemap_url }</ExternalLink>
120+
</p>
121+
<p className="jp-form-setting-explanation">{ __( 'Your sitemap is automatically sent to all major search engines for indexing.' ) }</p>
142122
</FormFieldset>
143123
</SettingsGroup>
144124
</SettingsCard>

0 commit comments

Comments
 (0)