Skip to content

Commit

Permalink
Merge pull request #579 from NASA-IMPACT/feature/acc-statement
Browse files Browse the repository at this point in the history
add accessibility statement
  • Loading branch information
wrynearson authored Mar 19, 2024
2 parents 529ea1c + 2076940 commit 08c6a0b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/assets/scripts/components/common/page-footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const PageFooterSelf = styled.footer`

const Colophon = styled.p`
display: grid;
grid-template-columns: minmax(min-content, max-content) 1fr;
grid-template-columns: minmax(min-content, max-content) 1fr 1fr;
grid-gap: ${glsp(1)};
font-size: 0.875rem;
line-height: 1rem;
Expand All @@ -49,6 +49,10 @@ const CreditsLink = styled.a`
}
`;

const AccessibilityLink = styled.a`
font-weight: ${themeVal('type.base.regular')};
`;

const VersionInfo = styled.span`
margin-left: auto;
opacity: 0.64;
Expand All @@ -70,6 +74,12 @@ function PageFooter() {
</span>
<time dateTime={nowDate.getFullYear()}>{nowDate.getFullYear()}</time>
</CreditsLink>
<AccessibilityLink
href='https://www.nasa.gov/accessibility/'
title='Accessibility Statement'
>
<span>Accessibility Statement</span>
</AccessibilityLink>
<Tip
tag={VersionInfo}
delay={1000}
Expand Down

0 comments on commit 08c6a0b

Please sign in to comment.