File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
client/my-sites/domains/domain-management/subpage-wrapper/headers Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
- import { ExternalLink } from '@automattic/components' ;
2
- import { localizeUrl } from '@automattic/i18n-utils' ;
3
1
import { SiteExcerptData } from '@automattic/sites' ;
4
2
import { translate } from 'i18n-calypso' ;
5
3
import React , { useMemo } from 'react' ;
4
+ import InlineSupportLink from 'calypso/components/inline-support-link' ;
6
5
import NavigationHeader from 'calypso/components/navigation-header' ;
7
6
import { domainManagementAllOverview , domainManagementDns } from 'calypso/my-sites/domains/paths' ;
8
7
import SiteIcon from 'calypso/sites/components/sites-dataviews/site-icon' ;
@@ -17,9 +16,7 @@ export const addDnsRecordsSubtitle = translate(
17
16
'DNS records change how your domain works. {{a}}Learn more{{/a}}.' ,
18
17
{
19
18
components : {
20
- a : (
21
- < ExternalLink href = { localizeUrl ( 'https://wordpress.com/support/domains/custom-dns/' ) } />
22
- ) ,
19
+ a : < InlineSupportLink supportContext = "manage-your-dns-records" showIcon = { false } /> ,
23
20
} ,
24
21
}
25
22
) ;
Original file line number Diff line number Diff line change 1
- import { ExternalLink } from '@automattic/components' ;
2
- import { localizeUrl } from '@automattic/i18n-utils' ;
3
1
import { SiteExcerptData } from '@automattic/sites' ;
4
2
import { translate } from 'i18n-calypso' ;
5
3
import { useMemo } from 'react' ;
4
+ import InlineSupportLink from 'calypso/components/inline-support-link' ;
6
5
import NavigationHeader from 'calypso/components/navigation-header' ;
7
6
import { domainManagementAllOverview } from 'calypso/my-sites/domains/paths' ;
8
7
import SiteIcon from 'calypso/sites/components/sites-dataviews/site-icon' ;
@@ -16,9 +15,7 @@ const dnsRecordsSubtitle = translate(
16
15
'DNS records change how your domain works. {{a}}Learn more{{/a}}.' ,
17
16
{
18
17
components : {
19
- a : (
20
- < ExternalLink href = { localizeUrl ( 'https://wordpress.com/support/domains/custom-dns/' ) } />
21
- ) ,
18
+ a : < InlineSupportLink supportContext = "manage-your-dns-records" showIcon = { false } /> ,
22
19
} ,
23
20
}
24
21
) ;
You can’t perform that action at this time.
0 commit comments