@comicrelief/component-library 7.34.0 → 7.35.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.
@@ -0,0 +1,317 @@
1
+ import React from "react";
2
+ import "jest-styled-components";
3
+
4
+ import renderWithTheme from "../../../hoc/shallowWithTheme";
5
+ import WYMDCarousel from "./WYMDCarousel";
6
+ const { carouselItemsComplete } = require("../../../styleguide/data/data");
7
+
8
+ it("renders correctly", () => {
9
+ const tree = renderWithTheme(
10
+ <WYMDCarousel data={carouselItemsComplete} />
11
+ ).toJSON();
12
+
13
+ expect(tree).toMatchInlineSnapshot(`
14
+ .c1 {
15
+ font-size: 1rem;
16
+ line-height: 1rem;
17
+ text-transform: inherit;
18
+ font-weight: bold;
19
+ line-height: normal;
20
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
21
+ }
22
+
23
+ .c3 {
24
+ color: #E52630;
25
+ font-size: 1rem;
26
+ line-height: 1rem;
27
+ text-transform: uppercase;
28
+ font-weight: normal;
29
+ font-family: 'Anton',Impact,sans-serif;
30
+ -webkit-letter-spacing: 0.03rem;
31
+ -moz-letter-spacing: 0.03rem;
32
+ -ms-letter-spacing: 0.03rem;
33
+ letter-spacing: 0.03rem;
34
+ }
35
+
36
+ .c5 {
37
+ font-size: 1rem;
38
+ line-height: 1rem;
39
+ text-transform: inherit;
40
+ line-height: normal;
41
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
42
+ }
43
+
44
+ .c2 {
45
+ width: 75%;
46
+ margin: 0 auto;
47
+ }
48
+
49
+ .c2:first-child {
50
+ margin-bottom: 2rem;
51
+ text-align: center;
52
+ font-size: 20px;
53
+ line-height: 23px;
54
+ }
55
+
56
+ .c4 {
57
+ margin-bottom: 2rem;
58
+ text-align: center;
59
+ font-size: 40px;
60
+ line-height: 40px;
61
+ }
62
+
63
+ .c6 {
64
+ margin-bottom: 0;
65
+ text-align: center;
66
+ font-size: 14px;
67
+ line-height: 17px;
68
+ }
69
+
70
+ .c0 {
71
+ height: 100%;
72
+ padding: 1.5rem;
73
+ }
74
+
75
+ .c0 .carousel {
76
+ position: relative;
77
+ margin: 0 auto;
78
+ padding-top: 2rem;
79
+ }
80
+
81
+ .c0 .carousel button.carousel__back-button,
82
+ .c0 .carousel button.carousel__next-button {
83
+ position: absolute;
84
+ left: 0;
85
+ top: 0;
86
+ width: 33% !important;
87
+ height: 100%;
88
+ padding: 0 !important;
89
+ box-shadow: none;
90
+ text-indent: -9999px;
91
+ background-color: transparent;
92
+ border: none;
93
+ }
94
+
95
+ .c0 .carousel button.carousel__back-button:before,
96
+ .c0 .carousel button.carousel__next-button:before {
97
+ content: '';
98
+ position: absolute;
99
+ width: 30px;
100
+ height: 30px;
101
+ top: 50%;
102
+ left: 0;
103
+ -webkit-transform: translate(0,-50%) rotate(90deg);
104
+ -ms-transform: translate(0,-50%) rotate(90deg);
105
+ transform: translate(0,-50%) rotate(90deg);
106
+ }
107
+
108
+ .c0 .carousel button.carousel__back-button:after,
109
+ .c0 .carousel button.carousel__next-button:after {
110
+ content: "";
111
+ position: absolute;
112
+ top: 0;
113
+ left: 0;
114
+ width: 50%;
115
+ height: 100%;
116
+ -webkit-transition: opacity 0.2s linear;
117
+ transition: opacity 0.2s linear;
118
+ background: linear-gradient(90deg,rgba(255,255,255,0.95),rgba(255,255,255,0.5),rgba(255,255,255,0));
119
+ }
120
+
121
+ .c0 .carousel button.carousel__back-button:hover:after,
122
+ .c0 .carousel button.carousel__next-button:hover:after {
123
+ opacity: 0.5;
124
+ }
125
+
126
+ .c0 .carousel button.carousel__next-button {
127
+ left: auto;
128
+ right: 0;
129
+ }
130
+
131
+ .c0 .carousel button.carousel__next-button:before {
132
+ -webkit-transform: translate(0,-50%) rotate(-90deg);
133
+ -ms-transform: translate(0,-50%) rotate(-90deg);
134
+ transform: translate(0,-50%) rotate(-90deg);
135
+ }
136
+
137
+ .c0 .carousel button.carousel__next-button:after {
138
+ left: auto;
139
+ right: 0;
140
+ background: linear-gradient(270deg,rgba(255,255,255,0.95),rgba(255,255,255,0.75),rgba(255,255,255,0));
141
+ }
142
+
143
+ .c0 .carousel .wymd-carousel {
144
+ -webkit-transition: -webkit-transform 0.5s;
145
+ -webkit-transition: -webkit-transform 0.5s;
146
+ transition: -webkit-transform 0.5s;
147
+ -o-transition: transform 0.5s;
148
+ -webkit-transition: -webkit-transform 0.5s;
149
+ -webkit-transition: transform 0.5s;
150
+ transition: transform 0.5s;
151
+ -webkit-transform: 0.5s;
152
+ will-change: transform;
153
+ }
154
+
155
+ .c0 .carousel .wymd-carousel .last-slide .image-wrapper:after {
156
+ content: none;
157
+ }
158
+
159
+ .c0 .carousel .wymd-carousel .carousel__slide {
160
+ padding-bottom: 500px !important;
161
+ }
162
+
163
+ .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide {
164
+ text-align: center;
165
+ display: -webkit-inline-box;
166
+ display: -webkit-inline-flex;
167
+ display: -ms-inline-flexbox;
168
+ display: inline-flex;
169
+ -webkit-align-items: center;
170
+ -webkit-box-align: center;
171
+ -ms-flex-align: center;
172
+ align-items: center;
173
+ -webkit-box-pack: start;
174
+ -webkit-justify-content: flex-start;
175
+ -ms-flex-pack: start;
176
+ justify-content: flex-start;
177
+ -webkit-flex-direction: column;
178
+ -ms-flex-direction: column;
179
+ flex-direction: column;
180
+ }
181
+
182
+ @media (min-width:1024px) {
183
+ .c2:first-child {
184
+ font-size: 21px;
185
+ line-height: 23px;
186
+ }
187
+ }
188
+
189
+ @media (min-width:740px) {
190
+ .c4 {
191
+ font-size: 60px;
192
+ line-height: 60px;
193
+ }
194
+ }
195
+
196
+ @media (min-width:1024px) {
197
+ .c4 {
198
+ font-size: 75px;
199
+ line-height: 78px;
200
+ }
201
+ }
202
+
203
+ @media (min-width:740px) {
204
+ .c6 {
205
+ font-size: 17px;
206
+ line-height: 19px;
207
+ }
208
+ }
209
+
210
+ @media (min-width:1024px) {
211
+ .c0 .carousel {
212
+ padding-top: 3rem;
213
+ }
214
+ }
215
+
216
+ @media (min-width:1024px) {
217
+ .c0 .carousel button.carousel__back-button,
218
+ .c0 .carousel button.carousel__next-button {
219
+ width: 33.3% !important;
220
+ }
221
+
222
+ .c0 .carousel button.carousel__back-button:after,
223
+ .c0 .carousel button.carousel__next-button:after {
224
+ width: 100%;
225
+ }
226
+ }
227
+
228
+ @media (min-width:1024px) {
229
+ .c0 .carousel .wymd-carousel .carousel__slide {
230
+ padding-bottom: 550px !important;
231
+ }
232
+
233
+ .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide > div:first-child {
234
+ -webkit-transition: -webkit-transform 0.5s ease;
235
+ -webkit-transition: transform 0.5s ease;
236
+ transition: transform 0.5s ease;
237
+ -webkit-transform: scale(0.5);
238
+ -ms-transform: scale(0.5);
239
+ transform: scale(0.5);
240
+ }
241
+
242
+ .c0 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide > div:first-child:after {
243
+ -webkit-transition: -webkit-transform 0.5s ease,width 0.5s ease,right 0.5s ease;
244
+ -webkit-transition: transform 0.5s ease,width 0.5s ease,right 0.5s ease;
245
+ transition: transform 0.5s ease,width 0.5s ease,right 0.5s ease;
246
+ right: calc(-300% - 6px);
247
+ -webkit-transform: scale(1);
248
+ -ms-transform: scale(1);
249
+ transform: scale(1);
250
+ width: 300%;
251
+ }
252
+
253
+ .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible .carousel__inner-slide > div:first-child:after {
254
+ right: calc(-250% - 6px);
255
+ -webkit-transform: scale(1);
256
+ -ms-transform: scale(1);
257
+ transform: scale(1);
258
+ width: 250%;
259
+ }
260
+
261
+ .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible .carousel__inner-slide > div:first-child {
262
+ -webkit-transform: scale(1);
263
+ -ms-transform: scale(1);
264
+ transform: scale(1);
265
+ }
266
+
267
+ .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible .carousel__inner-slide > div:first-child:after {
268
+ right: calc(-187% - 6px);
269
+ -webkit-transform: scale(0.5);
270
+ -ms-transform: scale(0.5);
271
+ transform: scale(0.5);
272
+ width: 250%;
273
+ }
274
+
275
+ .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible + .carousel__slide--visible > div > div:first-child {
276
+ -webkit-transform: scale(0.5);
277
+ -ms-transform: scale(0.5);
278
+ transform: scale(0.5);
279
+ }
280
+
281
+ .c0 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible + .carousel__slide--visible + .carousel__slide--visible > div > div:first-child:after {
282
+ right: calc(-250% - 6px);
283
+ -webkit-transform: scale(1);
284
+ -ms-transform: scale(1);
285
+ transform: scale(1);
286
+ width: 250%;
287
+ }
288
+ }
289
+
290
+ <div
291
+ className="c0 CarouselWrapper"
292
+ id="7zdR84QkZwrTh9NWx2H926"
293
+ >
294
+ <p
295
+ className="c1 c2"
296
+ color="inherit"
297
+ size="s"
298
+ >
299
+ Over the past two years, we’ve supported
300
+ </p>
301
+ <h1
302
+ className="c3 c4"
303
+ color="red"
304
+ size="s"
305
+ >
306
+ 11.7 million people
307
+ </h1>
308
+ <p
309
+ className="c5 c6"
310
+ color="inherit"
311
+ size="s"
312
+ >
313
+ including...
314
+ </p>
315
+ </div>
316
+ `);
317
+ });
@@ -0,0 +1,41 @@
1
+ const formatItems = thisData => {
2
+ // Somewhere to store our formatted items:
3
+ const allValidNodes = [];
4
+
5
+ // Set at a Content Type field level, so doesn't need to be dynamic:
6
+ const possibleNumberOfNodes = 12;
7
+
8
+ // Grab ALL keys from our raw data:
9
+ const theseKeys = Object.keys(thisData);
10
+
11
+ // Iterate over all of the data, using a dynamic key prefix to filter
12
+ // what we need in order to create each object for our allValidNodes array:
13
+ for (let i = 1; i <= possibleNumberOfNodes; i += 1) {
14
+ // Create a dynamic key prefix based on the counter, obviously matching
15
+ // the naming convention set at the Content Type level in the CMS
16
+ const thisKeyPrefix = `node${i}_`;
17
+
18
+ // Make an array of objects, each object representing a specific node and its fields:
19
+ const thisNodeContent = theseKeys
20
+ .filter(key => key.includes(thisKeyPrefix))
21
+ .reduce((thisObj, thisKey) => {
22
+ const thisFilteredObj = thisObj;
23
+ // Only assign if we have actually have a value; only the fields for nodes 1-4 are required:
24
+ if (thisData[thisKey]) {
25
+ // Use a repeatable, generic key so rendering is a LOT easier:
26
+ const simplifedKey = thisKey.split('_').pop().toLowerCase();
27
+ thisFilteredObj[simplifedKey] = thisData[thisKey];
28
+ }
29
+ return thisFilteredObj;
30
+ }, {});
31
+
32
+ // Add our new object to the allValidNodes array, but only if we've got all 3 necessary fields:
33
+ if (Object.keys(thisNodeContent).length === 3) {
34
+ allValidNodes.push(thisNodeContent);
35
+ }
36
+ }
37
+
38
+ return allValidNodes;
39
+ };
40
+
41
+ export default formatItems;
@@ -49,6 +49,220 @@ const testImpactSliderItems = [
49
49
  }
