@madie/madie-design-system 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Footer/FooterUI.jsx +27 -10
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
- package/test/components/FooterUI.test.js +30 -0
|
@@ -18,6 +18,27 @@ const FooterUI = (props) => {
|
|
|
18
18
|
: "mailto:QPPUserResearch@cms.hhs.gov?subject=Sign up for feedback sessions&body=Please let us know your role and how many Tax Identification Numbers (TINs) you represent. Don’t send us your actual TINs, that is confidential information that should not be shared with this email address. If you do not represent a practice, let us know what work you do in connection to QPP.";
|
|
19
19
|
const [listServ, setListServ] = useState(false);
|
|
20
20
|
|
|
21
|
+
// Default footer assets
|
|
22
|
+
const assets = {
|
|
23
|
+
...{
|
|
24
|
+
hhsLogo: (
|
|
25
|
+
<img
|
|
26
|
+
className="hhs-logo"
|
|
27
|
+
alt="Department of Health & Human Services USA"
|
|
28
|
+
src="/images/hhs-logo-black.svg"
|
|
29
|
+
/>
|
|
30
|
+
),
|
|
31
|
+
qppLogo: (
|
|
32
|
+
<img
|
|
33
|
+
className="qpp-logo"
|
|
34
|
+
src="/images/qpp_logo_rgb_color.png"
|
|
35
|
+
alt="qpp logo"
|
|
36
|
+
/>
|
|
37
|
+
),
|
|
38
|
+
},
|
|
39
|
+
...props.assets,
|
|
40
|
+
};
|
|
41
|
+
|
|
21
42
|
const setLink = (link) => {
|
|
22
43
|
return isIESupportPage ? "/" : link;
|
|
23
44
|
};
|
|
@@ -236,18 +257,10 @@ const FooterUI = (props) => {
|
|
|
236
257
|
</div>
|
|
237
258
|
<div className="qpp-hhs-logo-container">
|
|
238
259
|
<div className="qpp-logo-container">
|
|
239
|
-
|
|
240
|
-
className="qpp-logo"
|
|
241
|
-
src="/images/qpp_logo_rgb_color.png"
|
|
242
|
-
alt="qpp logo"
|
|
243
|
-
/>
|
|
260
|
+
{assets.qppLogo}
|
|
244
261
|
</div>
|
|
245
262
|
<div className="hhs-logo-container">
|
|
246
|
-
|
|
247
|
-
className="hhs-logo"
|
|
248
|
-
alt="Department of Health & Human Services USA"
|
|
249
|
-
src="/images/hhs-logo-black.svg"
|
|
250
|
-
/>
|
|
263
|
+
{assets.hhsLogo}
|
|
251
264
|
<p>
|
|
252
265
|
A federal government website managed and
|
|
253
266
|
paid for by the U.S Centers for Medicare
|
|
@@ -276,6 +289,10 @@ FooterUI.propTypes = {
|
|
|
276
289
|
isNewFooter: PropTypes.bool,
|
|
277
290
|
isIESupportPage: PropTypes.bool,
|
|
278
291
|
showHcdResearch: PropTypes.bool,
|
|
292
|
+
assets: PropTypes.shape({
|
|
293
|
+
hhsLogo: PropTypes.element,
|
|
294
|
+
qppLogo: PropTypes.element,
|
|
295
|
+
}),
|
|
279
296
|
};
|
|
280
297
|
|
|
281
298
|
export default FooterUI;
|