@@ -4,67 +4,71 @@ const footerContent = content.components.footer;
44
55export function NHSNotifyFooter ( ) {
66 return (
7- < footer role = 'contentinfo' data-testid = 'page-footer' className = 'nhsuk-footer' >
7+ < footer
8+ role = 'contentinfo'
9+ data-testid = 'page-footer'
10+ className = 'nhsuk-footer'
11+ >
812 < div className = 'nhsuk-width-container' >
913 < div className = 'nhsuk-footer__meta' >
1014 < h2 className = 'nhsuk-u-visually-hidden' data-testid = 'support-links' >
1115 { footerContent . supportLinks }
1216 </ h2 >
1317 < ul className = 'nhsuk-footer__list' data-testid = 'footer-links' >
1418 < li className = 'nhsuk-footer__list-item' >
15- < a
16- className = 'nhsuk-footer__list-item-link'
17- href = { footerContent . links . acceptableUsePolicy . url }
18- data-testid = 'acceptable-use-policy-statement-link'
19- target = '_blank'
20- rel = 'noopener noreferrer'
21- >
22- { footerContent . links . acceptableUsePolicy . text }
23- </ a >
19+ < a
20+ className = 'nhsuk-footer__list-item-link'
21+ href = { footerContent . links . acceptableUsePolicy . url }
22+ data-testid = 'acceptable-use-policy-statement-link'
23+ target = '_blank'
24+ rel = 'noopener noreferrer'
25+ >
26+ { footerContent . links . acceptableUsePolicy . text }
27+ </ a >
2428 </ li >
2529 < li className = 'nhsuk-footer__list-item' >
26- < a
27- className = 'nhsuk-footer__list-item-link'
28- href = { footerContent . links . accessibilityStatement . url }
29- data-testid = 'accessibility-statement-link'
30- target = '_blank'
31- rel = 'noopener noreferrer'
32- >
33- { footerContent . links . accessibilityStatement . text }
34- </ a >
30+ < a
31+ className = 'nhsuk-footer__list-item-link'
32+ href = { footerContent . links . accessibilityStatement . url }
33+ data-testid = 'accessibility-statement-link'
34+ target = '_blank'
35+ rel = 'noopener noreferrer'
36+ >
37+ { footerContent . links . accessibilityStatement . text }
38+ </ a >
3539 </ li >
3640 < li className = 'nhsuk-footer__list-item' >
37- < a
38- className = 'nhsuk-footer__list-item-link'
39- href = { footerContent . links . cookies . url }
40- data-testid = 'cookies-statement-link'
41- target = '_blank'
42- rel = 'noopener noreferrer'
43- >
44- { footerContent . links . cookies . text }
45- </ a >
41+ < a
42+ className = 'nhsuk-footer__list-item-link'
43+ href = { footerContent . links . cookies . url }
44+ data-testid = 'cookies-statement-link'
45+ target = '_blank'
46+ rel = 'noopener noreferrer'
47+ >
48+ { footerContent . links . cookies . text }
49+ </ a >
4650 </ li >
4751 < li className = 'nhsuk-footer__list-item' >
48- < a
49- className = 'nhsuk-footer__list-item-link'
50- href = { footerContent . links . privacy . url }
51- data-testid = 'privacy-statement-link'
52- target = '_blank'
53- rel = 'noopener noreferrer'
54- >
55- { footerContent . links . privacy . text }
56- </ a >
52+ < a
53+ className = 'nhsuk-footer__list-item-link'
54+ href = { footerContent . links . privacy . url }
55+ data-testid = 'privacy-statement-link'
56+ target = '_blank'
57+ rel = 'noopener noreferrer'
58+ >
59+ { footerContent . links . privacy . text }
60+ </ a >
5761 </ li >
5862 < li className = 'nhsuk-footer__list-item' >
59- < a
60- className = 'nhsuk-footer__list-item-link'
61- href = { footerContent . links . termsAndConditions . url }
62- data-testid = 'terms-and-conditions-statement-link'
63- target = '_blank'
64- rel = 'noopener noreferrer'
65- >
66- { footerContent . links . termsAndConditions . text }
67- </ a >
63+ < a
64+ className = 'nhsuk-footer__list-item-link'
65+ href = { footerContent . links . termsAndConditions . url }
66+ data-testid = 'terms-and-conditions-statement-link'
67+ target = '_blank'
68+ rel = 'noopener noreferrer'
69+ >
70+ { footerContent . links . termsAndConditions . text }
71+ </ a >
6872 </ li >
6973 </ ul >
7074
0 commit comments