@comicrelief/component-library 8.44.4 → 8.45.0
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/dist/components/Atoms/SocialIcons/Icon/Icon.js +39 -14
- package/dist/components/Atoms/SocialIcons/SocialIcons.js +91 -22
- package/dist/components/Atoms/SocialIcons/Utils/Icons.js +26 -7
- package/dist/components/Atoms/SocialIcons/Utils/Links.js +10 -0
- package/dist/components/Atoms/SocialIcons/__snapshots__/SocialIcons.test.js.snap +63 -48
- package/{src/components/Atoms/SocialIcons/assets → dist/components/Atoms/SocialIcons/assets/circled}/facebook.svg +1 -1
- package/{src/components/Atoms/SocialIcons/assets → dist/components/Atoms/SocialIcons/assets/circled}/twitter.svg +1 -1
- package/dist/components/Atoms/SocialIcons/assets/{youtube.svg → circled/youtube.svg} +1 -1
- package/dist/components/Atoms/SocialIcons/assets/standard/facebook.svg +3 -0
- package/dist/components/Atoms/SocialIcons/assets/standard/instagram.svg +3 -0
- package/dist/components/Atoms/SocialIcons/assets/standard/tiktok.svg +3 -0
- package/dist/components/Atoms/SocialIcons/assets/standard/x.svg +3 -0
- package/dist/components/Atoms/SocialIcons/assets/standard/youtube.svg +3 -0
- package/dist/components/Molecules/EmailSignUp/EmailSignUp.js +38 -0
- package/dist/components/Molecules/EmailSignUp/EmailSignUp.style.js +113 -0
- package/dist/components/Molecules/LogoLinked/LogoLinked.js +6 -6
- package/dist/components/Organisms/Footer/Footer.md +12 -11
- package/dist/components/Organisms/Footer/FundraisingRegulatorLogo/FundraisingRegulatorLogo.js +36 -16
- package/dist/components/Organisms/Footer/Nav/Nav.style.js +8 -8
- package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +188 -183
- package/dist/components/Organisms/FooterNew/FooterNew.js +136 -0
- package/dist/components/Organisms/FooterNew/FooterNew.md +47 -0
- package/dist/components/Organisms/FooterNew/FooterNew.style.js +312 -0
- package/dist/components/Organisms/FooterNew/FooterNew.test.js +20 -0
- package/dist/components/Organisms/FooterNew/Nav/PrimaryNav.js +32 -0
- package/dist/components/Organisms/FooterNew/Nav/SecondaryNav.js +32 -0
- package/dist/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +1490 -0
- package/dist/components/Organisms/FooterNew/dev-data/data.js +106 -0
- package/dist/index.js +20 -0
- package/dist/theme/crTheme/colors.js +12 -7
- package/dist/theme/shared/animations.js +46 -0
- package/package.json +1 -1
- package/src/components/Atoms/SocialIcons/Icon/Icon.js +47 -11
- package/src/components/Atoms/SocialIcons/SocialIcons.js +99 -25
- package/src/components/Atoms/SocialIcons/Utils/Icons.js +29 -10
- package/src/components/Atoms/SocialIcons/Utils/Links.js +10 -0
- package/src/components/Atoms/SocialIcons/__snapshots__/SocialIcons.test.js.snap +63 -48
- package/{dist/components/Atoms/SocialIcons/assets → src/components/Atoms/SocialIcons/assets/circled}/facebook.svg +1 -1
- package/{dist/components/Atoms/SocialIcons/assets → src/components/Atoms/SocialIcons/assets/circled}/twitter.svg +1 -1
- package/src/components/Atoms/SocialIcons/assets/{youtube.svg → circled/youtube.svg} +1 -1
- package/src/components/Atoms/SocialIcons/assets/standard/facebook.svg +3 -0
- package/src/components/Atoms/SocialIcons/assets/standard/instagram.svg +3 -0
- package/src/components/Atoms/SocialIcons/assets/standard/tiktok.svg +3 -0
- package/src/components/Atoms/SocialIcons/assets/standard/x.svg +3 -0
- package/src/components/Atoms/SocialIcons/assets/standard/youtube.svg +3 -0
- package/src/components/Molecules/EmailSignUp/EmailSignUp.js +55 -0
- package/src/components/Molecules/EmailSignUp/EmailSignUp.style.js +107 -0
- package/src/components/Molecules/LogoLinked/LogoLinked.js +5 -14
- package/src/components/Organisms/Footer/Footer.md +12 -11
- package/src/components/Organisms/Footer/FundraisingRegulatorLogo/FundraisingRegulatorLogo.js +14 -3
- package/src/components/Organisms/Footer/Nav/Nav.style.js +8 -8
- package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +188 -183
- package/src/components/Organisms/FooterNew/FooterNew.js +211 -0
- package/src/components/Organisms/FooterNew/FooterNew.md +47 -0
- package/src/components/Organisms/FooterNew/FooterNew.style.js +294 -0
- package/src/components/Organisms/FooterNew/FooterNew.test.js +24 -0
- package/src/components/Organisms/FooterNew/Nav/PrimaryNav.js +54 -0
- package/src/components/Organisms/FooterNew/Nav/SecondaryNav.js +54 -0
- package/src/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +1490 -0
- package/src/components/Organisms/FooterNew/dev-data/data.js +123 -0
- package/src/index.js +2 -0
- package/src/theme/crTheme/colors.js +13 -7
- package/src/theme/shared/animations.js +60 -0
- /package/dist/components/Atoms/SocialIcons/assets/{X-white-Subtract.svg → circled/X-white-Subtract.svg} +0 -0
- /package/dist/components/Atoms/SocialIcons/assets/{instagram.svg → circled/instagram.svg} +0 -0
- /package/src/components/Atoms/SocialIcons/assets/{X-white-Subtract.svg → circled/X-white-Subtract.svg} +0 -0
- /package/src/components/Atoms/SocialIcons/assets/{instagram.svg → circled/instagram.svg} +0 -0
|
@@ -11,12 +11,13 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
12
12
|
var _hideVisually = _interopRequireDefault(require("../../../../theme/shared/hideVisually"));
|
|
13
13
|
var _Text = _interopRequireDefault(require("../../Text/Text"));
|
|
14
|
+
var _animations = require("../../../../theme/shared/animations");
|
|
14
15
|
const RevealTextWidth = 55;
|
|
15
16
|
const RevealTextSpeed = 0.35;
|
|
16
17
|
const StyledLink = _styledComponents.default.a.withConfig({
|
|
17
18
|
displayName: "Icon__StyledLink",
|
|
18
19
|
componentId: "sc-no6fx6-0"
|
|
19
|
-
})(["text-decoration:none;cursor:pointer;display:block;position:relative;transition:opacity 0.2s;&:hover,&:focus{opacity:0.6;}", "};"], _ref => {
|
|
20
|
+
})(["text-decoration:none;cursor:pointer;display:block;position:relative;transition:opacity 0.2s;&:hover,&:focus{opacity:0.6;}", "};", ""], _ref => {
|
|
20
21
|
let {
|
|
21
22
|
isHeader
|
|
22
23
|
} = _ref;
|
|
@@ -24,52 +25,74 @@ const StyledLink = _styledComponents.default.a.withConfig({
|
|
|
24
25
|
let {
|
|
25
26
|
theme
|
|
26
27
|
} = _ref2;
|
|
27
|
-
return theme.
|
|
28
|
+
return theme.breakpoints2026('M');
|
|
28
29
|
}, _ref3 => {
|
|
29
30
|
let {
|
|
30
31
|
theme
|
|
31
32
|
} = _ref3;
|
|
32
33
|
return theme.allBreakpoints('NavWide');
|
|
33
34
|
}, RevealTextWidth);
|
|
35
|
+
}, _ref4 => {
|
|
36
|
+
let {
|
|
37
|
+
newStyle
|
|
38
|
+
} = _ref4;
|
|
39
|
+
return newStyle && (0, _styledComponents.css)(["background-color:", ";border-radius:0.5rem;padding:0.5rem;display:flex;align-items:center;justify-content:center;width:100%;height:100%;", " &:hover,&:focus{background-color:", ";opacity:1;}"], _ref5 => {
|
|
40
|
+
let {
|
|
41
|
+
theme
|
|
42
|
+
} = _ref5;
|
|
43
|
+
return theme.color('grey_4');
|
|
44
|
+
}, (0, _animations.springScaleAnimation)(true, 1.15, 2), _ref6 => {
|
|
45
|
+
let {
|
|
46
|
+
theme
|
|
47
|
+
} = _ref6;
|
|
48
|
+
return theme.color('grey_4_hover');
|
|
49
|
+
});
|
|
34
50
|
});
|
|
35
51
|
const RevealText = (0, _styledComponents.default)(_Text.default).withConfig({
|
|
36
52
|
displayName: "Icon__RevealText",
|
|
37
53
|
componentId: "sc-no6fx6-1"
|
|
38
|
-
})(["width:auto;color:", ";position:absolute;top:50%;transform:translateY(-50%);left:70px;@media ", "{width:100%;text-align:center;position:absolute;top:8px;left:15px;transform:translateX(0);display:none;color:", ";}"],
|
|
54
|
+
})(["width:auto;color:", ";position:absolute;top:50%;transform:translateY(-50%);left:70px;@media ", "{width:100%;text-align:center;position:absolute;top:8px;left:15px;transform:translateX(0);display:none;color:", ";}"], _ref7 => {
|
|
39
55
|
let {
|
|
40
56
|
theme
|
|
41
|
-
} =
|
|
57
|
+
} = _ref7;
|
|
42
58
|
return theme.color('black');
|
|
43
|
-
},
|
|
59
|
+
}, _ref8 => {
|
|
44
60
|
let {
|
|
45
61
|
theme
|
|
46
|
-
} =
|
|
62
|
+
} = _ref8;
|
|
47
63
|
return theme.allBreakpoints('Nav');
|
|
48
|
-
},
|
|
64
|
+
}, _ref9 => {
|
|
49
65
|
let {
|
|
50
66
|
theme
|
|
51
|
-
} =
|
|
67
|
+
} = _ref9;
|
|
52
68
|
return theme.color('red');
|
|
53
69
|
});
|
|
54
70
|
const StyledImage = _styledComponents.default.img.withConfig({
|
|
55
71
|
displayName: "Icon__StyledImage",
|
|
56
72
|
componentId: "sc-no6fx6-2"
|
|
57
|
-
})(["width:100%;"]
|
|
73
|
+
})(["width:100%;", ""], _ref10 => {
|
|
74
|
+
let {
|
|
75
|
+
invertColor
|
|
76
|
+
} = _ref10;
|
|
77
|
+
return invertColor && (0, _styledComponents.css)(["filter:brightness(0) invert(1);"]);
|
|
78
|
+
});
|
|
58
79
|
const HelperText = _styledComponents.default.span.withConfig({
|
|
59
80
|
displayName: "Icon__HelperText",
|
|
60
81
|
componentId: "sc-no6fx6-3"
|
|
61
82
|
})(["", ";"], _hideVisually.default);
|
|
62
|
-
const Icon =
|
|
83
|
+
const Icon = _ref11 => {
|
|
63
84
|
let {
|
|
64
85
|
href,
|
|
65
86
|
target,
|
|
66
87
|
icon,
|
|
67
88
|
brand,
|
|
68
89
|
title,
|
|
69
|
-
isHeader = false,
|
|
70
90
|
id,
|
|
91
|
+
isHeader = false,
|
|
92
|
+
newStyle = false,
|
|
93
|
+
invertColor = false,
|
|
71
94
|
...restProps
|
|
72
|
-
} =
|
|
95
|
+
} = _ref11;
|
|
73
96
|
return /*#__PURE__*/_react.default.createElement(StyledLink, Object.assign({
|
|
74
97
|
href: href,
|
|
75
98
|
target: `_${target}`
|
|
@@ -77,10 +100,12 @@ const Icon = _ref7 => {
|
|
|
77
100
|
title: title,
|
|
78
101
|
rel: "noopener noreferrer",
|
|
79
102
|
"data-test": `${isHeader ? 'header' : 'icon'}-${(0, _kebabCase2.default)(id)}`,
|
|
80
|
-
isHeader: isHeader
|
|
103
|
+
isHeader: isHeader,
|
|
104
|
+
newStyle: newStyle
|
|
81
105
|
}), /*#__PURE__*/_react.default.createElement(StyledImage, {
|
|
82
106
|
src: icon,
|
|
83
|
-
alt: brand
|
|
107
|
+
alt: brand,
|
|
108
|
+
invertColor: invertColor
|
|
84
109
|
}), isHeader && /*#__PURE__*/_react.default.createElement(RevealText, null, title), id === 'esu' && /*#__PURE__*/_react.default.createElement(HelperText, null, "(opens in new window)"));
|
|
85
110
|
};
|
|
86
111
|
var _default = exports.default = Icon;
|
|
@@ -8,45 +8,114 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
10
|
var _Links = _interopRequireDefault(require("./Utils/Links"));
|
|
11
|
-
var _Icons =
|
|
11
|
+
var _Icons = require("./Utils/Icons");
|
|
12
12
|
var _Icon = _interopRequireDefault(require("./Icon/Icon"));
|
|
13
13
|
var _spacing = _interopRequireDefault(require("../../../theme/shared/spacing"));
|
|
14
14
|
const StyledList = _styledComponents.default.ul.withConfig({
|
|
15
15
|
displayName: "SocialIcons__StyledList",
|
|
16
16
|
componentId: "sc-i6jfaw-0"
|
|
17
|
-
})(["display:flex;list-style-type:none;
|
|
17
|
+
})(["display:flex;list-style-type:none;justify-content:", ";margin:", ";padding:0;align-items:center;@media ", "{justify-content:start;margin:", ";}"], newStyle => newStyle ? 'space-around' : 'center', _ref => {
|
|
18
18
|
let {
|
|
19
|
-
|
|
19
|
+
newStyle
|
|
20
20
|
} = _ref;
|
|
21
|
-
return
|
|
21
|
+
return newStyle ? `${(0, _spacing.default)('lg')} 0` : '0 auto 0 0';
|
|
22
|
+
}, _ref2 => {
|
|
23
|
+
let {
|
|
24
|
+
theme
|
|
25
|
+
} = _ref2;
|
|
26
|
+
return theme.breakpoints2026('M');
|
|
27
|
+
}, _ref3 => {
|
|
28
|
+
let {
|
|
29
|
+
newStyle
|
|
30
|
+
} = _ref3;
|
|
31
|
+
return newStyle ? `${(0, _spacing.default)('sm')} 0` : '0 auto 0 0';
|
|
22
32
|
});
|
|
23
33
|
const StyledItem = _styledComponents.default.li.withConfig({
|
|
24
34
|
displayName: "SocialIcons__StyledItem",
|
|
25
35
|
componentId: "sc-i6jfaw-1"
|
|
26
|
-
})(["width:
|
|
36
|
+
})(["width:48px;margin-right:", ";@media ", "{margin-right:", ";}"], _ref4 => {
|
|
37
|
+
let {
|
|
38
|
+
newStyle
|
|
39
|
+
} = _ref4;
|
|
40
|
+
return newStyle ? '0' : (0, _spacing.default)('m');
|
|
41
|
+
}, _ref5 => {
|
|
27
42
|
let {
|
|
28
43
|
theme
|
|
29
|
-
} =
|
|
30
|
-
return theme.
|
|
44
|
+
} = _ref5;
|
|
45
|
+
return theme.breakpoints2026('M');
|
|
46
|
+
}, _ref6 => {
|
|
47
|
+
let {
|
|
48
|
+
newStyle
|
|
49
|
+
} = _ref6;
|
|
50
|
+
return newStyle ? (0, _spacing.default)('md') : (0, _spacing.default)('m');
|
|
31
51
|
});
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
52
|
+
const StyledIcon = (0, _styledComponents.default)(_Icon.default).withConfig({
|
|
53
|
+
displayName: "SocialIcons__StyledIcon",
|
|
54
|
+
componentId: "sc-i6jfaw-2"
|
|
55
|
+
})(["width:auto;"]);
|
|
56
|
+
const SocialIcons = _ref7 => {
|
|
35
57
|
let {
|
|
36
|
-
target = 'blank',
|
|
37
58
|
campaign,
|
|
59
|
+
showFacebookSocialIcon,
|
|
60
|
+
showInstagramSocialIcon,
|
|
61
|
+
showXSocialIcon,
|
|
62
|
+
showTikTokSocialIcon,
|
|
63
|
+
showYouTubeSocialIcon,
|
|
64
|
+
target = 'blank',
|
|
65
|
+
newStyle = false,
|
|
66
|
+
invertColor = false,
|
|
38
67
|
...restProps
|
|
39
|
-
} =
|
|
68
|
+
} = _ref7;
|
|
40
69
|
const links = (0, _Links.default)(campaign);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
70
|
+
|
|
71
|
+
// We've got two sets now - one better suited to the new footer design,
|
|
72
|
+
// and one for the legacy footer.
|
|
73
|
+
const iconSet = newStyle ? _Icons.standardIcons : _Icons.circledIcons;
|
|
74
|
+
|
|
75
|
+
// Map brand names to their show props
|
|
76
|
+
const brandVisibilityMap = {
|
|
77
|
+
facebook: showFacebookSocialIcon,
|
|
78
|
+
instagram: showInstagramSocialIcon,
|
|
79
|
+
twitter: showXSocialIcon,
|
|
80
|
+
x: showXSocialIcon,
|
|
81
|
+
tiktok: showTikTokSocialIcon,
|
|
82
|
+
youtube: showYouTubeSocialIcon
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
// If prop is explicitly false, hide; otherwise show
|
|
86
|
+
// (for backward compatibility with the 'old' footer)
|
|
87
|
+
const shouldShowIcon = brand => {
|
|
88
|
+
const visibilityProp = brandVisibilityMap[brand];
|
|
89
|
+
return visibilityProp !== false;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
// Get the list of brands to display
|
|
93
|
+
// For newStyle, include tiktok and use 'x' instead of twitter
|
|
94
|
+
const brandsToShow = newStyle ? ['facebook', 'instagram', 'x', 'tiktok', 'youtube'] : ['facebook', 'instagram', 'twitter', 'youtube'];
|
|
95
|
+
return /*#__PURE__*/_react.default.createElement(StyledList, {
|
|
96
|
+
newStyle: newStyle
|
|
97
|
+
}, brandsToShow.filter(brand => shouldShowIcon(brand)).map(brand => {
|
|
98
|
+
const linkData = links[brand];
|
|
99
|
+
if (!linkData) {
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
const icon = iconSet[brand];
|
|
103
|
+
if (!icon) {
|
|
104
|
+
return null;
|
|
105
|
+
}
|
|
106
|
+
return /*#__PURE__*/_react.default.createElement(StyledItem, {
|
|
107
|
+
key: brand,
|
|
108
|
+
newStyle: newStyle
|
|
109
|
+
}, /*#__PURE__*/_react.default.createElement(StyledIcon, Object.assign({
|
|
110
|
+
target: target,
|
|
111
|
+
icon: icon,
|
|
112
|
+
href: linkData.url,
|
|
113
|
+
title: linkData.title,
|
|
114
|
+
brand: brand,
|
|
115
|
+
id: linkData.id,
|
|
116
|
+
newStyle: newStyle,
|
|
117
|
+
invertColor: invertColor
|
|
118
|
+
}, restProps)));
|
|
119
|
+
}));
|
|
51
120
|
};
|
|
52
121
|
var _default = exports.default = SocialIcons;
|
|
@@ -4,14 +4,33 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _facebook = _interopRequireDefault(require("../assets/facebook.svg"));
|
|
9
|
-
var _XWhiteSubtract = _interopRequireDefault(require("../assets/X-white-Subtract.svg"));
|
|
10
|
-
var _youtube = _interopRequireDefault(require("../assets/youtube.svg"));
|
|
11
|
-
var _instagram = _interopRequireDefault(require("../assets/instagram.svg"));
|
|
12
|
-
var
|
|
7
|
+
exports.standardIcons = exports.default = exports.circledIcons = void 0;
|
|
8
|
+
var _facebook = _interopRequireDefault(require("../assets/circled/facebook.svg"));
|
|
9
|
+
var _XWhiteSubtract = _interopRequireDefault(require("../assets/circled/X-white-Subtract.svg"));
|
|
10
|
+
var _youtube = _interopRequireDefault(require("../assets/circled/youtube.svg"));
|
|
11
|
+
var _instagram = _interopRequireDefault(require("../assets/circled/instagram.svg"));
|
|
12
|
+
var _facebook2 = _interopRequireDefault(require("../assets/standard/facebook.svg"));
|
|
13
|
+
var _x = _interopRequireDefault(require("../assets/standard/x.svg"));
|
|
14
|
+
var _youtube2 = _interopRequireDefault(require("../assets/standard/youtube.svg"));
|
|
15
|
+
var _instagram2 = _interopRequireDefault(require("../assets/standard/instagram.svg"));
|
|
16
|
+
var _tiktok = _interopRequireDefault(require("../assets/standard/tiktok.svg"));
|
|
17
|
+
// Icons with drawn circular border (old style)
|
|
18
|
+
|
|
19
|
+
// Standard icons without drawn border (new style)
|
|
20
|
+
|
|
21
|
+
const circledIcons = exports.circledIcons = {
|
|
13
22
|
facebook: _facebook.default,
|
|
14
23
|
instagram: _instagram.default,
|
|
15
24
|
twitter: _XWhiteSubtract.default,
|
|
16
25
|
youtube: _youtube.default
|
|
17
|
-
};
|
|
26
|
+
};
|
|
27
|
+
const standardIcons = exports.standardIcons = {
|
|
28
|
+
facebook: _facebook2.default,
|
|
29
|
+
instagram: _instagram2.default,
|
|
30
|
+
x: _x.default,
|
|
31
|
+
youtube: _youtube2.default,
|
|
32
|
+
tiktok: _tiktok.default
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// Default export for backward compatibility (circled icons)
|
|
36
|
+
var _default = exports.default = circledIcons;
|
|
@@ -20,6 +20,11 @@ var _default = campaign => ({
|
|
|
20
20
|
title: 'Check out our Twitter account',
|
|
21
21
|
id: 'twitter'
|
|
22
22
|
},
|
|
23
|
+
x: {
|
|
24
|
+
url: `https://x.com/${campaign}`,
|
|
25
|
+
title: 'Check out our X account',
|
|
26
|
+
id: 'x'
|
|
27
|
+
},
|
|
23
28
|
youtube: {
|
|
24
29
|
url: 'https://www.youtube.com/channel/UCdF5u0ggeSETozc8fsprjcw',
|
|
25
30
|
title: 'Check out our YouTube channel',
|
|
@@ -29,6 +34,11 @@ var _default = campaign => ({
|
|
|
29
34
|
url: `https://www.instagram.com/${campaign}`,
|
|
30
35
|
title: 'Check out our Instagram account',
|
|
31
36
|
id: 'instagram'
|
|
37
|
+
},
|
|
38
|
+
tiktok: {
|
|
39
|
+
url: `https://www.tiktok.com/@${campaign}`,
|
|
40
|
+
title: 'Check out our TikTok account',
|
|
41
|
+
id: 'tiktok'
|
|
32
42
|
}
|
|
33
43
|
});
|
|
34
44
|
exports.default = _default;
|
|
@@ -16,7 +16,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
16
16
|
opacity: 0.6;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
19
|
+
.c4 {
|
|
20
20
|
width: 100%;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -26,11 +26,11 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
26
26
|
display: -ms-flexbox;
|
|
27
27
|
display: flex;
|
|
28
28
|
list-style-type: none;
|
|
29
|
-
|
|
30
|
-
-webkit-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
|
|
29
|
+
-webkit-box-pack: space-around;
|
|
30
|
+
-webkit-justify-content: space-around;
|
|
31
|
+
-ms-flex-pack: space-around;
|
|
32
|
+
justify-content: space-around;
|
|
33
|
+
margin: 0 auto 0 0;
|
|
34
34
|
padding: 0;
|
|
35
35
|
-webkit-align-items: center;
|
|
36
36
|
-webkit-box-align: center;
|
|
@@ -39,22 +39,27 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.c1 {
|
|
42
|
-
width:
|
|
42
|
+
width: 48px;
|
|
43
43
|
margin-right: 1.5rem;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
.c3 {
|
|
47
|
+
width: auto;
|
|
48
|
+
}
|
|
49
|
+
|
|
46
50
|
@media (min-width:740px) {
|
|
47
51
|
.c0 {
|
|
48
52
|
-webkit-box-pack: start;
|
|
49
53
|
-webkit-justify-content: start;
|
|
50
54
|
-ms-flex-pack: start;
|
|
51
55
|
justify-content: start;
|
|
56
|
+
margin: 0 auto 0 0;
|
|
52
57
|
}
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
@media (min-width:740px) {
|
|
56
61
|
.c1 {
|
|
57
|
-
|
|
62
|
+
margin-right: 1.5rem;
|
|
58
63
|
}
|
|
59
64
|
}
|
|
60
65
|
|
|
@@ -65,7 +70,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
65
70
|
className="c1"
|
|
66
71
|
>
|
|
67
72
|
<a
|
|
68
|
-
className="c2"
|
|
73
|
+
className="c2 c3"
|
|
69
74
|
data-test="icon-facebook"
|
|
70
75
|
href="https://www.facebook.com/comicrelief"
|
|
71
76
|
rel="noopener noreferrer"
|
|
@@ -74,7 +79,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
74
79
|
>
|
|
75
80
|
<img
|
|
76
81
|
alt="facebook"
|
|
77
|
-
className="
|
|
82
|
+
className="c4"
|
|
78
83
|
src="mock.asset"
|
|
79
84
|
/>
|
|
80
85
|
</a>
|
|
@@ -83,7 +88,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
83
88
|
className="c1"
|
|
84
89
|
>
|
|
85
90
|
<a
|
|
86
|
-
className="c2"
|
|
91
|
+
className="c2 c3"
|
|
87
92
|
data-test="icon-instagram"
|
|
88
93
|
href="https://www.instagram.com/comicrelief"
|
|
89
94
|
rel="noopener noreferrer"
|
|
@@ -92,7 +97,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
92
97
|
>
|
|
93
98
|
<img
|
|
94
99
|
alt="instagram"
|
|
95
|
-
className="
|
|
100
|
+
className="c4"
|
|
96
101
|
src="mock.asset"
|
|
97
102
|
/>
|
|
98
103
|
</a>
|
|
@@ -101,7 +106,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
101
106
|
className="c1"
|
|
102
107
|
>
|
|
103
108
|
<a
|
|
104
|
-
className="c2"
|
|
109
|
+
className="c2 c3"
|
|
105
110
|
data-test="icon-twitter"
|
|
106
111
|
href="https://twitter.com/comicrelief"
|
|
107
112
|
rel="noopener noreferrer"
|
|
@@ -110,7 +115,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
110
115
|
>
|
|
111
116
|
<img
|
|
112
117
|
alt="twitter"
|
|
113
|
-
className="
|
|
118
|
+
className="c4"
|
|
114
119
|
src="mock.asset"
|
|
115
120
|
/>
|
|
116
121
|
</a>
|
|
@@ -119,7 +124,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
119
124
|
className="c1"
|
|
120
125
|
>
|
|
121
126
|
<a
|
|
122
|
-
className="c2"
|
|
127
|
+
className="c2 c3"
|
|
123
128
|
data-test="icon-youtube"
|
|
124
129
|
href="https://www.youtube.com/channel/UCdF5u0ggeSETozc8fsprjcw"
|
|
125
130
|
rel="noopener noreferrer"
|
|
@@ -128,7 +133,7 @@ exports[`renders correctly with Comic Relief links 1`] = `
|
|
|
128
133
|
>
|
|
129
134
|
<img
|
|
130
135
|
alt="youtube"
|
|
131
|
-
className="
|
|
136
|
+
className="c4"
|
|
132
137
|
src="mock.asset"
|
|
133
138
|
/>
|
|
134
139
|
</a>
|
|
@@ -152,7 +157,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
152
157
|
opacity: 0.6;
|
|
153
158
|
}
|
|
154
159
|
|
|
155
|
-
.
|
|
160
|
+
.c4 {
|
|
156
161
|
width: 100%;
|
|
157
162
|
}
|
|
158
163
|
|
|
@@ -162,11 +167,11 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
162
167
|
display: -ms-flexbox;
|
|
163
168
|
display: flex;
|
|
164
169
|
list-style-type: none;
|
|
165
|
-
|
|
166
|
-
-webkit-
|
|
167
|
-
-
|
|
168
|
-
-
|
|
169
|
-
|
|
170
|
+
-webkit-box-pack: space-around;
|
|
171
|
+
-webkit-justify-content: space-around;
|
|
172
|
+
-ms-flex-pack: space-around;
|
|
173
|
+
justify-content: space-around;
|
|
174
|
+
margin: 0 auto 0 0;
|
|
170
175
|
padding: 0;
|
|
171
176
|
-webkit-align-items: center;
|
|
172
177
|
-webkit-box-align: center;
|
|
@@ -175,22 +180,27 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
175
180
|
}
|
|
176
181
|
|
|
177
182
|
.c1 {
|
|
178
|
-
width:
|
|
183
|
+
width: 48px;
|
|
179
184
|
margin-right: 1.5rem;
|
|
180
185
|
}
|
|
181
186
|
|
|
187
|
+
.c3 {
|
|
188
|
+
width: auto;
|
|
189
|
+
}
|
|
190
|
+
|
|
182
191
|
@media (min-width:740px) {
|
|
183
192
|
.c0 {
|
|
184
193
|
-webkit-box-pack: start;
|
|
185
194
|
-webkit-justify-content: start;
|
|
186
195
|
-ms-flex-pack: start;
|
|
187
196
|
justify-content: start;
|
|
197
|
+
margin: 0 auto 0 0;
|
|
188
198
|
}
|
|
189
199
|
}
|
|
190
200
|
|
|
191
201
|
@media (min-width:740px) {
|
|
192
202
|
.c1 {
|
|
193
|
-
|
|
203
|
+
margin-right: 1.5rem;
|
|
194
204
|
}
|
|
195
205
|
}
|
|
196
206
|
|
|
@@ -201,7 +211,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
201
211
|
className="c1"
|
|
202
212
|
>
|
|
203
213
|
<a
|
|
204
|
-
className="c2"
|
|
214
|
+
className="c2 c3"
|
|
205
215
|
data-test="icon-facebook"
|
|
206
216
|
href="https://www.facebook.com/rednoseday"
|
|
207
217
|
rel="noopener noreferrer"
|
|
@@ -210,7 +220,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
210
220
|
>
|
|
211
221
|
<img
|
|
212
222
|
alt="facebook"
|
|
213
|
-
className="
|
|
223
|
+
className="c4"
|
|
214
224
|
src="mock.asset"
|
|
215
225
|
/>
|
|
216
226
|
</a>
|
|
@@ -219,7 +229,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
219
229
|
className="c1"
|
|
220
230
|
>
|
|
221
231
|
<a
|
|
222
|
-
className="c2"
|
|
232
|
+
className="c2 c3"
|
|
223
233
|
data-test="icon-instagram"
|
|
224
234
|
href="https://www.instagram.com/rednoseday"
|
|
225
235
|
rel="noopener noreferrer"
|
|
@@ -228,7 +238,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
228
238
|
>
|
|
229
239
|
<img
|
|
230
240
|
alt="instagram"
|
|
231
|
-
className="
|
|
241
|
+
className="c4"
|
|
232
242
|
src="mock.asset"
|
|
233
243
|
/>
|
|
234
244
|
</a>
|
|
@@ -237,7 +247,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
237
247
|
className="c1"
|
|
238
248
|
>
|
|
239
249
|
<a
|
|
240
|
-
className="c2"
|
|
250
|
+
className="c2 c3"
|
|
241
251
|
data-test="icon-twitter"
|
|
242
252
|
href="https://twitter.com/rednoseday"
|
|
243
253
|
rel="noopener noreferrer"
|
|
@@ -246,7 +256,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
246
256
|
>
|
|
247
257
|
<img
|
|
248
258
|
alt="twitter"
|
|
249
|
-
className="
|
|
259
|
+
className="c4"
|
|
250
260
|
src="mock.asset"
|
|
251
261
|
/>
|
|
252
262
|
</a>
|
|
@@ -255,7 +265,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
255
265
|
className="c1"
|
|
256
266
|
>
|
|
257
267
|
<a
|
|
258
|
-
className="c2"
|
|
268
|
+
className="c2 c3"
|
|
259
269
|
data-test="icon-youtube"
|
|
260
270
|
href="https://www.youtube.com/channel/UCdF5u0ggeSETozc8fsprjcw"
|
|
261
271
|
rel="noopener noreferrer"
|
|
@@ -264,7 +274,7 @@ exports[`renders correctly with Red Nose Day links and self target 1`] = `
|
|
|
264
274
|
>
|
|
265
275
|
<img
|
|
266
276
|
alt="youtube"
|
|
267
|
-
className="
|
|
277
|
+
className="c4"
|
|
268
278
|
src="mock.asset"
|
|
269
279
|
/>
|
|
270
280
|
</a>
|
|
@@ -288,7 +298,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
288
298
|
opacity: 0.6;
|
|
289
299
|
}
|
|
290
300
|
|
|
291
|
-
.
|
|
301
|
+
.c4 {
|
|
292
302
|
width: 100%;
|
|
293
303
|
}
|
|
294
304
|
|
|
@@ -298,11 +308,11 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
298
308
|
display: -ms-flexbox;
|
|
299
309
|
display: flex;
|
|
300
310
|
list-style-type: none;
|
|
301
|
-
|
|
302
|
-
-webkit-
|
|
303
|
-
-
|
|
304
|
-
-
|
|
305
|
-
|
|
311
|
+
-webkit-box-pack: space-around;
|
|
312
|
+
-webkit-justify-content: space-around;
|
|
313
|
+
-ms-flex-pack: space-around;
|
|
314
|
+
justify-content: space-around;
|
|
315
|
+
margin: 0 auto 0 0;
|
|
306
316
|
padding: 0;
|
|
307
317
|
-webkit-align-items: center;
|
|
308
318
|
-webkit-box-align: center;
|
|
@@ -311,22 +321,27 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
311
321
|
}
|
|
312
322
|
|
|
313
323
|
.c1 {
|
|
314
|
-
width:
|
|
324
|
+
width: 48px;
|
|
315
325
|
margin-right: 1.5rem;
|
|
316
326
|
}
|
|
317
327
|
|
|
328
|
+
.c3 {
|
|
329
|
+
width: auto;
|
|
330
|
+
}
|
|
331
|
+
|
|
318
332
|
@media (min-width:740px) {
|
|
319
333
|
.c0 {
|
|
320
334
|
-webkit-box-pack: start;
|
|
321
335
|
-webkit-justify-content: start;
|
|
322
336
|
-ms-flex-pack: start;
|
|
323
337
|
justify-content: start;
|
|
338
|
+
margin: 0 auto 0 0;
|
|
324
339
|
}
|
|
325
340
|
}
|
|
326
341
|
|
|
327
342
|
@media (min-width:740px) {
|
|
328
343
|
.c1 {
|
|
329
|
-
|
|
344
|
+
margin-right: 1.5rem;
|
|
330
345
|
}
|
|
331
346
|
}
|
|
332
347
|
|
|
@@ -337,7 +352,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
337
352
|
className="c1"
|
|
338
353
|
>
|
|
339
354
|
<a
|
|
340
|
-
className="c2"
|
|
355
|
+
className="c2 c3"
|
|
341
356
|
data-test="icon-facebook"
|
|
342
357
|
href="https://www.facebook.com/sportrelief"
|
|
343
358
|
rel="noopener noreferrer"
|
|
@@ -346,7 +361,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
346
361
|
>
|
|
347
362
|
<img
|
|
348
363
|
alt="facebook"
|
|
349
|
-
className="
|
|
364
|
+
className="c4"
|
|
350
365
|
src="mock.asset"
|
|
351
366
|
/>
|
|
352
367
|
</a>
|
|
@@ -355,7 +370,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
355
370
|
className="c1"
|
|
356
371
|
>
|
|
357
372
|
<a
|
|
358
|
-
className="c2"
|
|
373
|
+
className="c2 c3"
|
|
359
374
|
data-test="icon-instagram"
|
|
360
375
|
href="https://www.instagram.com/sportrelief"
|
|
361
376
|
rel="noopener noreferrer"
|
|
@@ -364,7 +379,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
364
379
|
>
|
|
365
380
|
<img
|
|
366
381
|
alt="instagram"
|
|
367
|
-
className="
|
|
382
|
+
className="c4"
|
|
368
383
|
src="mock.asset"
|
|
369
384
|
/>
|
|
370
385
|
</a>
|
|
@@ -373,7 +388,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
373
388
|
className="c1"
|
|
374
389
|
>
|
|
375
390
|
<a
|
|
376
|
-
className="c2"
|
|
391
|
+
className="c2 c3"
|
|
377
392
|
data-test="icon-twitter"
|
|
378
393
|
href="https://twitter.com/sportrelief"
|
|
379
394
|
rel="noopener noreferrer"
|
|
@@ -382,7 +397,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
382
397
|
>
|
|
383
398
|
<img
|
|
384
399
|
alt="twitter"
|
|
385
|
-
className="
|
|
400
|
+
className="c4"
|
|
386
401
|
src="mock.asset"
|
|
387
402
|
/>
|
|
388
403
|
</a>
|
|
@@ -391,7 +406,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
391
406
|
className="c1"
|
|
392
407
|
>
|
|
393
408
|
<a
|
|
394
|
-
className="c2"
|
|
409
|
+
className="c2 c3"
|
|
395
410
|
data-test="icon-youtube"
|
|
396
411
|
href="https://www.youtube.com/channel/UCdF5u0ggeSETozc8fsprjcw"
|
|
397
412
|
rel="noopener noreferrer"
|
|
@@ -400,7 +415,7 @@ exports[`renders correctly with Sport Relief links 1`] = `
|
|
|
400
415
|
>
|
|
401
416
|
<img
|
|
402
417
|
alt="youtube"
|
|
403
|
-
className="
|
|
418
|
+
className="c4"
|
|
404
419
|
src="mock.asset"
|
|
405
420
|
/>
|
|
406
421
|
</a>
|