diff --git a/client/package-lock.json b/client/package-lock.json index 6b4cb5f6..43a242d3 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -2640,8 +2640,9 @@ "dev": true }, "@trussworks/react-uswds": { - "version": "git+https://git@github.com/nathillardusds/react-uswds.git#42b1907d172373cbcd5730d75c335b0c98cbeccf", - "from": "@trussworks/react-uswds@git+https://git@github.com/nathillardusds/react-uswds#nathillardusds/ssr" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@trussworks/react-uswds/-/react-uswds-2.0.0.tgz", + "integrity": "sha512-kWLAvAbl/wvFYyM4Y9Uo8AZTOpap/aTu7ckCzz/Lq9Na8jlx5prP3zAyviK9LGHsuCEQ7bUX57/FJMtJukEuKA==" }, "@trysound/sax": { "version": "0.1.1", diff --git a/client/package.json b/client/package.json index 0978686c..c2260399 100644 --- a/client/package.json +++ b/client/package.json @@ -71,7 +71,7 @@ "ts-jest": "^27.0.0" }, "dependencies": { - "@trussworks/react-uswds": "git+https://git@github.com/nathillardusds/react-uswds#nathillardusds/ssr", + "@trussworks/react-uswds": "^2.0.0", "@turf/bbox": "^6.5.0", "chroma-js": "^2.1.2", "d3-ease": "^3.0.1", diff --git a/client/src/components/J40Footer.tsx b/client/src/components/J40Footer.tsx index 427ef78e..da8adc87 100644 --- a/client/src/components/J40Footer.tsx +++ b/client/src/components/J40Footer.tsx @@ -1,17 +1,15 @@ import React from 'react'; import { Address, - Footer, - FooterNav, Logo, - GridContainer, Grid, } from '@trussworks/react-uswds'; -import {} from '@trussworks/react-uswds'; +import {NavList} from '@trussworks/react-uswds'; import {useIntl} from 'gatsby-plugin-intl'; import {defineMessages} from 'react-intl'; // @ts-ignore import whitehouseIcon from '../images/eop-seal.svg'; +import J40MainGridContainer from './J40MainGridContainer'; const J40Footer = () => { const intl = useIntl(); @@ -58,64 +56,73 @@ const J40Footer = () => { }, }); + const NAVLINKS = [ + ['Contact', +
, + ], + [ + intl.formatMessage(messages.moreinfoheader), + Whitehouse.gov, + + {intl.formatMessage(messages.foia)} + , + + {intl.formatMessage(messages.privacy)} + , + ], + [ + intl.formatMessage(messages.questionsheader), + + {intl.formatMessage(messages.contactlink)} + , + ], + ]; + // see https://designsystem.digital.gov/components/footer/ return ( - <> -
+ + + + +
+
- - + Freedom of Information Act (FOIA) + + + + + + +
+ +
@@ -152,7 +142,8 @@ exports[`J40Footer renders correctly 1`] = ` class="usa-footer__secondary-section" >