Skip to content

Commit

Permalink
Update appointment links that open in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
JunTaoLuo committed Dec 26, 2024
1 parent d56bb41 commit 19aa851
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const uiSchema = {
services?
<br />
<NewTabAnchor href="/profile/contact-information">
Go to your VA profile
Go to your VA.gov profile (opens in new tab)
</NewTabAnchor>
.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function Description() {
services?
<br />
<NewTabAnchor href="/profile/contact-information">
Go to your VA profile
Go to your VA.gov profile (opens in new tab)
</NewTabAnchor>
.
</p>
Expand Down Expand Up @@ -245,7 +245,7 @@ export default function ContactInfoPage() {
benefits and services in your VA.gov profile.
<br />
<NewTabAnchor href="/profile/contact-information">
Go to your VA profile
Go to your VA.gov profile (opens in new tab)
</NewTabAnchor>
</div>
</va-additional-info>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function NoAddressNote() {
your home address to your VA profile.
<br />
<NewTabAnchor href="/profile/contact-information">
Go to your VA.gov profile
Go to your VA.gov profile (opens in new tab)
</NewTabAnchor>
</p>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import InfoAlert from '../../../components/InfoAlert';
export default function UpdateAddressAlert({ onClickUpdateAddress }) {
const headline =
'To use some of the tool’s features, you need a home address on file';
const style = {
width: 'fit-content',
webkitWidth: 'fit-content',
};

return (
<InfoAlert
Expand All @@ -19,14 +15,14 @@ export default function UpdateAddressAlert({ onClickUpdateAddress }) {
>
<p>
To update your address, go to your VA.gov profile. Please allow some
time for your address update to process through our system. <br />
time for your address update to process through our system.
<br />
<NewTabAnchor
style={style}
href="/change-address/#how-do-i-change-my-address-in-"
className="usa-button usa-button-primary vads-u-margin-top--4"
href="http://va.gov/profile/contact-information"
onClick={() => onClickUpdateAddress(headline)}
renderAriaLabel={false}
>
Update your address
Go to your VA.gov profile (opens in new tab)
</NewTabAnchor>
</p>
</InfoAlert>
Expand Down

0 comments on commit 19aa851

Please sign in to comment.