-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathHeader.js
82 lines (74 loc) · 6.31 KB
/
Header.js
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// @flow
import React from "react";
import type { ComponentType } from "react";
const Header: ComponentType<*> = ({ ...props }) => {
return <header className="govuk-header" role="banner" data-module="govuk-header">
<a href={ "#main-content" } className="govuk-skip-link">Skip to main content</a>
<div className="govuk-header__container govuk-width-container">
<div className="govuk-header__logo">
<a href="https://coronavirus-staging.data.gov.uk"
className="govuk-header__link govuk-header__link--homepage">
<span className="govuk-header__logotype">
<svg aria-hidden="true"
focusable="false"
className="govuk-header__logotype-crown govuk-!-margin-right-1"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 132 97"
height="30"
width="36">
<path fill="currentColor"
fillRule="evenodd"
d={`M25 30.2c3.5 1.5 7.7-.2 9.1-3.7 1.5-3.6-.2-7.8-3.9-9.2-3.6-1.4-7.6.3-9.1 3.9-1.4
3.5.3 7.5 3.9 9zM9 39.5c3.6 1.5 7.8-.2 9.2-3.7 1.5-3.6-.2-7.8-3.9-9.1-3.6-1.5-7.6.2-9.1
3.8-1.4 3.5.3 7.5 3.8 9zM4.4 57.2c3.5 1.5 7.7-.2 9.1-3.8 1.5-3.6-.2-7.7-3.9-9.1-3.5-1.5-7.6.3-9.1
3.8-1.4 3.5.3 7.6 3.9 9.1zm38.3-21.4c3.5 1.5 7.7-.2 9.1-3.8 1.5-3.6-.2-7.7-3.9-9.1-3.6-1.5-7.6.3-9.1
3.8-1.3 3.6.4 7.7 3.9 9.1zm64.4-5.6c-3.6 1.5-7.8-.2-9.1-3.7-1.5-3.6.2-7.8 3.8-9.2
3.6-1.4 7.7.3 9.2 3.9 1.3 3.5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YGbJ2Tg2wPMomKfjsAuxz9FYgBrgoQEvpFkBpgFNP+hXBaCQ11+AJmOl/Av2/RCoEdCRpjwxOG" +
"v+op85yT2pRcY4m8jSJT82RdKXBONj8r3Hz0shhGUJYIukmdFfA5LehhCuJU32UoS1N8fXpxJwt3fDkYw" +
"ZjukdyVI1ZhR1Y0ZtfocRyY7Yd3cKvtTNayPQEBlcN9ZAArTOz7bIX1upMSa6A5Zfj3gN9tUFLB0zCfeN" +
"Ei0EeiPDeqAI3APOAzvN/wBcAVYDbzxWm/fBOjvssMcY9RFur32VqC5N3W4Lbvo5LTkW0rbfE7E+eZSoJ" +
"+P4GT1ejB372l1uRzzxTPBWvg/cjRpYE3Daupc9y2rgKnDD773AZeuctk2p4d71KJhXBJ7kbc9tVqwH9g" +
"Hro9ST6B+I3vuBd1myKFM7/L4W2G8f2Gdu3ygCfXFHBbbY+HiG/uFoOToy5Mct2xKfAEAfUKykkZ0ywGO" +
"gBdgKDEVOXwBnPPoyaqQvkr+I+EPGajE2wKlKAlrF76OVFd3LmOhtr9JLYcZ/7JQyurckrZH0WNIzSa8l" +
"PZL0XtJb38We51w0kVQvqUbSXEl1khZLmiOpQdJCSbd/+no80Svyr8D8T38NfQWcfES5EXNkCgAAAABJR" +
"U5ErkJggg==" }
className="govuk-header__logotype-crown-fallback-image"
height="32"
width="36"/>
</svg>
<span className="govuk-header__logotype-text">GOV.UK</span>
</span>
<span className="govuk-header__product-name">
Coronavirus (COVID-19) in the UK
</span>
</a>
</div>
</div>
</header>
}; // Header
export default Header;