Skip to content

Commit

Permalink
update according to design comments
Browse files Browse the repository at this point in the history
  • Loading branch information
janechodance committed Feb 13, 2025
1 parent 5830d41 commit 8783588
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 30 deletions.
60 changes: 41 additions & 19 deletions src/applications/letters/containers/LetterList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,16 @@ export class LetterList extends React.Component {
AVAILABILITY_STATUSES.letterEligibilityError
) {
eligibilityMessage = (
<va-alert status="warning" visible>
<h4 slot="headline">Some letters may not be available</h4>
<p>
One of our systems appears to be down. If you believe you’re missing
a letter or document from the list above, please try again later.
</p>
</va-alert>
<div className="vads-u-margin-top--2">
<va-alert status="warning" visible>
<h4 slot="headline">Some letters may not be available</h4>
<p>
One of our systems appears to be down. If you believe you’re
missing a letter or document from the list above, please try again
later.
</p>
</va-alert>
</div>
);
}

Expand Down Expand Up @@ -138,8 +141,7 @@ export class LetterList extends React.Component {
)}
{eligibilityMessage}

<br />
<h3 slot="headline">Other sources of VA benefit documentation</h3>
<h2 slot="headline">Other sources of VA benefit documentation</h2>
<p>
A lot of people come to this page looking for their Post-9/11 GI Bill
statement of benefits, their Certificate of Eligibility (COE) for home
Expand Down Expand Up @@ -187,16 +189,36 @@ export class LetterList extends React.Component {
</a>
</li>
</ul>

<h2 className="vads-u-padding-top--1 vads-u-padding-bottom--1p5 vads-u-border-bottom--3px vads-u-border-color--primary">
Need help?
</h2>
<div className="vads-u-margin-bottom--4">
If you have any questions, please call the VA Benefits Help Desk:
<br />
<va-telephone contact="8008271000" />, Monday &#8211; Friday, 8 a.m.
&#8211; 9 p.m. ET
</div>
<Toggler.Hoc toggleName={Toggler.TOGGLE_NAMES.lettersPageNewDesign}>
{toggleValue =>
toggleValue ? (
<va-need-help>
<div slot="content">
<p>
Call us at <va-telephone contact="8008271000" />. We're here
Monday through Friday, 8:00 a.m to 9:00 p.m ET. If you have
hearing loss, call <va-telephone contact="711" tty="true" />
.
</p>
</div>
</va-need-help>
) : (
<>
{' '}
<h2 className="vads-u-padding-top--1 vads-u-padding-bottom--1p5 vads-u-border-bottom--3px vads-u-border-color--primary">
Need help?
</h2>
<div className="vads-u-margin-bottom--4">
If you have any questions, please call the VA Benefits Help
Desk:
<br />
<va-telephone contact="8008271000" />, Monday &#8211; Friday,
8 a.m. &#8211; 9 p.m. ET
</div>{' '}
</>
)
}
</Toggler.Hoc>
</div>
);
}
Expand Down
16 changes: 8 additions & 8 deletions src/applications/letters/containers/NewAddressSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export function NewAddressSection() {
documentation. You can edit this address.
</p>
<va-card className="vads-u-justify-content--space-between">
<div className="address-section">
<AddressView data={mailingAddress} />
</div>
<va-link
active
href="https://www.va.gov"
text="Edit mailing address"
/>
<AddressView data={mailingAddress} />
<p className="edit-link">
<va-link
active
href="/records/download-va-letters/letters/edit-address"
text="Edit mailing address"
/>
</p>
</va-card>
</VAPServicePendingTransactionCategory>
</InitializeVAPServiceID>
Expand Down
5 changes: 2 additions & 3 deletions src/applications/letters/sass/letters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ label + div {
.bullet-disc {
list-style-type: disc;
}

.address-section {
line-height: 2.5;
.edit-link {
margin: 0.5em 0;
}

0 comments on commit 8783588

Please sign in to comment.