Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain forwarding: Update DNS A name warning copy and CSS #81041

Merged
merged 3 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update copy and CSS
  • Loading branch information
DustyReagan committed Aug 24, 2023
commit d8a4672c5caf83c201a6e83626b4f867a3820d54
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import useDeleteDomainForwardingMutation from 'calypso/data/domains/forwarding/u
import useDomainForwardingQuery from 'calypso/data/domains/forwarding/use-domain-forwarding-query';
import useUpdateDomainForwardingMutation from 'calypso/data/domains/forwarding/use-update-domain-forwarding-mutation';
import { withoutHttp } from 'calypso/lib/url';
import { MAP_EXISTING_DOMAIN } from 'calypso/lib/url/support';
import { useSelector } from 'calypso/state';
import { errorNotice, successNotice } from 'calypso/state/notices/actions';
import isDomainOnlySite from 'calypso/state/selectors/is-domain-only-site';
Expand Down Expand Up @@ -204,10 +203,16 @@ export default function DomainForwardingCard( { domain }: { domain: ResponseDoma
}

const noticeText = translate(
'Connect your domain to WordPress.com to enable domain forwarding. {{a}}Learn more{{/a}}.',
'To enable domain forwarding please "restore default A records." {{a}}Learn more{{/a}}.',
{
components: {
a: <a href={ localizeUrl( MAP_EXISTING_DOMAIN ) } />,
a: (
<a
href={ localizeUrl(
'https://wordpress.com/support/domains/custom-dns/#default-records'
) }
/>
),
},
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
}

.domain-forwarding-card-notice {
margin-bottom: 16px;
margin: 0 24px 16px 24px;
DustyReagan marked this conversation as resolved.
Show resolved Hide resolved
}

.site-redirect-card__explanation,
Expand Down