import * as React from 'react'; import {useIntl} from 'gatsby-plugin-intl'; import {Grid} from '@trussworks/react-uswds'; import {useWindowSize} from 'react-use'; import J40MainGridContainer from '../components/J40MainGridContainer'; import Layout from '../components/layout'; import DatasetsButton from '../components/DatasetsButton'; import ReleaseUpdate from '../components/ReleaseUpdate'; import SubPageNav from '../components/SubPageNav'; import * as DOWNLOADS_COPY from '../data/copy/downloads'; import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants'; interface IDownloadsPageProps { location: Location; } const DownloadsPage = ({location}: IDownloadsPageProps) => { const intl = useIntl(); const {width} = useWindowSize(); return (

{intl.formatMessage(DOWNLOADS_COPY.PAGE_INTRO.PAGE_HEADING1)}

{DOWNLOADS_COPY.DOWNLOAD_LINKS.TITLE}

{DOWNLOADS_COPY.DOWNLOAD_LINKS.TEXT}

{DOWNLOADS_COPY.DOWNLOAD_LINKS.LINK1}

{DOWNLOADS_COPY.DOWNLOAD_LINKS.LINK2}

{DOWNLOADS_COPY.DOWNLOAD_LINKS.LINK3}

{DOWNLOADS_COPY.DOWNLOAD_LINKS.LINK4}

{DOWNLOADS_COPY.DOWNLOAD_LINKS.LINK6}

{DOWNLOADS_COPY.DOWNLOAD_LINKS.LINK5}

{/* Second column */} {/* Spacer column */} {/* Third column - Only show the SubPagNav component on desktop width */} {width > USWDS_BREAKPOINTS.DESKTOP ? : ''}
); }; export default DownloadsPage;