naturescot-frontend 3.1.0 → 3.1.2
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/naturescot/assets/images/naturescot-logo.png +0 -0
- package/naturescot/components/footer/_footer.scss +7 -6
- package/naturescot/components/header/_header.scss +0 -14
- package/naturescot/components/header/template.njk +70 -55
- package/package.json +1 -1
- package/naturescot/assets/images/naturescot_dual_logo.png +0 -0
|
Binary file
|
|
@@ -28,12 +28,13 @@ $naturescot-logo: "naturescot-logo.png" !default;
|
|
|
28
28
|
$naturescot-footer-link-hover: #171819;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
//
|
|
32
|
-
|
|
33
|
-
$naturescot-footer-crest-image-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
$naturescot-footer-crest-image-
|
|
31
|
+
// Was originally based on the govuk-crest-2x.png image dimensions, but the new
|
|
32
|
+
// image is larger.
|
|
33
|
+
$naturescot-footer-crest-image-width-original: 512px;
|
|
34
|
+
$naturescot-footer-crest-image-height-original: 430px;
|
|
35
|
+
// Divide by 3 (rather than halve) the new image so that it fits the regular 1x size but maintains aspect ratio.
|
|
36
|
+
$naturescot-footer-crest-image-width: ($naturescot-footer-crest-image-width-original / 3);
|
|
37
|
+
$naturescot-footer-crest-image-height: ($naturescot-footer-crest-image-height-original / 3);
|
|
37
38
|
|
|
38
39
|
.naturescot-footer {
|
|
39
40
|
@include govuk-font($size: 16);
|
|
@@ -24,20 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.naturescot-header svg {
|
|
28
|
-
.cls-1 {
|
|
29
|
-
fill:#fff;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.cls-2 {
|
|
33
|
-
fill:none;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.cls-3 {
|
|
37
|
-
fill:url("#gradient_white");
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
27
|
.naturescot-header__container--full-width {
|
|
42
28
|
padding: 0 govuk-spacing(3);
|
|
43
29
|
border-color: $naturescot-header-border-color;
|
|
@@ -4,41 +4,56 @@
|
|
|
4
4
|
<div class="naturescot-header__logo">
|
|
5
5
|
<a href="{{ params.homepageUrl | default('/') }}" class="naturescot-header__link naturescot-header__link--homepage">
|
|
6
6
|
<span class="naturescot-header__logotype">
|
|
7
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0
|
|
7
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Web_linear" data-name="Web linear" viewBox="0 0 634.27 132.65" width="200">
|
|
8
8
|
<defs>
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
<style>
|
|
10
|
+
.whitename {
|
|
11
|
+
fill: #FFFFFF;
|
|
12
|
+
}
|
|
13
|
+
.cls-3 {
|
|
14
|
+
fill: #FFFFFF;
|
|
15
|
+
}
|
|
16
|
+
.cls-4 {
|
|
17
|
+
fill: #FFFFFF;
|
|
18
|
+
}
|
|
19
|
+
.cls-5 {
|
|
20
|
+
fill: url(#linear-gradient);
|
|
21
|
+
}
|
|
22
|
+
</style>
|
|
23
|
+
<linearGradient id="linear-gradient" x1="133.48" y1="96.61" x2="174.43" y2="8.79"gradientUnits="userSpaceOnUse">
|
|
24
|
+
<stop offset="0" stop-color="#FFFFFF"/>
|
|
25
|
+
<stop offset="1" stop-color="#FFFFFF" stop-opacity="0"/>
|
|
12
26
|
</linearGradient>
|
|
13
27
|
</defs>
|
|
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
|
-
|
|
28
|
+
<g id="Gaelic_name" data-name="Gaelic name">
|
|
29
|
+
<path class="whitename" d="M260.77,112.66h12.7l20.21,25.9v-25.9h13.37v49H295.12l-21-26.88v26.88H260.77Z" transform="translate(-30.14 -36.16)"/>
|
|
30
|
+
<path class="whitename" d="M325.74,162.5a15.67,15.67,0,0,1-5-.77,11.77,11.77,0,0,1-4-2.24,10.17,10.17,0,0,1-2.7-3.64,12.15,12.15,0,0,1-1-5v-.14a11.68,11.68,0,0,1,1.09-5.18,10.1,10.1,0,0,1,3-3.71,13.79,13.79,0,0,1,4.65-2.24,22.55,22.55,0,0,1,6.09-.77,26.89,26.89,0,0,1,5.08.46,28.51,28.51,0,0,1,4,1v-.63a5.73,5.73,0,0,0-1.85-4.55q-1.86-1.6-5.71-1.61a24.71,24.71,0,0,0-5.46.56,37.15,37.15,0,0,0-5,1.54l-2.73-9.38a41.53,41.53,0,0,1,6.83-2.13,39.11,39.11,0,0,1,8.5-.81,27.45,27.45,0,0,1,8.65,1.19,14.71,14.71,0,0,1,5.77,3.43,12,12,0,0,1,3.12,5.08,23,23,0,0,1,.94,7v21.77H336.87v-3.92a14.07,14.07,0,0,1-11.13,4.76Zm-7.07-51,12.39-4,7.28,13H329Zm11.83,42.7a6.73,6.73,0,0,0,4.76-1.68,5.89,5.89,0,0,0,1.82-4.55v-1.75a12.34,12.34,0,0,0-2.34-.7,14.63,14.63,0,0,0-2.84-.28,6.89,6.89,0,0,0-4.51,1.3,4.17,4.17,0,0,0-1.58,3.39V150a3.71,3.71,0,0,0,1.33,3.05A5.17,5.17,0,0,0,330.5,154.17Z" transform="translate(-30.14 -36.16)"/>
|
|
31
|
+
<path class="whitename" d="M371.7,162.5a15.46,15.46,0,0,1-6.4-1.36,15.77,15.77,0,0,1-5.32-3.89,19,19,0,0,1-3.64-6.16A23.14,23.14,0,0,1,355,142.9v-.14a24.39,24.39,0,0,1,1.33-8.29,18.61,18.61,0,0,1,3.63-6.23,16,16,0,0,1,5.31-3.92,15.17,15.17,0,0,1,6.35-1.37,13.28,13.28,0,0,1,7,1.65,18.94,18.94,0,0,1,4.61,3.81V110.56h13.37v51.1H383.18l.07-5a20.1,20.1,0,0,1-4.62,4.13A12.36,12.36,0,0,1,371.7,162.5Zm4-11.13a7.16,7.16,0,0,0,3-.63,7.25,7.25,0,0,0,2.44-1.78,8.32,8.32,0,0,0,1.64-2.73,9.69,9.69,0,0,0,.59-3.47v-.14a9.39,9.39,0,0,0-.59-3.43,8.45,8.45,0,0,0-1.64-2.69,7.28,7.28,0,0,0-2.44-1.79,7.43,7.43,0,0,0-6,0,7.7,7.7,0,0,0-2.44,1.75,8.74,8.74,0,0,0-1.67,2.7,9.22,9.22,0,0,0-.63,3.46v.14a9.28,9.28,0,0,0,.63,3.47,9.13,9.13,0,0,0,1.67,2.73,7.35,7.35,0,0,0,2.44,1.78A7.2,7.2,0,0,0,375.73,151.37Z" transform="translate(-30.14 -36.16)"/>
|
|
32
|
+
<path class="whitename" d="M414.14,162.5a15.67,15.67,0,0,1-5-.77,11.91,11.91,0,0,1-4-2.24,10.26,10.26,0,0,1-2.69-3.64,12,12,0,0,1-1-5v-.14a11.81,11.81,0,0,1,1.08-5.18,10.31,10.31,0,0,1,3-3.71,13.93,13.93,0,0,1,4.66-2.24,22.55,22.55,0,0,1,6.09-.77,26.78,26.78,0,0,1,5.07.46,29,29,0,0,1,4,1v-.63a5.7,5.7,0,0,0-1.86-4.55c-1.23-1.07-3.14-1.61-5.7-1.61a24.71,24.71,0,0,0-5.46.56,36.71,36.71,0,0,0-5,1.54l-2.73-9.38a41.41,41.41,0,0,1,6.82-2.13,39.27,39.27,0,0,1,8.51-.81,27.38,27.38,0,0,1,8.64,1.19,14.75,14.75,0,0,1,5.78,3.43,12,12,0,0,1,3.11,5.08,23,23,0,0,1,.95,7v21.77H425.27v-3.92a14.11,14.11,0,0,1-11.13,4.76Zm4.76-8.33a6.75,6.75,0,0,0,4.76-1.68,5.89,5.89,0,0,0,1.82-4.55v-1.75a12.69,12.69,0,0,0-2.35-.7,14.52,14.52,0,0,0-2.83-.28,6.92,6.92,0,0,0-4.52,1.3,4.16,4.16,0,0,0-1.57,3.39V150a3.71,3.71,0,0,0,1.33,3.05A5.13,5.13,0,0,0,418.9,154.17Z" transform="translate(-30.14 -36.16)"/>
|
|
33
|
+
<path class="whitename" d="M445.11,123.79h13.37v7.63a15.79,15.79,0,0,1,4.41-6.16,10.75,10.75,0,0,1,7.56-2.1v14h-1.12q-5.25,0-8.05,3.08t-2.8,9.66v11.76H445.11Z" transform="translate(-30.14 -36.16)"/>
|
|
34
|
+
<path class="whitename" d="M489.36,112.31h13.09l20.86,49.35H508.75l-3.57-8.75h-18.9l-3.5,8.75H468.5Zm11.9,30.1-5.46-13.93-5.53,13.93Z" transform="translate(-30.14 -36.16)"/>
|
|
35
|
+
<path class="whitename" d="M526.7,110.56h13.37v51.1H526.7Z" transform="translate(-30.14 -36.16)"/>
|
|
36
|
+
<path class="whitename" d="M572,162.5a14.51,14.51,0,0,1-7-1.64,12.22,12.22,0,0,1-2.51-1.75,24.6,24.6,0,0,1-2-2.07v4.62H547.08v-51.1h13.37l-.07,18.27a23.39,23.39,0,0,1,2.1-2.24,13.88,13.88,0,0,1,2.49-1.85,13,13,0,0,1,3.08-1.3,14.07,14.07,0,0,1,3.81-.49,15.55,15.55,0,0,1,6.41,1.37,16.15,16.15,0,0,1,5.35,3.88,18.8,18.8,0,0,1,3.68,6.16,23.22,23.22,0,0,1,1.36,8.19v.14a23.73,23.73,0,0,1-1.36,8.3,19.59,19.59,0,0,1-3.63,6.23,15.65,15.65,0,0,1-5.31,3.92A15.41,15.41,0,0,1,572,162.5Zm-4.13-11.13a7.23,7.23,0,0,0,5.5-2.38,8.71,8.71,0,0,0,2.23-6.23v-.14a8.64,8.64,0,0,0-2.23-6.16,7.52,7.52,0,0,0-8.5-1.75,7.38,7.38,0,0,0-2.44,1.79,8.64,8.64,0,0,0-1.64,2.69,9.61,9.61,0,0,0-.59,3.43v.14a9.91,9.91,0,0,0,.59,3.47A8.5,8.5,0,0,0,562.4,149a7.35,7.35,0,0,0,2.44,1.78A7.2,7.2,0,0,0,567.84,151.37Z" transform="translate(-30.14 -36.16)"/>
|
|
37
|
+
<path class="whitename" d="M604.3,162.5a15.67,15.67,0,0,1-5-.77,11.91,11.91,0,0,1-4-2.24,10.26,10.26,0,0,1-2.69-3.64,12,12,0,0,1-1-5v-.14a11.81,11.81,0,0,1,1.08-5.18,10.31,10.31,0,0,1,3-3.71,13.93,13.93,0,0,1,4.66-2.24,22.55,22.55,0,0,1,6.09-.77,26.78,26.78,0,0,1,5.07.46,29,29,0,0,1,4,1v-.63a5.7,5.7,0,0,0-1.86-4.55c-1.23-1.07-3.14-1.61-5.7-1.61a24.71,24.71,0,0,0-5.46.56,36.71,36.71,0,0,0-5,1.54l-2.73-9.38A41.41,41.41,0,0,1,601.6,124a39.27,39.27,0,0,1,8.51-.81,27.38,27.38,0,0,1,8.64,1.19,14.75,14.75,0,0,1,5.78,3.43,12,12,0,0,1,3.11,5.08,23,23,0,0,1,1,7v21.77H615.43v-3.92a14.11,14.11,0,0,1-11.13,4.76Zm4.76-8.33a6.75,6.75,0,0,0,4.76-1.68,5.89,5.89,0,0,0,1.82-4.55v-1.75a12.69,12.69,0,0,0-2.35-.7,14.52,14.52,0,0,0-2.83-.28,6.92,6.92,0,0,0-4.52,1.3,4.16,4.16,0,0,0-1.57,3.39V150a3.71,3.71,0,0,0,1.33,3.05A5.13,5.13,0,0,0,609.06,154.17Z" transform="translate(-30.14 -36.16)"/>
|
|
38
|
+
<path class="whitename" d="M261,40.46h13.06L294.87,67.1V40.46h13.75v50.4H296.35L274.78,63.21V90.86H261Z" transform="translate(-30.14 -36.16)"/>
|
|
39
|
+
<path class="whitename" d="M327.82,91.72a16.32,16.32,0,0,1-5.19-.79,12.29,12.29,0,0,1-4.14-2.3,10.67,10.67,0,0,1-2.77-3.75,12.47,12.47,0,0,1-1-5.18v-.14a12.12,12.12,0,0,1,1.12-5.33,10.43,10.43,0,0,1,3.1-3.82,14.08,14.08,0,0,1,4.78-2.3,23,23,0,0,1,6.27-.79,28.4,28.4,0,0,1,5.22.46,30.11,30.11,0,0,1,4.14,1v-.65a5.86,5.86,0,0,0-1.91-4.68c-1.27-1.1-3.23-1.66-5.87-1.66a25.45,25.45,0,0,0-5.61.58A36.51,36.51,0,0,0,320.83,64L318,54.36a41.37,41.37,0,0,1,7-2.2,40.59,40.59,0,0,1,8.74-.83,28,28,0,0,1,8.9,1.23,15.05,15.05,0,0,1,5.94,3.52,12.43,12.43,0,0,1,3.2,5.22,23.69,23.69,0,0,1,1,7.17V90.86H339.27v-4a14.55,14.55,0,0,1-11.45,4.89Zm4.89-8.56a7,7,0,0,0,4.9-1.73,6,6,0,0,0,1.87-4.68V75a12.16,12.16,0,0,0-2.41-.72,14.68,14.68,0,0,0-2.92-.29,7.13,7.13,0,0,0-4.64,1.33,4.3,4.3,0,0,0-1.62,3.49v.15A3.82,3.82,0,0,0,329.26,82,5.3,5.3,0,0,0,332.71,83.16Z" transform="translate(-30.14 -36.16)"/>
|
|
40
|
+
<path class="whitename" d="M374.47,91.65q-6.23,0-9.7-3t-3.47-9.94V62.92h-4.61v-11h4.61V42h13.75v9.87h9.07v11h-9.07V76.1a4,4,0,0,0,.94,3,3.89,3.89,0,0,0,2.8.9,9.94,9.94,0,0,0,2.67-.36,15.63,15.63,0,0,0,2.52-.94V89.42A19.17,19.17,0,0,1,379.73,91,21,21,0,0,1,374.47,91.65Z" transform="translate(-30.14 -36.16)"/>
|
|
41
|
+
<path class="whitename" d="M403.11,91.72q-6.3,0-9.81-3.81T389.79,77.4V51.91h13.75V73A7.13,7.13,0,0,0,405,77.9a5.13,5.13,0,0,0,4,1.66,5.37,5.37,0,0,0,4-1.66,6.77,6.77,0,0,0,1.6-4.9V51.91h13.75v39H414.63V85.53A19.14,19.14,0,0,1,410,89.85,12,12,0,0,1,403.11,91.72Z" transform="translate(-30.14 -36.16)"/>
|
|
42
|
+
<path class="whitename" d="M435.49,51.91h13.75v7.85a16,16,0,0,1,4.53-6.34c1.92-1.58,4.52-2.3,7.78-2.16v14.4H460.4q-5.4,0-8.28,3.17t-2.88,9.93v12.1H435.49Z" transform="translate(-30.14 -36.16)"/>
|
|
43
|
+
<path class="whitename" d="M484.75,91.79a23.32,23.32,0,0,1-8.43-1.47,19.76,19.76,0,0,1-6.58-4.1,18.29,18.29,0,0,1-4.32-6.38,21.28,21.28,0,0,1-1.55-8.28v-.14a21.84,21.84,0,0,1,1.44-8A19.57,19.57,0,0,1,469.38,57a19,19,0,0,1,6.22-4.35A19.39,19.39,0,0,1,483.52,51a20.57,20.57,0,0,1,8.75,1.73,17.32,17.32,0,0,1,6.12,4.64,19.58,19.58,0,0,1,3.6,6.77,27.71,27.71,0,0,1,1.19,8.18v1.36a13.88,13.88,0,0,1-.07,1.44H477A8.08,8.08,0,0,0,480,80a9.11,9.11,0,0,0,5.44,1.58,10.79,10.79,0,0,0,4.5-.93,14.63,14.63,0,0,0,4.14-3l7.56,6.26a20.93,20.93,0,0,1-6.95,5.77A21.31,21.31,0,0,1,484.75,91.79Zm5.61-23.61A8.66,8.66,0,0,0,488.2,63a6,6,0,0,0-4.6-1.91A5.76,5.76,0,0,0,479.13,63a10.11,10.11,0,0,0-2.3,5.15Z" transform="translate(-30.14 -36.16)"/>
|
|
44
|
+
<path class="whitename" d="M528.84,91.72A39.13,39.13,0,0,1,516,89.62a31.1,31.1,0,0,1-10.76-6.3L513,74a25.67,25.67,0,0,0,16.35,6,8.32,8.32,0,0,0,4.28-.9,2.84,2.84,0,0,0,1.48-2.55v-.14a2.84,2.84,0,0,0-.36-1.41,3.71,3.71,0,0,0-1.34-1.18,13.64,13.64,0,0,0-2.59-1.12c-1.08-.35-2.48-.73-4.21-1.11-2.69-.62-5.18-1.31-7.49-2.05a23,23,0,0,1-6-2.87,12.31,12.31,0,0,1-5.51-10.89V55.7a15.47,15.47,0,0,1,1.33-6.47,14.42,14.42,0,0,1,3.89-5.11A18.41,18.41,0,0,1,519,40.78a25.94,25.94,0,0,1,8.13-1.18,36.14,36.14,0,0,1,11.56,1.7,29.15,29.15,0,0,1,9.18,5l-7,9.9a28.43,28.43,0,0,0-7.1-3.71,21.36,21.36,0,0,0-7-1.26,6.34,6.34,0,0,0-3.78.93,2.79,2.79,0,0,0-1.26,2.3v.15a2.88,2.88,0,0,0,.4,1.51,3.56,3.56,0,0,0,1.37,1.18,15,15,0,0,0,2.66,1.08q1.7.54,4.29,1.11a62.91,62.91,0,0,1,7.81,2.2,23.45,23.45,0,0,1,5.94,3,12.22,12.22,0,0,1,3.74,4.35,13.19,13.19,0,0,1,1.3,6.07v.15a15.61,15.61,0,0,1-1.48,6.9,14.68,14.68,0,0,1-4.14,5.13,18.52,18.52,0,0,1-6.41,3.24A29.3,29.3,0,0,1,528.84,91.72Z" transform="translate(-30.14 -36.16)"/>
|
|
45
|
+
<path class="whitename" d="M573.24,91.79a20.24,20.24,0,0,1-14.58-6,20.41,20.41,0,0,1-5.8-14.26v-.14a20,20,0,0,1,12.42-18.68,21.62,21.62,0,0,1,8.46-1.62,19.63,19.63,0,0,1,10.08,2.37,19.29,19.29,0,0,1,6.55,6.34l-9.29,6.91a12.2,12.2,0,0,0-3.09-3,7.45,7.45,0,0,0-4.18-1.08,6.86,6.86,0,0,0-3.06.68,7.46,7.46,0,0,0-2.41,1.87,9.05,9.05,0,0,0-1.58,2.74,9.4,9.4,0,0,0-.58,3.35v.14a10.18,10.18,0,0,0,.58,3.49,8.84,8.84,0,0,0,1.58,2.81A7.29,7.29,0,0,0,574,80.28a7.64,7.64,0,0,0,4.14-1.08,16.22,16.22,0,0,0,3.34-3l9.15,6.63a21.57,21.57,0,0,1-6.84,6.48A20.31,20.31,0,0,1,573.24,91.79Z" transform="translate(-30.14 -36.16)"/>
|
|
46
|
+
<path class="whitename" d="M613.28,91.79a22.66,22.66,0,0,1-8.6-1.58,21.07,21.07,0,0,1-6.81-4.35,19.74,19.74,0,0,1-4.46-6.45,19.53,19.53,0,0,1-1.58-7.85v-.14a19.55,19.55,0,0,1,1.62-7.89,19.93,19.93,0,0,1,4.5-6.47,21.23,21.23,0,0,1,6.84-4.4A22.57,22.57,0,0,1,613.43,51a22.33,22.33,0,0,1,8.6,1.62,22,22,0,0,1,6.8,4.36,19.3,19.3,0,0,1,4.47,6.41,19.66,19.66,0,0,1,1.58,7.85v.14a19.47,19.47,0,0,1-1.62,7.88,19.86,19.86,0,0,1-4.5,6.48,21.45,21.45,0,0,1-6.84,4.4A22.6,22.6,0,0,1,613.28,91.79Zm.15-11.66a8.07,8.07,0,0,0,3.38-.68,7.49,7.49,0,0,0,2.56-1.85A8.88,8.88,0,0,0,621,74.85a9.61,9.61,0,0,0,.57-3.29v-.14a9.15,9.15,0,0,0-.61-3.36,8.44,8.44,0,0,0-1.73-2.75,8.79,8.79,0,0,0-2.63-1.89,7.71,7.71,0,0,0-3.31-.71,8,8,0,0,0-3.38.68,7.49,7.49,0,0,0-2.56,1.85A8.51,8.51,0,0,0,605.72,68a9.57,9.57,0,0,0-.57,3.29v.14a9.15,9.15,0,0,0,.61,3.36,8.29,8.29,0,0,0,1.73,2.74,8.73,8.73,0,0,0,2.62,1.9A7.75,7.75,0,0,0,613.43,80.13Z" transform="translate(-30.14 -36.16)"/>
|
|
47
|
+
<path class="whitename" d="M654.76,91.65q-6.22,0-9.7-3t-3.48-9.94V62.92H637v-11h4.6V42h13.76v9.87h9.07v11h-9.07V76.1a4,4,0,0,0,.93,3,3.9,3.9,0,0,0,2.81.9,9.87,9.87,0,0,0,2.66-.36,15,15,0,0,0,2.52-.94V89.42A19.08,19.08,0,0,1,660,91,21,21,0,0,1,654.76,91.65Z" transform="translate(-30.14 -36.16)"/>
|
|
48
|
+
</g>
|
|
49
|
+
<g id="avatar">
|
|
50
|
+
<path class="cls-3" d="M112.63,71.23c4.13,4.86,6.94,10.66,9.39,16.5.61,1.44,1.2,2.9,1.79,4.37,13.34-1.23,26.74-2,39.75-5.42A119.3,119.3,0,0,0,208,64a119.62,119.62,0,0,0,25.08-27.8c-14.54,5.71-30.84,6.62-46.31,6-21.74-.8-43.5-4.72-65.26-2.06a85.72,85.72,0,0,0-28.84,8.6A87.33,87.33,0,0,0,81,56a49.31,49.31,0,0,1,17.28,4.6A41.89,41.89,0,0,1,112.63,71.23Z" transform="translate(-30.14 -36.16)"/>
|
|
51
|
+
<path class="cls-4" d="M236.48,42.67a119.47,119.47,0,0,1-33.29,37,118.19,118.19,0,0,1-45.51,20.36c-9.55,2-19.29,2.78-29,3.62,3.13,6.73,7,13,12.87,17.91a42.46,42.46,0,0,0,18.55,8.86c6.32,1.28,12.69.81,19-.3A67,67,0,0,0,197,124.59c1.17-.57,3.08-1.67,3.45-1.89,12.38-7.43,21.17-25.22,27.64-40.34A128.53,128.53,0,0,0,236.35,55a127.35,127.35,0,0,0,1.8-14.42c0-.34,0-.68,0-1C237.64,40.58,237.07,41.63,236.48,42.67Z" transform="translate(-30.14 -36.16)"/>
|
|
52
|
+
<path class="cls-4" d="M78.36,103.68a78.1,78.1,0,0,1,24.85-8.87c5.13-1,10.31-1.67,15.51-2.21a44,44,0,0,0-9.34-12.72,46.49,46.49,0,0,0-15.35-9c-9.8-3.55-22.66-4.81-31.15,2.27A128.42,128.42,0,0,0,41,113c-6.25,18-9.23,36.9-10.81,55.85.33-.24,1.76-4.2,2.64-6.35A130,130,0,0,1,59.3,119.08,86.22,86.22,0,0,1,78.36,103.68Z" transform="translate(-30.14 -36.16)"/>
|
|
53
|
+
<path class="cls-4" d="M155.16,141.15a42,42,0,0,1-17.35-11c-6.86-7.34-10.35-16.77-14-26-9.35.85-18.66,1.93-27.77,4.33a71.49,71.49,0,0,0-22.65,10.43,93,93,0,0,0-18.15,16.8,127.28,127.28,0,0,0-18,28.71c14.31-7.32,31.5-7.92,47.31-7.22,11.4.5,22.8,1.56,34.22,1a124.31,124.31,0,0,0,27.56-4.5A128.61,128.61,0,0,0,172.63,143,43.16,43.16,0,0,1,155.16,141.15Z" transform="translate(-30.14 -36.16)"/>
|
|
54
|
+
<path class="cls-5" d="M112.63,71.23c4.13,4.86,6.94,10.66,9.39,16.5.61,1.44,1.2,2.9,1.79,4.37,13.34-1.23,26.74-2,39.75-5.42A119.3,119.3,0,0,0,208,64a119.62,119.62,0,0,0,25.08-27.8c-14.54,5.71-30.84,6.62-46.31,6-21.74-.8-43.5-4.72-65.26-2.06a85.72,85.72,0,0,0-28.84,8.6A87.33,87.33,0,0,0,81,56a49.31,49.31,0,0,1,17.28,4.6A41.89,41.89,0,0,1,112.63,71.23Z" transform="translate(-30.14 -36.16)"/>
|
|
55
|
+
</g>
|
|
56
|
+
<title aria-label="NatureScot website link">NatureScot Logo</title>
|
|
42
57
|
</svg>
|
|
43
58
|
</span>
|
|
44
59
|
{% if (params.productName) %}
|
|
@@ -49,29 +64,29 @@
|
|
|
49
64
|
</a>
|
|
50
65
|
</div>
|
|
51
66
|
{% if params.serviceName or params.navigation %}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
<div class="naturescot-header__content">
|
|
68
|
+
{% if params.serviceName %}
|
|
69
|
+
<a href="{{ params.serviceUrl }}" class="naturescot-header__link naturescot-header__link--service-name">
|
|
70
|
+
{{ params.serviceName }}
|
|
71
|
+
</a>
|
|
72
|
+
{% endif %}
|
|
73
|
+
{% if params.navigation %}
|
|
74
|
+
<button type="button" class="naturescot-header__menu-button govuk-js-header-toggle" aria-controls="navigation" aria-label="Show or hide Top Level Navigation">Menu</button>
|
|
75
|
+
<nav>
|
|
76
|
+
<ul id="navigation" class="naturescot-header__navigation {{ params.navigationClasses if params.navigationClasses }}" aria-label="Top Level Navigation">
|
|
77
|
+
{% for item in params.navigation %}
|
|
78
|
+
{% if item.href and item.text %}
|
|
79
|
+
<li class="naturescot-header__navigation-item{{ ' naturescot-header__navigation-item--active' if item.active }}">
|
|
80
|
+
<a class="naturescot-header__link" href="{{ item.href }}"{% for attribute, value in item.attributes %} {{attribute}}="{{value}}"{% endfor %}>
|
|
81
|
+
{{ item.text }}
|
|
82
|
+
</a>
|
|
83
|
+
</li>
|
|
84
|
+
{% endif %}
|
|
85
|
+
{% endfor %}
|
|
86
|
+
</ul>
|
|
87
|
+
</nav>
|
|
88
|
+
{% endif %}
|
|
89
|
+
</div>
|
|
75
90
|
{% endif %}
|
|
76
91
|
</div>
|
|
77
92
|
</header>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "naturescot-frontend",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "NatureScot's extensions to GDS' govuk-frontend",
|
|
5
5
|
"author": "Mike Coats <mike.coats@nature.scot>",
|
|
6
6
|
"repository": "github:Scottish-Natural-Heritage/naturescot-frontend",
|
|
Binary file
|