diff --git a/package.json b/package.json index 5c8f4952..894f9440 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@civicactions/cmsds-open-data-components", - "version": "0.7.0", + "version": "0.7.1", "description": "Components for the open data catalog frontend using CMS Design System", "main": "lib/index.js", "scripts": { diff --git a/src/templates/Footer/index.jsx b/src/templates/Footer/index.jsx index a8b67f13..335083cf 100644 --- a/src/templates/Footer/index.jsx +++ b/src/templates/Footer/index.jsx @@ -1,5 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; +import { useMediaQuery } from 'react-responsive' import { Button } from '@cmsgov/design-system'; import { Link } from "@reach/router"; @@ -14,6 +15,9 @@ const Footer = ({ hhsLogo, cmsLogo }) => { + const xs = useMediaQuery({ minWidth: 0, maxWidth: 544}); + const sm = useMediaQuery({ minWidth: 544, maxWidth: 768}); + const md = useMediaQuery({ minWidth: 768}); const {footerOpenDataToolLinks, footerAdditionalResourcesLinks, footerUtilityLinks} = links; return (