50
50
  ];
51
51
 
52
+ const carouselItemsComplete = {
53
+ __typename: 'ContentfulWhatYourMoneyDoesCarousel',
54
+ contentful_id: '7zdR84QkZwrTh9NWx2H926',
55
+ mobileHeight: 500,
56
+ desktopHeight: 550,
57
+ heading: 'Over the past two years, we’ve supported',
58
+ peopleHelpedText: '11.7 million people',
59
+ autoPlay: true,
60
+ node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
61
+ node1_Amount: '1,000',
62
+ node1_Image: {
63
+ file: {
64
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
65
+ }
66
+ },
67
+ node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support. This node has a load of copy to make things extra difficult',
68
+ node2_Amount: '2,000',
69
+ node2_Image: {
70
+ file: {
71
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
72
+ }
73
+ },
74
+ node3_Copy: 'NODE3: people in the UK experiencing poverty to access advice and support.',
75
+ node3_Amount: '3,000',
76
+ node3_Image: {
77
+ file: {
78
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
79
+ }
80
+ },
81
+ node4_Copy: 'NODE4: people in the UK experiencing poverty to access advice and support.',
82
+ node4_Amount: '4,000',
83
+ node4_Image: {
84
+ file: {
85
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
86
+ }
87
+ },
88
+ node5_Copy: 'NODE5: people in the UK experiencing poverty to access advice and support.',
89
+ node5_Amount: '5,000',
90
+ node5_Image: {
91
+ file: {
92
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
93
+ }
94
+ },
95
+ node6_Copy: 'NODE6: people in the UK experiencing poverty to access advice and support.',
96
+ node6_Amount: '6,000',
97
+ node6_Image: {
98
+ file: {
99
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
100
+ }
101
+ },
102
+ node7_Copy: 'NODE7: people in the UK experiencing poverty to access advice and support.',
103
+ node7_Amount: '7,000',
104
+ node7_Image: {
105
+ file: {
106
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
107
+ }
108
+ },
109
+ node8_Copy: 'NODE8: people in the UK experiencing poverty to access advice and support.',
110
+ node8_Amount: '8,000',
111
+ node8_Image: {
112
+ file: {
113
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
114
+ }
115
+ },
116
+ node9_Copy: 'NODE9: people in the UK experiencing poverty to access advice and support.',
117
+ node9_Amount: '9,000',
118
+ node9_Image: {
119
+ file: {
120
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
121
+ }
122
+ },
123
+ node10_Copy: 'NODE10: people in the UK experiencing poverty to access advice and support.',
124
+ node10_Amount: '10,000',
125
+ node10_Image: {
126
+ file: {
127
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
128
+ }
129
+ },
130
+ node11_Copy: 'NODE11: people in the UK experiencing poverty to access advice and support.',
131
+ node11_Amount: '11,000',
132
+ node11_Image: {
133
+ file: {
134
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
135
+ }
136
+ },
137
+ node12_Copy: 'NODE12: people in the UK experiencing poverty to access advice and support.750,000',
138
+ node12_Amount: '12,000',
139
+ node12_Image: {
140
+ file: {
141
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
142
+ }
143
+ }
144
+ };
145
+
146
+ const carouselItemsIncomplete = {
147
+ __typename: 'ContentfulWhatYourMoneyDoesCarousel',
148
+ contentful_id: '7zdR84QkZwrTh9NWx2H9262',
149
+ mobileHeight: 500,
150
+ desktopHeight: 550,
151
+ heading: 'Over the past two years, we’ve supported',
152
+ peopleHelpedText: '11.7 million people',
153
+ autoPlay: false,
154
+ node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
155
+ node1_Amount: '1,000',
156
+ node1_Image: {
157
+ file: {
158
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
159
+ }
160
+ },
161
+ node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support.',
162
+ node2_Amount: '2,000',
163
+ node2_Image: {
164
+ file: {
165
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
166
+ }
167
+ },
168
+ node3_Copy: 'NODE3: people in the UK experiencing poverty to access advice and support.',
169
+ node3_Amount: '3,000',
170
+ node3_Image: {
171
+ file: {
172
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
173
+ }
174
+ },
175
+ node4_Copy: 'NODE4: people in the UK experiencing poverty to access advice and support.',
176
+ node4_Amount: '4,000',
177
+ node4_Image: {
178
+ file: {
179
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
180
+ }
181
+ },
182
+ node5_Copy: 'NODE5: people in the UK experiencing poverty to access advice and support.',
183
+ node5_Image: {
184
+ file: {
185
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
186
+ }
187
+ },
188
+ node6_Copy: 'NODE6: people in the UK experiencing poverty to access advice and support.',
189
+ node6_Amount: '6,000',
190
+ node6_Image: null,
191
+ node7_Copy: null,
192
+ node7_Amount: null,
193
+ node7_Image: null,
194
+ node8_Copy: null,
195
+ node8_Amount: null,
196
+ node8_Image: {
197
+ file: {
198
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
199
+ }
200
+ },
201
+ node9_Copy: 'NODE9: people in the UK experiencing poverty to access advice and support.',
202
+ node9_Amount: null,
203
+ node9_Image: null,
204
+ node10_Copy: null,
205
+ node10_Amount: '10,000',
206
+ node10_Image: {
207
+ file: {
208
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
209
+ }
210
+ },
211
+ node11_Copy: 'NODE11: people in the UK experiencing poverty to access advice and support.',
212
+ node11_Amount: '11,000',
213
+ node11_Image: {
214
+ file: {
215
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
216
+ }
217
+ },
218
+ node12_Copy: 'people in the UK experiencing poverty to access advice and support.750,000',
219
+ node12_Amount: null,
220
+ node12_Image: {
221
+ file: {
222
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
223
+ }
224
+ }
225
+ };
226
+
227
+ const carouselItemsMinimal = {
228
+ __typename: 'ContentfulWhatYourMoneyDoesCarousel',
229
+ contentful_id: '7zdR84QkZwrTh9NWx2H9263',
230
+ mobileHeight: 500,
231
+ desktopHeight: 550,
232
+ heading: 'Over the past two years, we’ve supported',
233
+ peopleHelpedText: '11.7 million people',
234
+ autoPlay: false,
235
+ node1_Copy: 'NODE1: people in the UK experiencing poverty to access advice and support.',
236
+ node1_Amount: '1,000',
237
+ node1_Image: {
238
+ file: {
239
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
240
+ }
241
+ },
242
+ node2_Copy: 'NODE2: people in the UK experiencing poverty to access advice and support.',
243
+ node2_Amount: '2,000',
244
+ node2_Image: {
245
+ file: {
246
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
247
+ }
248
+ },
249
+ node3_Copy: 'NODE3: people in the UK experiencing poverty to access advice and support.',
250
+ node3_Amount: '3,000',
251
+ node3_Image: {
252
+ file: {
253
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
254
+ }
255
+ },
256
+ node4_Copy: 'NODE4: people in the UK experiencing poverty to access advice and support.',
257
+ node4_Amount: '4,000',
258
+ node4_Image: {
259
+ file: {
260
+ url: '//images.ctfassets.net/zsfivwzfgl3t/45yv3H0XZsvsySHtutQ8vb/1fb6d1afe4037c7dccde743a747f6b4f/Test-Carousel-Icon.png'
261
+ }
262
+ }
263
+ };
264
+
52
265
  export {
53
- defaultData, mobileImages, testImpactSliderItems
266
+ defaultData, mobileImages, testImpactSliderItems,
267
+ carouselItemsComplete, carouselItemsIncomplete, carouselItemsMinimal
54
268
  };