import { // Address, // Logo, NavList, } from '@trussworks/react-uswds'; import {useIntl} from 'gatsby-plugin-intl'; import React from 'react'; import {hyphenizeString} from '../../../cypress/integration/common/helpers'; import J40MainGridContainer from '../J40MainGridContainer'; import LinkTypeWrapper from '../LinkTypeWrapper'; // import SurveyButton from '../SurveyButton'; // @ts-ignore import {GITHUB_LINK, GITHUB_LINK_ES} from '../../constants'; /* import {PAGES_ENDPOINTS} from '../../data/constants'; */import * as ABOUT_COPY from '../../data/copy/about'; import * as COMMON_COPY from '../../data/copy/common'; // import whitehouseIcon from '../../images/eop-seal.svg'; const J40Footer = () => { const intl = useIntl(); const NAVLINKS = [ /* [ intl.formatMessage(COMMON_COPY.FOOTER.CONTACT),
, ], [ intl.formatMessage(COMMON_COPY.FOOTER.MORE_INFO), , , , ], */ [ intl.formatMessage(COMMON_COPY.FOOTER.CONTRIBUTE), , ], ]; // see https://designsystem.digital.gov/components/footer/ return ( // we cannot use trussworks Footer because it doesn't layout correct // and there's no easy way to override. It comes down to the // `className="mobile-lg:grid-col-6 desktop:grid-col-3">` needs to be // `className="mobile-lg:grid-col-12 desktop:grid-col-4">` ugh.
{NAVLINKS.map((links, i) => (
))}
{/*
} heading={
{intl.formatMessage(COMMON_COPY.FOOTER.TITLE)}
} />
*/} {/* */}
); }; const NavSection = ({ links, }: { links: React.ReactNode[] }): React.ReactElement => { const [primaryLinkOrHeading, ...secondaryLinks] = links; return (
{primaryLinkOrHeading}
); }; export default J40Footer;