mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-30 21:31:17 -07:00
* Add a11y tests in cypress for methodology page - update cypress to version 8.5 - add HTML lang the <head> element - change process list headings to h4 - add alt tag to download image icon - move <GovBanner> into <Header> - add documentation around a11y testing * Add cypress a11y tests for cejst page - add alt icon for mapIntro page - change legend to be a normal div - add a class that mimics the h4 styles - remove superfluous styles * Add cypress a11y tests for contact and 404 page * Update snapshots * Move static text in footer to copy folder * Add cypress a11y test to About page - add required h1 tag - updates snapshot * Add site_url.xml and modify robots.txt file - adds plugins for robots.txt and sitemap - remove env.local and will add env.production - modifiy all yml files (docker and GHA) to specify new env variables - refactor env variables to either DATA_SOURCE, SITE_URL or PATH_PREFIX - set defaults for env variables in gatsby-config - remove timeline component - will add blank index page - update README on info on env variables * Add plugin to allow custom env vars - allows system env vars, ie, DATA_SOURCE on client-side application * Update displayed URLs in GHA to new CDN (d29) - also updates the blank index.html * Correct spacing * Set SITE_URL to new CDN for robots.txt * Remove SITE_URL as this is set by GHA * Update README around docker and env vars
176 lines
4.8 KiB
Text
176 lines
4.8 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`J40Footer renders correctly 1`] = `
|
|
<DocumentFragment>
|
|
<footer
|
|
class="j40-footer"
|
|
>
|
|
<div
|
|
class="usa-footer__primary-section pb2"
|
|
>
|
|
<div
|
|
class="grid-container-desktop-lg"
|
|
data-testid="gridContainer"
|
|
>
|
|
<div
|
|
class="grid-row tablet-lg:grid-col4"
|
|
>
|
|
<div
|
|
class="mobile-lg:grid-col-12 desktop:grid-col-4"
|
|
>
|
|
<section>
|
|
<div
|
|
class="j40-h4"
|
|
>
|
|
Contact
|
|
</div>
|
|
<ul
|
|
class="usa-list usa-list--unstyled"
|
|
>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<address
|
|
class="usa-footer__address j40-footer-address"
|
|
>
|
|
<div
|
|
class="usa-footer__contact-info grid-row grid-gap"
|
|
>
|
|
<div
|
|
class="grid-col-auto"
|
|
>
|
|
Council on Environmental Quality
|
|
</div>
|
|
<div
|
|
class="grid-col-auto"
|
|
>
|
|
730 Jackson Pl NW
|
|
</div>
|
|
<div
|
|
class="grid-col-auto"
|
|
>
|
|
Washington, D.C. 20506
|
|
</div>
|
|
<div
|
|
class="grid-col-auto"
|
|
>
|
|
(202) 395-5750
|
|
</div>
|
|
</div>
|
|
</address>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
<div
|
|
class="mobile-lg:grid-col-12 desktop:grid-col-4"
|
|
>
|
|
<section>
|
|
<div
|
|
class="j40-h4"
|
|
>
|
|
More information
|
|
</div>
|
|
<ul
|
|
class="usa-list usa-list--unstyled"
|
|
>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<a
|
|
class="footer-link-first-child"
|
|
href="https://www.whitehouse.gov/"
|
|
rel="noreferrer"
|
|
target="_blank"
|
|
>
|
|
Whitehouse.gov
|
|
</a>
|
|
</li>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<a
|
|
href="https://www.whitehouse.gov/ceq/foia"
|
|
rel="noreferrer"
|
|
target="_blank"
|
|
>
|
|
Freedom of Information Act (FOIA)
|
|
</a>
|
|
</li>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<a
|
|
href="https://www.whitehouse.gov/privacy/"
|
|
rel="noreferrer"
|
|
target="_blank"
|
|
>
|
|
Privacy Policy
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
<div
|
|
class="mobile-lg:grid-col-12 desktop:grid-col-4"
|
|
>
|
|
<section>
|
|
<div
|
|
class="j40-h4"
|
|
>
|
|
Have a question about government services?
|
|
</div>
|
|
<ul
|
|
class="usa-list usa-list--unstyled"
|
|
>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<a
|
|
class="footer-link-first-child"
|
|
href="https://www.usa.gov/"
|
|
>
|
|
Find a contact at USA.gov
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="usa-footer__secondary-section"
|
|
>
|
|
<div
|
|
class="grid-container-desktop-lg"
|
|
data-testid="gridContainer"
|
|
>
|
|
<div
|
|
class="usa-footer__logo grid-row mobile-lg:grid-col-6 mobile-lg:grid-gap-2 j40-footer-logo"
|
|
data-testid="footerLogo"
|
|
>
|
|
<div
|
|
class="mobile-lg:grid-col-auto"
|
|
>
|
|
<img
|
|
alt="Whitehouse logo"
|
|
class="usa-footer__logo-img"
|
|
src="test-file-stub"
|
|
/>
|
|
</div>
|
|
<div
|
|
class="mobile-lg:grid-col-auto"
|
|
>
|
|
<div
|
|
class="j40-footer-ceq-font"
|
|
>
|
|
Council on Environmental Quality
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</DocumentFragment>
|
|
`;
|