-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFooter.tsx
More file actions
39 lines (36 loc) · 1.36 KB
/
Footer.tsx
File metadata and controls
39 lines (36 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import React from 'react';
import { Footer as NHSFooter } from 'nhsuk-react-components';
import { routes } from '../../../types/generic/routes';
const serviceUpdatesLink =
'https://digital.nhs.uk/services/access-and-store-digital-patient-documents/service-updates';
function Footer() {
return (
<NHSFooter>
<NHSFooter.List>
<NHSFooter.ListItem
href={routes.PRIVACY_POLICY}
data-testid="privacy-link"
rel="opener"
target="_blank"
aria-label="Privacy notice - Opens in a new tab"
>
Privacy notice
</NHSFooter.ListItem>
<NHSFooter.ListItem
href={serviceUpdatesLink}
data-testid="service-updates-link"
rel="noopener"
target="_blank"
aria-label="Service updates - Opens in a new tab"
>
Service updates
</NHSFooter.ListItem>
</NHSFooter.List>
{/* TODO - PRMP-1348: Remove hardcoded styling below if no longer required */}
<NHSFooter.Copyright style={{ color: '#231f20' }}>
© {'NHS England'}
</NHSFooter.Copyright>
</NHSFooter>
);
}
export default Footer;