Skip to content

Commit

Permalink
VACMS-19960 Update CTA heading level (#33548)
Browse files Browse the repository at this point in the history
* VACMS-19960 Update CTA heading level

* Updating unit tests

* Revert updates to all widgets and target payments, disability and claims instead

* Fix unit tests

* Update Education Letters and CTA widget button color

* Conditionally adding green button
  • Loading branch information
randimays authored Dec 18, 2024
1 parent 5280d74 commit 7f11741
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default function CallToActionAlert({
label={ariaLabel}
aria-describedby={ariaDescribedby}
uswds
{...(status === 'continue' ? { 'primary-alternate': true } : {})}
/>
)}
{secondaryButtonText && (
Expand Down
4 changes: 4 additions & 0 deletions src/applications/static-pages/cta-widget/ctaWidgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const ctaWidgetsLookup = {
deriveToolUrlDetails: () => ({ url: '/track-claims/', redirect: true }),
hasRequiredMhvAccount: () => false,
isHealthTool: false,
headerLevel: 2,
mhvToolName: null,
requiredServices: [
backendServices.EVSS_CLAIMS,
Expand Down Expand Up @@ -123,6 +124,7 @@ export const ctaWidgetsLookup = {
}),
hasRequiredMhvAccount: () => false,
isHealthTool: false,
headerLevel: 2,
mhvToolName: null,
requiredServices: null,
serviceDescription: 'view your VA disability rating',
Expand Down Expand Up @@ -186,6 +188,7 @@ export const ctaWidgetsLookup = {
}),
hasRequiredMhvAccount: () => false,
isHealthTool: false,
headerLevel: 2,
mhvToolName: null,
requiredServices: null,
serviceDescription: 'check the status of your COE',
Expand Down Expand Up @@ -337,6 +340,7 @@ export const ctaWidgetsLookup = {
}),
hasRequiredMhvAccount: () => false,
isHealthTool: false,
headerLevel: 2,
mhvToolName: null,
requiredServices: null,
serviceDescription: 'view your VA payment history',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ const LoginInWidget = ({ toggleLoginModal, user }) => {
status="continue"
visible
>
<p
className="vads-u-font-size--h3 vads-u-font-weight--bold vads-u-font-family--serif"
slot="headline"
>
<h3 slot="headline">
Sign in to download your VA education decision letter
</p>
<div>
</h3>
<p>
Sign in with your existing{' '}
<span className="vads-u-font-weight--bold">ID.me</span> or{' '}
<span className="vads-u-font-weight--bold">Login.gov</span> account. If
Expand All @@ -44,7 +41,7 @@ const LoginInWidget = ({ toggleLoginModal, user }) => {
Login.gov
</a>{' '}
account now.
</div>
</p>
<va-button
onClick={toggleLogin}
primary-alternate
Expand Down

0 comments on commit 7f11741

Please sign in to comment.