@comicrelief/component-library 8.47.4 → 8.48.1

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.
Files changed (56) hide show
  1. package/.eslintrc +3 -0
  2. package/dist/components/Atoms/Input/Input.md +1 -0
  3. package/dist/components/Molecules/CTAMultiCard/ArrowIcon.js +29 -0
  4. package/dist/components/Molecules/CTAMultiCard/CTAMultiCard.js +54 -0
  5. package/dist/components/Molecules/CTAMultiCard/CTAMultiCard.md +104 -0
  6. package/dist/components/Molecules/CTAMultiCard/CTAMultiCard.style.js +156 -0
  7. package/dist/components/Molecules/CTAMultiCard/CTAMultiCard.test.js +70 -0
  8. package/dist/components/Molecules/CTAMultiCard/SingleCard.js +56 -0
  9. package/dist/components/Molecules/CTAMultiCard/__snapshots__/CTAMultiCard.test.js.snap +2292 -0
  10. package/dist/components/Molecules/CTAMultiCard/example_data.json +107 -0
  11. package/dist/components/Molecules/CardDs/CardDs.md +1 -1
  12. package/dist/components/Molecules/Countdown/Countdown.js +12 -5
  13. package/dist/components/Molecules/Countdown/Countdown.md +1 -1
  14. package/dist/components/Molecules/HeroBanner/HeroBanner.js +1 -1
  15. package/dist/components/Organisms/Header/Nav/Nav.js +1 -1
  16. package/dist/components/Organisms/Header/data/data-extended.js +22 -22
  17. package/dist/components/Organisms/Header/data/data-live.js +1 -1
  18. package/dist/components/Organisms/Header/data/data.js +2 -2
  19. package/dist/components/Organisms/Header2025/Header2025.js +2 -2
  20. package/dist/components/Organisms/Header2025/Header2025.md +2 -2
  21. package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.js +1 -1
  22. package/dist/components/Organisms/Header2025/data/data-extended.js +23 -23
  23. package/dist/components/Organisms/Header2025/data/data-live--minimal.js +1 -1
  24. package/dist/components/Organisms/Header2025/data/data-live.js +2 -2
  25. package/dist/components/Organisms/Header2025/data/data.js +13 -13
  26. package/dist/index.js +7 -0
  27. package/dist/styleguide/assets/challenge-1.jpg +0 -0
  28. package/dist/{components/Molecules/HeroBanner → theme/shared}/assets/alt_cta_underline.svg +1 -0
  29. package/package.json +1 -1
  30. package/src/components/Atoms/Input/Input.md +1 -0
  31. package/src/components/Molecules/CTAMultiCard/ArrowIcon.js +22 -0
  32. package/src/components/Molecules/CTAMultiCard/CTAMultiCard.js +94 -0
  33. package/src/components/Molecules/CTAMultiCard/CTAMultiCard.md +104 -0
  34. package/src/components/Molecules/CTAMultiCard/CTAMultiCard.style.js +251 -0
  35. package/src/components/Molecules/CTAMultiCard/CTAMultiCard.test.js +86 -0
  36. package/src/components/Molecules/CTAMultiCard/SingleCard.js +100 -0
  37. package/src/components/Molecules/CTAMultiCard/__snapshots__/CTAMultiCard.test.js.snap +2292 -0
  38. package/src/components/Molecules/CTAMultiCard/example_data.json +107 -0
  39. package/src/components/Molecules/CardDs/CardDs.md +1 -1
  40. package/src/components/Molecules/Countdown/Countdown.js +12 -5
  41. package/src/components/Molecules/Countdown/Countdown.md +1 -1
  42. package/src/components/Molecules/HeroBanner/HeroBanner.js +1 -1
  43. package/src/components/Organisms/Header/Nav/Nav.js +2 -1
  44. package/src/components/Organisms/Header/data/data-extended.js +22 -22
  45. package/src/components/Organisms/Header/data/data-live.js +1 -1
  46. package/src/components/Organisms/Header/data/data.js +2 -2
  47. package/src/components/Organisms/Header2025/Header2025.js +5 -3
  48. package/src/components/Organisms/Header2025/Header2025.md +2 -2
  49. package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.js +7 -4
  50. package/src/components/Organisms/Header2025/data/data-extended.js +23 -23
  51. package/src/components/Organisms/Header2025/data/data-live--minimal.js +1 -1
  52. package/src/components/Organisms/Header2025/data/data-live.js +2 -2
  53. package/src/components/Organisms/Header2025/data/data.js +13 -13
  54. package/src/index.js +1 -0
  55. package/src/styleguide/assets/challenge-1.jpg +0 -0
  56. package/src/{components/Molecules/HeroBanner → theme/shared}/assets/alt_cta_underline.svg +1 -0
@@ -0,0 +1,2292 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`handles data structure correctly 1`] = `
4
+ .c5 {
5
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
6
+ font-weight: 400;
7
+ text-transform: inherit;
8
+ -webkit-letter-spacing: 0;
9
+ -moz-letter-spacing: 0;
10
+ -ms-letter-spacing: 0;
11
+ letter-spacing: 0;
12
+ font-size: 1rem;
13
+ line-height: 1.25rem;
14
+ }
15
+
16
+ .c5 span {
17
+ font-size: inherit;
18
+ line-height: inherit;
19
+ }
20
+
21
+ .c13 {
22
+ display: inline-block;
23
+ color: #FFFFFF;
24
+ fill: currentColor;
25
+ }
26
+
27
+ .c0 {
28
+ display: -webkit-box;
29
+ display: -webkit-flex;
30
+ display: -ms-flexbox;
31
+ display: flex;
32
+ -webkit-flex-direction: column;
33
+ -ms-flex-direction: column;
34
+ flex-direction: column;
35
+ width: 100%;
36
+ background: #FFFFFF;
37
+ gap: 1rem;
38
+ }
39
+
40
+ .c8 {
41
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
42
+ font-weight: 400;
43
+ text-transform: inherit;
44
+ -webkit-letter-spacing: 0;
45
+ -moz-letter-spacing: 0;
46
+ -ms-letter-spacing: 0;
47
+ letter-spacing: 0;
48
+ font-size: 1rem;
49
+ line-height: 1.25rem;
50
+ color: #969598;
51
+ font-weight: bold;
52
+ -webkit-text-decoration: none;
53
+ text-decoration: none;
54
+ position: relative;
55
+ display: inline-block;
56
+ }
57
+
58
+ .c10 {
59
+ height: 4px;
60
+ width: 100%;
61
+ position: absolute;
62
+ left: 0;
63
+ bottom: -5px;
64
+ -webkit-transition: opacity 0.15s 0.1s;
65
+ transition: opacity 0.15s 0.1s;
66
+ opacity: 0;
67
+ pointer-events: none;
68
+ }
69
+
70
+ .c12 {
71
+ width: 32px;
72
+ height: 32px;
73
+ border-radius: 50%;
74
+ background: #969598;
75
+ display: -webkit-box;
76
+ display: -webkit-flex;
77
+ display: -ms-flexbox;
78
+ display: flex;
79
+ -webkit-align-items: center;
80
+ -webkit-box-align: center;
81
+ -ms-flex-align: center;
82
+ align-items: center;
83
+ -webkit-box-pack: center;
84
+ -webkit-justify-content: center;
85
+ -ms-flex-pack: center;
86
+ justify-content: center;
87
+ -webkit-flex-shrink: 0;
88
+ -ms-flex-negative: 0;
89
+ flex-shrink: 0;
90
+ }
91
+
92
+ .c2 {
93
+ display: -webkit-box;
94
+ display: -webkit-flex;
95
+ display: -ms-flexbox;
96
+ display: flex;
97
+ position: relative;
98
+ -webkit-flex-direction: column;
99
+ -ms-flex-direction: column;
100
+ flex-direction: column;
101
+ width: 100%;
102
+ height: 100%;
103
+ background: transparent;
104
+ border-radius: 1rem;
105
+ box-shadow: 0 0 1rem rgba(0,0,0,0.15);
106
+ -webkit-text-decoration: none;
107
+ text-decoration: none;
108
+ overflow: hidden;
109
+ cursor: pointer;
110
+ }
111
+
112
+ .c2 img {
113
+ -webkit-transform: scale(1.02);
114
+ -ms-transform: scale(1.02);
115
+ transform: scale(1.02);
116
+ -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
117
+ -webkit-transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
118
+ transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
119
+ }
120
+
121
+ .c1 {
122
+ width: 100%;
123
+ -webkit-flex-shrink: 0;
124
+ -ms-flex-negative: 0;
125
+ flex-shrink: 0;
126
+ display: -webkit-box;
127
+ display: -webkit-flex;
128
+ display: -ms-flexbox;
129
+ display: flex;
130
+ -webkit-flex-direction: column;
131
+ -ms-flex-direction: column;
132
+ flex-direction: column;
133
+ -webkit-align-self: stretch;
134
+ -ms-flex-item-align: stretch;
135
+ align-self: stretch;
136
+ }
137
+
138
+ .c3 {
139
+ width: 100%;
140
+ background: inherit;
141
+ display: -webkit-box;
142
+ display: -webkit-flex;
143
+ display: -ms-flexbox;
144
+ display: flex;
145
+ -webkit-flex-direction: column;
146
+ -ms-flex-direction: column;
147
+ flex-direction: column;
148
+ padding: 2rem;
149
+ -webkit-flex: 1;
150
+ -ms-flex: 1;
151
+ flex: 1;
152
+ min-height: 0;
153
+ border-radius: 0 0 1rem 1rem;
154
+ }
155
+
156
+ .c4 {
157
+ -webkit-flex: 1;
158
+ -ms-flex: 1;
159
+ flex: 1;
160
+ display: -webkit-box;
161
+ display: -webkit-flex;
162
+ display: -ms-flexbox;
163
+ display: flex;
164
+ -webkit-flex-direction: column;
165
+ -ms-flex-direction: column;
166
+ flex-direction: column;
167
+ min-height: 0;
168
+ }
169
+
170
+ .c6 {
171
+ width: 100%;
172
+ display: -webkit-box;
173
+ display: -webkit-flex;
174
+ display: -ms-flexbox;
175
+ display: flex;
176
+ -webkit-flex-direction: row;
177
+ -ms-flex-direction: row;
178
+ flex-direction: row;
179
+ -webkit-align-items: center;
180
+ -webkit-box-align: center;
181
+ -ms-flex-align: center;
182
+ align-items: center;
183
+ -webkit-box-pack: justify;
184
+ -webkit-justify-content: space-between;
185
+ -ms-flex-pack: justify;
186
+ justify-content: space-between;
187
+ margin-top: auto;
188
+ padding-top: 1rem;
189
+ }
190
+
191
+ @media (min-width:740px) {
192
+ .c5 {
193
+ font-size: 1rem;
194
+ line-height: 1.25rem;
195
+ }
196
+ }
197
+
198
+ @media (min-width:1024px) {
199
+ .c5 {
200
+ font-size: 1.125rem;
201
+ line-height: 1.375rem;
202
+ }
203
+ }
204
+
205
+ @media (max-width:739px) {
206
+ .c0 {
207
+ -webkit-flex-direction: column;
208
+ -ms-flex-direction: column;
209
+ flex-direction: column;
210
+ background: transparent;
211
+ }
212
+ }
213
+
214
+ @media (min-width:740px) {
215
+ .c0 {
216
+ -webkit-flex-direction: row;
217
+ -ms-flex-direction: row;
218
+ flex-direction: row;
219
+ -webkit-flex-wrap: wrap;
220
+ -ms-flex-wrap: wrap;
221
+ flex-wrap: wrap;
222
+ -webkit-box-pack: center;
223
+ -webkit-justify-content: center;
224
+ -ms-flex-pack: center;
225
+ justify-content: center;
226
+ -webkit-align-items: stretch;
227
+ -webkit-box-align: stretch;
228
+ -ms-flex-align: stretch;
229
+ align-items: stretch;
230
+ width: -webkit-fit-content;
231
+ width: -moz-fit-content;
232
+ width: fit-content;
233
+ max-width: 100%;
234
+ margin: 0 auto;
235
+ }
236
+ }
237
+
238
+ @media (min-width:1440px) {
239
+ .c0 {
240
+ display: grid;
241
+ -webkit-box-pack: center;
242
+ -webkit-justify-content: center;
243
+ -ms-flex-pack: center;
244
+ justify-content: center;
245
+ grid-template-columns: repeat(3,1fr);
246
+ width: 100%;
247
+ margin: 0;
248
+ max-width: 100%;
249
+ }
250
+ }
251
+
252
+ @media (min-width:740px) {
253
+ .c8 {
254
+ font-size: 1rem;
255
+ line-height: 1.25rem;
256
+ }
257
+ }
258
+
259
+ @media (min-width:1024px) {
260
+ .c8 {
261
+ font-size: 1.125rem;
262
+ line-height: 1.375rem;
263
+ }
264
+ }
265
+
266
+ @media (min-width:740px) {
267
+ .c2 {
268
+ -webkit-transition: -webkit-transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
269
+ -webkit-transition: transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
270
+ transition: transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
271
+ -webkit-transform-origin: center;
272
+ -ms-transform-origin: center;
273
+ transform-origin: center;
274
+ }
275
+
276
+ .c2:hover,
277
+ .c2:focus {
278
+ -webkit-transform: translateY(-0.02px);
279
+ -ms-transform: translateY(-0.02px);
280
+ transform: translateY(-0.02px);
281
+ }
282
+
283
+ .c2:hover {
284
+ box-shadow: 0 0 1.5rem rgba(0,0,0,0.25);
285
+ }
286
+
287
+ .c2:hover .c7 {
288
+ color: #E52630;
289
+ -webkit-text-decoration: none;
290
+ text-decoration: none;
291
+ }
292
+
293
+ .c2:hover .c9 {
294
+ opacity: 1;
295
+ }
296
+
297
+ .c2:hover .c11 {
298
+ background: #E52630;
299
+ }
300
+ }
301
+
302
+ @media (max-width:739px) {
303
+ .c1 {
304
+ width: 100%;
305
+ }
306
+ }
307
+
308
+ @media (min-width:740px) {
309
+ .c1 {
310
+ -webkit-flex-basis: calc(50% - 1rem);
311
+ -ms-flex-preferred-size: calc(50% - 1rem);
312
+ flex-basis: calc(50% - 1rem);
313
+ max-width: 564px;
314
+ height: 100%;
315
+ -webkit-align-self: stretch;
316
+ -ms-flex-item-align: stretch;
317
+ align-self: stretch;
318
+ }
319
+ }
320
+
321
+ @media (min-width:1440px) {
322
+ .c1 {
323
+ -webkit-flex-basis: unset;
324
+ -ms-flex-preferred-size: unset;
325
+ flex-basis: unset;
326
+ max-width: 564px;
327
+ height: 100%;
328
+ -webkit-align-self: stretch;
329
+ -ms-flex-item-align: stretch;
330
+ align-self: stretch;
331
+ }
332
+ }
333
+
334
+ <div
335
+ className="c0"
336
+ >
337
+ <div
338
+ className="c1"
339
+ >
340
+ <a
341
+ className="c2"
342
+ href="/test"
343
+ >
344
+ <div
345
+ className="c3"
346
+ >
347
+ <div
348
+ className="c4"
349
+ >
350
+ <p
351
+ className="c5"
352
+ >
353
+ <strong>
354
+ Load
355
+ </strong>
356
+ of text here
357
+ </p>
358
+ </div>
359
+ <div
360
+ className="c6"
361
+ >
362
+ <span
363
+ className="c7 c8"
364
+ >
365
+ test go
366
+ <img
367
+ alt=""
368
+ aria-hidden="true"
369
+ className="c9 c10"
370
+ src="mock.asset"
371
+ />
372
+ </span>
373
+ <div
374
+ className="c11 c12"
375
+ >
376
+ <svg
377
+ className="c13"
378
+ fill="none"
379
+ height="13"
380
+ viewBox="0 0 15 13"
381
+ width="15"
382
+ xmlns="http://www.w3.org/2000/svg"
383
+ >
384
+ <path
385
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
386
+ fill="currentColor"
387
+ />
388
+ </svg>
389
+ </div>
390
+ </div>
391
+ </div>
392
+ </a>
393
+ </div>
394
+ <div
395
+ className="c1"
396
+ >
397
+ <a
398
+ className="c2"
399
+ href="/test"
400
+ >
401
+ <div
402
+ className="c3"
403
+ >
404
+ <div
405
+ className="c4"
406
+ >
407
+ <p
408
+ className="c5"
409
+ >
410
+ <strong>
411
+ Load
412
+ </strong>
413
+ of text here
414
+ </p>
415
+ </div>
416
+ <div
417
+ className="c6"
418
+ >
419
+ <span
420
+ className="c7 c8"
421
+ >
422
+ test go
423
+ <img
424
+ alt=""
425
+ aria-hidden="true"
426
+ className="c9 c10"
427
+ src="mock.asset"
428
+ />
429
+ </span>
430
+ <div
431
+ className="c11 c12"
432
+ >
433
+ <svg
434
+ className="c13"
435
+ fill="none"
436
+ height="13"
437
+ viewBox="0 0 15 13"
438
+ width="15"
439
+ xmlns="http://www.w3.org/2000/svg"
440
+ >
441
+ <path
442
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
443
+ fill="currentColor"
444
+ />
445
+ </svg>
446
+ </div>
447
+ </div>
448
+ </div>
449
+ </a>
450
+ </div>
451
+ <div
452
+ className="c1"
453
+ >
454
+ <a
455
+ className="c2"
456
+ href="/test"
457
+ >
458
+ <div
459
+ className="c3"
460
+ >
461
+ <div
462
+ className="c4"
463
+ >
464
+ <p
465
+ className="c5"
466
+ >
467
+ <strong>
468
+ Load
469
+ </strong>
470
+ of text here
471
+ </p>
472
+ </div>
473
+ <div
474
+ className="c6"
475
+ >
476
+ <span
477
+ className="c7 c8"
478
+ >
479
+ test go
480
+ <img
481
+ alt=""
482
+ aria-hidden="true"
483
+ className="c9 c10"
484
+ src="mock.asset"
485
+ />
486
+ </span>
487
+ <div
488
+ className="c11 c12"
489
+ >
490
+ <svg
491
+ className="c13"
492
+ fill="none"
493
+ height="13"
494
+ viewBox="0 0 15 13"
495
+ width="15"
496
+ xmlns="http://www.w3.org/2000/svg"
497
+ >
498
+ <path
499
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
500
+ fill="currentColor"
501
+ />
502
+ </svg>
503
+ </div>
504
+ </div>
505
+ </div>
506
+ </a>
507
+ </div>
508
+ <div
509
+ className="c1"
510
+ >
511
+ <a
512
+ className="c2"
513
+ href="/test-no-image"
514
+ >
515
+ <div
516
+ className="c3"
517
+ >
518
+ <div
519
+ className="c4"
520
+ >
521
+ <p
522
+ className="c5"
523
+ >
524
+ Load of text here
525
+ </p>
526
+ </div>
527
+ <div
528
+ className="c6"
529
+ >
530
+ <span
531
+ className="c7 c8"
532
+ >
533
+ View card
534
+ <img
535
+ alt=""
536
+ aria-hidden="true"
537
+ className="c9 c10"
538
+ src="mock.asset"
539
+ />
540
+ </span>
541
+ <div
542
+ className="c11 c12"
543
+ >
544
+ <svg
545
+ className="c13"
546
+ fill="none"
547
+ height="13"
548
+ viewBox="0 0 15 13"
549
+ width="15"
550
+ xmlns="http://www.w3.org/2000/svg"
551
+ >
552
+ <path
553
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
554
+ fill="currentColor"
555
+ />
556
+ </svg>
557
+ </div>
558
+ </div>
559
+ </div>
560
+ </a>
561
+ </div>
562
+ </div>
563
+ `;
564
+
565
+ exports[`renders 2 columns layout correctly 1`] = `
566
+ .c5 {
567
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
568
+ font-weight: 400;
569
+ text-transform: inherit;
570
+ -webkit-letter-spacing: 0;
571
+ -moz-letter-spacing: 0;
572
+ -ms-letter-spacing: 0;
573
+ letter-spacing: 0;
574
+ font-size: 1rem;
575
+ line-height: 1.25rem;
576
+ }
577
+
578
+ .c5 span {
579
+ font-size: inherit;
580
+ line-height: inherit;
581
+ }
582
+
583
+ .c13 {
584
+ display: inline-block;
585
+ color: #FFFFFF;
586
+ fill: currentColor;
587
+ }
588
+
589
+ .c0 {
590
+ display: -webkit-box;
591
+ display: -webkit-flex;
592
+ display: -ms-flexbox;
593
+ display: flex;
594
+ -webkit-flex-direction: column;
595
+ -ms-flex-direction: column;
596
+ flex-direction: column;
597
+ width: 100%;
598
+ background: transparent;
599
+ gap: 1rem;
600
+ }
601
+
602
+ .c8 {
603
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
604
+ font-weight: 400;
605
+ text-transform: inherit;
606
+ -webkit-letter-spacing: 0;
607
+ -moz-letter-spacing: 0;
608
+ -ms-letter-spacing: 0;
609
+ letter-spacing: 0;
610
+ font-size: 1rem;
611
+ line-height: 1.25rem;
612
+ color: #969598;
613
+ font-weight: bold;
614
+ -webkit-text-decoration: none;
615
+ text-decoration: none;
616
+ position: relative;
617
+ display: inline-block;
618
+ }
619
+
620
+ .c10 {
621
+ height: 4px;
622
+ width: 100%;
623
+ position: absolute;
624
+ left: 0;
625
+ bottom: -5px;
626
+ -webkit-transition: opacity 0.15s 0.1s;
627
+ transition: opacity 0.15s 0.1s;
628
+ opacity: 0;
629
+ pointer-events: none;
630
+ }
631
+
632
+ .c12 {
633
+ width: 32px;
634
+ height: 32px;
635
+ border-radius: 50%;
636
+ background: #969598;
637
+ display: -webkit-box;
638
+ display: -webkit-flex;
639
+ display: -ms-flexbox;
640
+ display: flex;
641
+ -webkit-align-items: center;
642
+ -webkit-box-align: center;
643
+ -ms-flex-align: center;
644
+ align-items: center;
645
+ -webkit-box-pack: center;
646
+ -webkit-justify-content: center;
647
+ -ms-flex-pack: center;
648
+ justify-content: center;
649
+ -webkit-flex-shrink: 0;
650
+ -ms-flex-negative: 0;
651
+ flex-shrink: 0;
652
+ }
653
+
654
+ .c2 {
655
+ display: -webkit-box;
656
+ display: -webkit-flex;
657
+ display: -ms-flexbox;
658
+ display: flex;
659
+ position: relative;
660
+ -webkit-flex-direction: column;
661
+ -ms-flex-direction: column;
662
+ flex-direction: column;
663
+ width: 100%;
664
+ height: 100%;
665
+ background: transparent;
666
+ border-radius: 1rem;
667
+ box-shadow: 0 0 1rem rgba(0,0,0,0.15);
668
+ -webkit-text-decoration: none;
669
+ text-decoration: none;
670
+ overflow: hidden;
671
+ cursor: pointer;
672
+ }
673
+
674
+ .c2 img {
675
+ -webkit-transform: scale(1.02);
676
+ -ms-transform: scale(1.02);
677
+ transform: scale(1.02);
678
+ -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
679
+ -webkit-transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
680
+ transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
681
+ }
682
+
683
+ .c1 {
684
+ width: 100%;
685
+ -webkit-flex-shrink: 0;
686
+ -ms-flex-negative: 0;
687
+ flex-shrink: 0;
688
+ display: -webkit-box;
689
+ display: -webkit-flex;
690
+ display: -ms-flexbox;
691
+ display: flex;
692
+ -webkit-flex-direction: column;
693
+ -ms-flex-direction: column;
694
+ flex-direction: column;
695
+ -webkit-align-self: stretch;
696
+ -ms-flex-item-align: stretch;
697
+ align-self: stretch;
698
+ }
699
+
700
+ .c3 {
701
+ width: 100%;
702
+ background: inherit;
703
+ display: -webkit-box;
704
+ display: -webkit-flex;
705
+ display: -ms-flexbox;
706
+ display: flex;
707
+ -webkit-flex-direction: column;
708
+ -ms-flex-direction: column;
709
+ flex-direction: column;
710
+ padding: 2rem;
711
+ -webkit-flex: 1;
712
+ -ms-flex: 1;
713
+ flex: 1;
714
+ min-height: 0;
715
+ border-radius: 0 0 1rem 1rem;
716
+ }
717
+
718
+ .c4 {
719
+ -webkit-flex: 1;
720
+ -ms-flex: 1;
721
+ flex: 1;
722
+ display: -webkit-box;
723
+ display: -webkit-flex;
724
+ display: -ms-flexbox;
725
+ display: flex;
726
+ -webkit-flex-direction: column;
727
+ -ms-flex-direction: column;
728
+ flex-direction: column;
729
+ min-height: 0;
730
+ }
731
+
732
+ .c6 {
733
+ width: 100%;
734
+ display: -webkit-box;
735
+ display: -webkit-flex;
736
+ display: -ms-flexbox;
737
+ display: flex;
738
+ -webkit-flex-direction: row;
739
+ -ms-flex-direction: row;
740
+ flex-direction: row;
741
+ -webkit-align-items: center;
742
+ -webkit-box-align: center;
743
+ -ms-flex-align: center;
744
+ align-items: center;
745
+ -webkit-box-pack: justify;
746
+ -webkit-justify-content: space-between;
747
+ -ms-flex-pack: justify;
748
+ justify-content: space-between;
749
+ margin-top: auto;
750
+ padding-top: 1rem;
751
+ }
752
+
753
+ @media (min-width:740px) {
754
+ .c5 {
755
+ font-size: 1rem;
756
+ line-height: 1.25rem;
757
+ }
758
+ }
759
+
760
+ @media (min-width:1024px) {
761
+ .c5 {
762
+ font-size: 1.125rem;
763
+ line-height: 1.375rem;
764
+ }
765
+ }
766
+
767
+ @media (max-width:739px) {
768
+ .c0 {
769
+ -webkit-flex-direction: column;
770
+ -ms-flex-direction: column;
771
+ flex-direction: column;
772
+ background: transparent;
773
+ }
774
+ }
775
+
776
+ @media (min-width:740px) {
777
+ .c0 {
778
+ -webkit-flex-direction: row;
779
+ -ms-flex-direction: row;
780
+ flex-direction: row;
781
+ -webkit-flex-wrap: wrap;
782
+ -ms-flex-wrap: wrap;
783
+ flex-wrap: wrap;
784
+ -webkit-box-pack: center;
785
+ -webkit-justify-content: center;
786
+ -ms-flex-pack: center;
787
+ justify-content: center;
788
+ -webkit-align-items: stretch;
789
+ -webkit-box-align: stretch;
790
+ -ms-flex-align: stretch;
791
+ align-items: stretch;
792
+ width: -webkit-fit-content;
793
+ width: -moz-fit-content;
794
+ width: fit-content;
795
+ max-width: 100%;
796
+ margin: 0 auto;
797
+ }
798
+ }
799
+
800
+ @media (min-width:1440px) {
801
+ .c0 {
802
+ display: grid;
803
+ -webkit-box-pack: center;
804
+ -webkit-justify-content: center;
805
+ -ms-flex-pack: center;
806
+ justify-content: center;
807
+ grid-template-columns: repeat(2,1fr);
808
+ width: -webkit-fit-content;
809
+ width: -moz-fit-content;
810
+ width: fit-content;
811
+ margin: 0 auto;
812
+ max-width: 100%;
813
+ }
814
+ }
815
+
816
+ @media (min-width:740px) {
817
+ .c8 {
818
+ font-size: 1rem;
819
+ line-height: 1.25rem;
820
+ }
821
+ }
822
+
823
+ @media (min-width:1024px) {
824
+ .c8 {
825
+ font-size: 1.125rem;
826
+ line-height: 1.375rem;
827
+ }
828
+ }
829
+
830
+ @media (min-width:740px) {
831
+ .c2 {
832
+ -webkit-transition: -webkit-transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
833
+ -webkit-transition: transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
834
+ transition: transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
835
+ -webkit-transform-origin: center;
836
+ -ms-transform-origin: center;
837
+ transform-origin: center;
838
+ }
839
+
840
+ .c2:hover,
841
+ .c2:focus {
842
+ -webkit-transform: translateY(-0.02px);
843
+ -ms-transform: translateY(-0.02px);
844
+ transform: translateY(-0.02px);
845
+ }
846
+
847
+ .c2:hover {
848
+ box-shadow: 0 0 1.5rem rgba(0,0,0,0.25);
849
+ }
850
+
851
+ .c2:hover .c7 {
852
+ color: #E52630;
853
+ -webkit-text-decoration: none;
854
+ text-decoration: none;
855
+ }
856
+
857
+ .c2:hover .c9 {
858
+ opacity: 1;
859
+ }
860
+
861
+ .c2:hover .c11 {
862
+ background: #E52630;
863
+ }
864
+ }
865
+
866
+ @media (max-width:739px) {
867
+ .c1 {
868
+ width: 100%;
869
+ }
870
+ }
871
+
872
+ @media (min-width:740px) {
873
+ .c1 {
874
+ -webkit-flex-basis: calc(50% - 1rem);
875
+ -ms-flex-preferred-size: calc(50% - 1rem);
876
+ flex-basis: calc(50% - 1rem);
877
+ max-width: 564px;
878
+ height: 100%;
879
+ -webkit-align-self: stretch;
880
+ -ms-flex-item-align: stretch;
881
+ align-self: stretch;
882
+ }
883
+ }
884
+
885
+ @media (min-width:1440px) {
886
+ .c1 {
887
+ -webkit-flex-basis: unset;
888
+ -ms-flex-preferred-size: unset;
889
+ flex-basis: unset;
890
+ max-width: 564px;
891
+ height: 100%;
892
+ -webkit-align-self: stretch;
893
+ -ms-flex-item-align: stretch;
894
+ align-self: stretch;
895
+ }
896
+ }
897
+
898
+ <div
899
+ className="c0"
900
+ >
901
+ <div
902
+ className="c1"
903
+ >
904
+ <a
905
+ className="c2"
906
+ href="/test"
907
+ >
908
+ <div
909
+ className="c3"
910
+ >
911
+ <div
912
+ className="c4"
913
+ >
914
+ <p
915
+ className="c5"
916
+ >
917
+ <strong>
918
+ Load
919
+ </strong>
920
+ of text here
921
+ </p>
922
+ </div>
923
+ <div
924
+ className="c6"
925
+ >
926
+ <span
927
+ className="c7 c8"
928
+ >
929
+ test go
930
+ <img
931
+ alt=""
932
+ aria-hidden="true"
933
+ className="c9 c10"
934
+ src="mock.asset"
935
+ />
936
+ </span>
937
+ <div
938
+ className="c11 c12"
939
+ >
940
+ <svg
941
+ className="c13"
942
+ fill="none"
943
+ height="13"
944
+ viewBox="0 0 15 13"
945
+ width="15"
946
+ xmlns="http://www.w3.org/2000/svg"
947
+ >
948
+ <path
949
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
950
+ fill="currentColor"
951
+ />
952
+ </svg>
953
+ </div>
954
+ </div>
955
+ </div>
956
+ </a>
957
+ </div>
958
+ <div
959
+ className="c1"
960
+ >
961
+ <a
962
+ className="c2"
963
+ href="/test"
964
+ >
965
+ <div
966
+ className="c3"
967
+ >
968
+ <div
969
+ className="c4"
970
+ >
971
+ <p
972
+ className="c5"
973
+ >
974
+ <strong>
975
+ Load
976
+ </strong>
977
+ of text here
978
+ </p>
979
+ </div>
980
+ <div
981
+ className="c6"
982
+ >
983
+ <span
984
+ className="c7 c8"
985
+ >
986
+ test go
987
+ <img
988
+ alt=""
989
+ aria-hidden="true"
990
+ className="c9 c10"
991
+ src="mock.asset"
992
+ />
993
+ </span>
994
+ <div
995
+ className="c11 c12"
996
+ >
997
+ <svg
998
+ className="c13"
999
+ fill="none"
1000
+ height="13"
1001
+ viewBox="0 0 15 13"
1002
+ width="15"
1003
+ xmlns="http://www.w3.org/2000/svg"
1004
+ >
1005
+ <path
1006
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
1007
+ fill="currentColor"
1008
+ />
1009
+ </svg>
1010
+ </div>
1011
+ </div>
1012
+ </div>
1013
+ </a>
1014
+ </div>
1015
+ <div
1016
+ className="c1"
1017
+ >
1018
+ <a
1019
+ className="c2"
1020
+ href="/test"
1021
+ >
1022
+ <div
1023
+ className="c3"
1024
+ >
1025
+ <div
1026
+ className="c4"
1027
+ >
1028
+ <p
1029
+ className="c5"
1030
+ >
1031
+ <strong>
1032
+ Load
1033
+ </strong>
1034
+ of text here
1035
+ </p>
1036
+ </div>
1037
+ <div
1038
+ className="c6"
1039
+ >
1040
+ <span
1041
+ className="c7 c8"
1042
+ >
1043
+ test go
1044
+ <img
1045
+ alt=""
1046
+ aria-hidden="true"
1047
+ className="c9 c10"
1048
+ src="mock.asset"
1049
+ />
1050
+ </span>
1051
+ <div
1052
+ className="c11 c12"
1053
+ >
1054
+ <svg
1055
+ className="c13"
1056
+ fill="none"
1057
+ height="13"
1058
+ viewBox="0 0 15 13"
1059
+ width="15"
1060
+ xmlns="http://www.w3.org/2000/svg"
1061
+ >
1062
+ <path
1063
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
1064
+ fill="currentColor"
1065
+ />
1066
+ </svg>
1067
+ </div>
1068
+ </div>
1069
+ </div>
1070
+ </a>
1071
+ </div>
1072
+ <div
1073
+ className="c1"
1074
+ >
1075
+ <a
1076
+ className="c2"
1077
+ href="/test-no-image"
1078
+ >
1079
+ <div
1080
+ className="c3"
1081
+ >
1082
+ <div
1083
+ className="c4"
1084
+ >
1085
+ <p
1086
+ className="c5"
1087
+ >
1088
+ Load of text here
1089
+ </p>
1090
+ </div>
1091
+ <div
1092
+ className="c6"
1093
+ >
1094
+ <span
1095
+ className="c7 c8"
1096
+ >
1097
+ View card
1098
+ <img
1099
+ alt=""
1100
+ aria-hidden="true"
1101
+ className="c9 c10"
1102
+ src="mock.asset"
1103
+ />
1104
+ </span>
1105
+ <div
1106
+ className="c11 c12"
1107
+ >
1108
+ <svg
1109
+ className="c13"
1110
+ fill="none"
1111
+ height="13"
1112
+ viewBox="0 0 15 13"
1113
+ width="15"
1114
+ xmlns="http://www.w3.org/2000/svg"
1115
+ >
1116
+ <path
1117
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
1118
+ fill="currentColor"
1119
+ />
1120
+ </svg>
1121
+ </div>
1122
+ </div>
1123
+ </div>
1124
+ </a>
1125
+ </div>
1126
+ </div>
1127
+ `;
1128
+
1129
+ exports[`renders carousel mode correctly 1`] = `
1130
+ .c5 {
1131
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
1132
+ font-weight: 400;
1133
+ text-transform: inherit;
1134
+ -webkit-letter-spacing: 0;
1135
+ -moz-letter-spacing: 0;
1136
+ -ms-letter-spacing: 0;
1137
+ letter-spacing: 0;
1138
+ font-size: 1rem;
1139
+ line-height: 1.25rem;
1140
+ }
1141
+
1142
+ .c5 span {
1143
+ font-size: inherit;
1144
+ line-height: inherit;
1145
+ }
1146
+
1147
+ .c13 {
1148
+ display: inline-block;
1149
+ color: #FFFFFF;
1150
+ fill: currentColor;
1151
+ }
1152
+
1153
+ .c0 {
1154
+ display: -webkit-box;
1155
+ display: -webkit-flex;
1156
+ display: -ms-flexbox;
1157
+ display: flex;
1158
+ -webkit-flex-direction: column;
1159
+ -ms-flex-direction: column;
1160
+ flex-direction: column;
1161
+ width: 100%;
1162
+ background: transparent;
1163
+ gap: 1rem;
1164
+ }
1165
+
1166
+ .c8 {
1167
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
1168
+ font-weight: 400;
1169
+ text-transform: inherit;
1170
+ -webkit-letter-spacing: 0;
1171
+ -moz-letter-spacing: 0;
1172
+ -ms-letter-spacing: 0;
1173
+ letter-spacing: 0;
1174
+ font-size: 1rem;
1175
+ line-height: 1.25rem;
1176
+ color: #969598;
1177
+ font-weight: bold;
1178
+ -webkit-text-decoration: none;
1179
+ text-decoration: none;
1180
+ position: relative;
1181
+ display: inline-block;
1182
+ }
1183
+
1184
+ .c10 {
1185
+ height: 4px;
1186
+ width: 100%;
1187
+ position: absolute;
1188
+ left: 0;
1189
+ bottom: -5px;
1190
+ -webkit-transition: opacity 0.15s 0.1s;
1191
+ transition: opacity 0.15s 0.1s;
1192
+ opacity: 0;
1193
+ pointer-events: none;
1194
+ }
1195
+
1196
+ .c12 {
1197
+ width: 32px;
1198
+ height: 32px;
1199
+ border-radius: 50%;
1200
+ background: #969598;
1201
+ display: -webkit-box;
1202
+ display: -webkit-flex;
1203
+ display: -ms-flexbox;
1204
+ display: flex;
1205
+ -webkit-align-items: center;
1206
+ -webkit-box-align: center;
1207
+ -ms-flex-align: center;
1208
+ align-items: center;
1209
+ -webkit-box-pack: center;
1210
+ -webkit-justify-content: center;
1211
+ -ms-flex-pack: center;
1212
+ justify-content: center;
1213
+ -webkit-flex-shrink: 0;
1214
+ -ms-flex-negative: 0;
1215
+ flex-shrink: 0;
1216
+ }
1217
+
1218
+ .c2 {
1219
+ display: -webkit-box;
1220
+ display: -webkit-flex;
1221
+ display: -ms-flexbox;
1222
+ display: flex;
1223
+ position: relative;
1224
+ -webkit-flex-direction: column;
1225
+ -ms-flex-direction: column;
1226
+ flex-direction: column;
1227
+ width: 100%;
1228
+ height: 100%;
1229
+ background: transparent;
1230
+ border-radius: 1rem;
1231
+ box-shadow: 0 0 1rem rgba(0,0,0,0.15);
1232
+ -webkit-text-decoration: none;
1233
+ text-decoration: none;
1234
+ overflow: hidden;
1235
+ cursor: pointer;
1236
+ }
1237
+
1238
+ .c2 img {
1239
+ -webkit-transform: scale(1.02);
1240
+ -ms-transform: scale(1.02);
1241
+ transform: scale(1.02);
1242
+ -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
1243
+ -webkit-transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
1244
+ transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
1245
+ }
1246
+
1247
+ .c1 {
1248
+ width: 100%;
1249
+ -webkit-flex-shrink: 0;
1250
+ -ms-flex-negative: 0;
1251
+ flex-shrink: 0;
1252
+ display: -webkit-box;
1253
+ display: -webkit-flex;
1254
+ display: -ms-flexbox;
1255
+ display: flex;
1256
+ -webkit-flex-direction: column;
1257
+ -ms-flex-direction: column;
1258
+ flex-direction: column;
1259
+ -webkit-align-self: stretch;
1260
+ -ms-flex-item-align: stretch;
1261
+ align-self: stretch;
1262
+ }
1263
+
1264
+ .c3 {
1265
+ width: 100%;
1266
+ background: inherit;
1267
+ display: -webkit-box;
1268
+ display: -webkit-flex;
1269
+ display: -ms-flexbox;
1270
+ display: flex;
1271
+ -webkit-flex-direction: column;
1272
+ -ms-flex-direction: column;
1273
+ flex-direction: column;
1274
+ padding: 2rem;
1275
+ -webkit-flex: 1;
1276
+ -ms-flex: 1;
1277
+ flex: 1;
1278
+ min-height: 0;
1279
+ border-radius: 0 0 1rem 1rem;
1280
+ }
1281
+
1282
+ .c4 {
1283
+ -webkit-flex: 1;
1284
+ -ms-flex: 1;
1285
+ flex: 1;
1286
+ display: -webkit-box;
1287
+ display: -webkit-flex;
1288
+ display: -ms-flexbox;
1289
+ display: flex;
1290
+ -webkit-flex-direction: column;
1291
+ -ms-flex-direction: column;
1292
+ flex-direction: column;
1293
+ min-height: 0;
1294
+ }
1295
+
1296
+ .c6 {
1297
+ width: 100%;
1298
+ display: -webkit-box;
1299
+ display: -webkit-flex;
1300
+ display: -ms-flexbox;
1301
+ display: flex;
1302
+ -webkit-flex-direction: row;
1303
+ -ms-flex-direction: row;
1304
+ flex-direction: row;
1305
+ -webkit-align-items: center;
1306
+ -webkit-box-align: center;
1307
+ -ms-flex-align: center;
1308
+ align-items: center;
1309
+ -webkit-box-pack: justify;
1310
+ -webkit-justify-content: space-between;
1311
+ -ms-flex-pack: justify;
1312
+ justify-content: space-between;
1313
+ margin-top: auto;
1314
+ padding-top: 1rem;
1315
+ }
1316
+
1317
+ @media (min-width:740px) {
1318
+ .c5 {
1319
+ font-size: 1rem;
1320
+ line-height: 1.25rem;
1321
+ }
1322
+ }
1323
+
1324
+ @media (min-width:1024px) {
1325
+ .c5 {
1326
+ font-size: 1.125rem;
1327
+ line-height: 1.375rem;
1328
+ }
1329
+ }
1330
+
1331
+ @media (max-width:739px) {
1332
+ .c0 {
1333
+ -webkit-flex-direction: row;
1334
+ -ms-flex-direction: row;
1335
+ flex-direction: row;
1336
+ -webkit-flex-wrap: nowrap;
1337
+ -ms-flex-wrap: nowrap;
1338
+ flex-wrap: nowrap;
1339
+ overflow-x: visible;
1340
+ overflow-y: scroll;
1341
+ -webkit-overflow-scrolling: touch;
1342
+ -webkit-scroll-snap-type: x mandatory;
1343
+ -moz-scroll-snap-type: x mandatory;
1344
+ -ms-scroll-snap-type: x mandatory;
1345
+ scroll-snap-type: x mandatory;
1346
+ padding: 0.75rem 0.5rem;
1347
+ margin-left: 0.5rem;
1348
+ -webkit-scrollbar-width: none;
1349
+ -moz-scrollbar-width: none;
1350
+ -ms-scrollbar-width: none;
1351
+ scrollbar-width: none;
1352
+ -ms-overflow-style: none;
1353
+ }
1354
+
1355
+ .c0::-webkit-scrollbar {
1356
+ display: none;
1357
+ }
1358
+ }
1359
+
1360
+ @media (min-width:740px) {
1361
+ .c0 {
1362
+ -webkit-flex-direction: row;
1363
+ -ms-flex-direction: row;
1364
+ flex-direction: row;
1365
+ -webkit-flex-wrap: wrap;
1366
+ -ms-flex-wrap: wrap;
1367
+ flex-wrap: wrap;
1368
+ -webkit-box-pack: center;
1369
+ -webkit-justify-content: center;
1370
+ -ms-flex-pack: center;
1371
+ justify-content: center;
1372
+ -webkit-align-items: stretch;
1373
+ -webkit-box-align: stretch;
1374
+ -ms-flex-align: stretch;
1375
+ align-items: stretch;
1376
+ width: -webkit-fit-content;
1377
+ width: -moz-fit-content;
1378
+ width: fit-content;
1379
+ max-width: 100%;
1380
+ margin: 0 auto;
1381
+ }
1382
+ }
1383
+
1384
+ @media (min-width:1440px) {
1385
+ .c0 {
1386
+ display: grid;
1387
+ -webkit-box-pack: center;
1388
+ -webkit-justify-content: center;
1389
+ -ms-flex-pack: center;
1390
+ justify-content: center;
1391
+ grid-template-columns: repeat(3,1fr);
1392
+ width: 100%;
1393
+ margin: 0;
1394
+ max-width: 100%;
1395
+ }
1396
+ }
1397
+
1398
+ @media (min-width:740px) {
1399
+ .c8 {
1400
+ font-size: 1rem;
1401
+ line-height: 1.25rem;
1402
+ }
1403
+ }
1404
+
1405
+ @media (min-width:1024px) {
1406
+ .c8 {
1407
+ font-size: 1.125rem;
1408
+ line-height: 1.375rem;
1409
+ }
1410
+ }
1411
+
1412
+ @media (min-width:740px) {
1413
+ .c2 {
1414
+ -webkit-transition: -webkit-transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
1415
+ -webkit-transition: transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
1416
+ transition: transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
1417
+ -webkit-transform-origin: center;
1418
+ -ms-transform-origin: center;
1419
+ transform-origin: center;
1420
+ }
1421
+
1422
+ .c2:hover,
1423
+ .c2:focus {
1424
+ -webkit-transform: translateY(-0.02px);
1425
+ -ms-transform: translateY(-0.02px);
1426
+ transform: translateY(-0.02px);
1427
+ }
1428
+
1429
+ .c2:hover {
1430
+ box-shadow: 0 0 1.5rem rgba(0,0,0,0.25);
1431
+ }
1432
+
1433
+ .c2:hover .c7 {
1434
+ color: #E52630;
1435
+ -webkit-text-decoration: none;
1436
+ text-decoration: none;
1437
+ }
1438
+
1439
+ .c2:hover .c9 {
1440
+ opacity: 1;
1441
+ }
1442
+
1443
+ .c2:hover .c11 {
1444
+ background: #E52630;
1445
+ }
1446
+ }
1447
+
1448
+ @media (max-width:739px) {
1449
+ .c1 {
1450
+ -webkit-scroll-snap-align: start;
1451
+ -moz-scroll-snap-align: start;
1452
+ -ms-scroll-snap-align: start;
1453
+ scroll-snap-align: start;
1454
+ -webkit-flex: 0 0 calc(100% - 1.5rem);
1455
+ -ms-flex: 0 0 calc(100% - 1.5rem);
1456
+ flex: 0 0 calc(100% - 1.5rem);
1457
+ min-width: calc(100% - 1.5rem);
1458
+ max-width: calc(100% - 1.5rem);
1459
+ -webkit-flex-shrink: 0;
1460
+ -ms-flex-negative: 0;
1461
+ flex-shrink: 0;
1462
+ margin-right: 0.5rem;
1463
+ }
1464
+
1465
+ .c1:first-child {
1466
+ padding-left: 0.5rem;
1467
+ }
1468
+
1469
+ .c1:last-child {
1470
+ margin-right: 0;
1471
+ padding-right: 0.5rem;
1472
+ }
1473
+ }
1474
+
1475
+ @media (min-width:740px) {
1476
+ .c1 {
1477
+ -webkit-flex-basis: calc(50% - 1rem);
1478
+ -ms-flex-preferred-size: calc(50% - 1rem);
1479
+ flex-basis: calc(50% - 1rem);
1480
+ max-width: 564px;
1481
+ height: 100%;
1482
+ -webkit-align-self: stretch;
1483
+ -ms-flex-item-align: stretch;
1484
+ align-self: stretch;
1485
+ }
1486
+ }
1487
+
1488
+ @media (min-width:1440px) {
1489
+ .c1 {
1490
+ -webkit-flex-basis: unset;
1491
+ -ms-flex-preferred-size: unset;
1492
+ flex-basis: unset;
1493
+ max-width: 564px;
1494
+ height: 100%;
1495
+ -webkit-align-self: stretch;
1496
+ -ms-flex-item-align: stretch;
1497
+ align-self: stretch;
1498
+ }
1499
+ }
1500
+
1501
+ <div
1502
+ className="c0"
1503
+ >
1504
+ <div
1505
+ className="c1"
1506
+ >
1507
+ <a
1508
+ className="c2"
1509
+ href="/test"
1510
+ >
1511
+ <div
1512
+ className="c3"
1513
+ >
1514
+ <div
1515
+ className="c4"
1516
+ >
1517
+ <p
1518
+ className="c5"
1519
+ >
1520
+ <strong>
1521
+ Load
1522
+ </strong>
1523
+ of text here
1524
+ </p>
1525
+ </div>
1526
+ <div
1527
+ className="c6"
1528
+ >
1529
+ <span
1530
+ className="c7 c8"
1531
+ >
1532
+ test go
1533
+ <img
1534
+ alt=""
1535
+ aria-hidden="true"
1536
+ className="c9 c10"
1537
+ src="mock.asset"
1538
+ />
1539
+ </span>
1540
+ <div
1541
+ className="c11 c12"
1542
+ >
1543
+ <svg
1544
+ className="c13"
1545
+ fill="none"
1546
+ height="13"
1547
+ viewBox="0 0 15 13"
1548
+ width="15"
1549
+ xmlns="http://www.w3.org/2000/svg"
1550
+ >
1551
+ <path
1552
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
1553
+ fill="currentColor"
1554
+ />
1555
+ </svg>
1556
+ </div>
1557
+ </div>
1558
+ </div>
1559
+ </a>
1560
+ </div>
1561
+ <div
1562
+ className="c1"
1563
+ >
1564
+ <a
1565
+ className="c2"
1566
+ href="/test"
1567
+ >
1568
+ <div
1569
+ className="c3"
1570
+ >
1571
+ <div
1572
+ className="c4"
1573
+ >
1574
+ <p
1575
+ className="c5"
1576
+ >
1577
+ <strong>
1578
+ Load
1579
+ </strong>
1580
+ of text here
1581
+ </p>
1582
+ </div>
1583
+ <div
1584
+ className="c6"
1585
+ >
1586
+ <span
1587
+ className="c7 c8"
1588
+ >
1589
+ test go
1590
+ <img
1591
+ alt=""
1592
+ aria-hidden="true"
1593
+ className="c9 c10"
1594
+ src="mock.asset"
1595
+ />
1596
+ </span>
1597
+ <div
1598
+ className="c11 c12"
1599
+ >
1600
+ <svg
1601
+ className="c13"
1602
+ fill="none"
1603
+ height="13"
1604
+ viewBox="0 0 15 13"
1605
+ width="15"
1606
+ xmlns="http://www.w3.org/2000/svg"
1607
+ >
1608
+ <path
1609
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
1610
+ fill="currentColor"
1611
+ />
1612
+ </svg>
1613
+ </div>
1614
+ </div>
1615
+ </div>
1616
+ </a>
1617
+ </div>
1618
+ <div
1619
+ className="c1"
1620
+ >
1621
+ <a
1622
+ className="c2"
1623
+ href="/test"
1624
+ >
1625
+ <div
1626
+ className="c3"
1627
+ >
1628
+ <div
1629
+ className="c4"
1630
+ >
1631
+ <p
1632
+ className="c5"
1633
+ >
1634
+ <strong>
1635
+ Load
1636
+ </strong>
1637
+ of text here
1638
+ </p>
1639
+ </div>
1640
+ <div
1641
+ className="c6"
1642
+ >
1643
+ <span
1644
+ className="c7 c8"
1645
+ >
1646
+ test go
1647
+ <img
1648
+ alt=""
1649
+ aria-hidden="true"
1650
+ className="c9 c10"
1651
+ src="mock.asset"
1652
+ />
1653
+ </span>
1654
+ <div
1655
+ className="c11 c12"
1656
+ >
1657
+ <svg
1658
+ className="c13"
1659
+ fill="none"
1660
+ height="13"
1661
+ viewBox="0 0 15 13"
1662
+ width="15"
1663
+ xmlns="http://www.w3.org/2000/svg"
1664
+ >
1665
+ <path
1666
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
1667
+ fill="currentColor"
1668
+ />
1669
+ </svg>
1670
+ </div>
1671
+ </div>
1672
+ </div>
1673
+ </a>
1674
+ </div>
1675
+ <div
1676
+ className="c1"
1677
+ >
1678
+ <a
1679
+ className="c2"
1680
+ href="/test-no-image"
1681
+ >
1682
+ <div
1683
+ className="c3"
1684
+ >
1685
+ <div
1686
+ className="c4"
1687
+ >
1688
+ <p
1689
+ className="c5"
1690
+ >
1691
+ Load of text here
1692
+ </p>
1693
+ </div>
1694
+ <div
1695
+ className="c6"
1696
+ >
1697
+ <span
1698
+ className="c7 c8"
1699
+ >
1700
+ View card
1701
+ <img
1702
+ alt=""
1703
+ aria-hidden="true"
1704
+ className="c9 c10"
1705
+ src="mock.asset"
1706
+ />
1707
+ </span>
1708
+ <div
1709
+ className="c11 c12"
1710
+ >
1711
+ <svg
1712
+ className="c13"
1713
+ fill="none"
1714
+ height="13"
1715
+ viewBox="0 0 15 13"
1716
+ width="15"
1717
+ xmlns="http://www.w3.org/2000/svg"
1718
+ >
1719
+ <path
1720
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
1721
+ fill="currentColor"
1722
+ />
1723
+ </svg>
1724
+ </div>
1725
+ </div>
1726
+ </div>
1727
+ </a>
1728
+ </div>
1729
+ </div>
1730
+ `;
1731
+
1732
+ exports[`renders correctly with data prop 1`] = `
1733
+ .c5 {
1734
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
1735
+ font-weight: 400;
1736
+ text-transform: inherit;
1737
+ -webkit-letter-spacing: 0;
1738
+ -moz-letter-spacing: 0;
1739
+ -ms-letter-spacing: 0;
1740
+ letter-spacing: 0;
1741
+ font-size: 1rem;
1742
+ line-height: 1.25rem;
1743
+ }
1744
+
1745
+ .c5 span {
1746
+ font-size: inherit;
1747
+ line-height: inherit;
1748
+ }
1749
+
1750
+ .c13 {
1751
+ display: inline-block;
1752
+ color: #FFFFFF;
1753
+ fill: currentColor;
1754
+ }
1755
+
1756
+ .c0 {
1757
+ display: -webkit-box;
1758
+ display: -webkit-flex;
1759
+ display: -ms-flexbox;
1760
+ display: flex;
1761
+ -webkit-flex-direction: column;
1762
+ -ms-flex-direction: column;
1763
+ flex-direction: column;
1764
+ width: 100%;
1765
+ background: transparent;
1766
+ gap: 1rem;
1767
+ }
1768
+
1769
+ .c8 {
1770
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
1771
+ font-weight: 400;
1772
+ text-transform: inherit;
1773
+ -webkit-letter-spacing: 0;
1774
+ -moz-letter-spacing: 0;
1775
+ -ms-letter-spacing: 0;
1776
+ letter-spacing: 0;
1777
+ font-size: 1rem;
1778
+ line-height: 1.25rem;
1779
+ color: #969598;
1780
+ font-weight: bold;
1781
+ -webkit-text-decoration: none;
1782
+ text-decoration: none;
1783
+ position: relative;
1784
+ display: inline-block;
1785
+ }
1786
+
1787
+ .c10 {
1788
+ height: 4px;
1789
+ width: 100%;
1790
+ position: absolute;
1791
+ left: 0;
1792
+ bottom: -5px;
1793
+ -webkit-transition: opacity 0.15s 0.1s;
1794
+ transition: opacity 0.15s 0.1s;
1795
+ opacity: 0;
1796
+ pointer-events: none;
1797
+ }
1798
+
1799
+ .c12 {
1800
+ width: 32px;
1801
+ height: 32px;
1802
+ border-radius: 50%;
1803
+ background: #969598;
1804
+ display: -webkit-box;
1805
+ display: -webkit-flex;
1806
+ display: -ms-flexbox;
1807
+ display: flex;
1808
+ -webkit-align-items: center;
1809
+ -webkit-box-align: center;
1810
+ -ms-flex-align: center;
1811
+ align-items: center;
1812
+ -webkit-box-pack: center;
1813
+ -webkit-justify-content: center;
1814
+ -ms-flex-pack: center;
1815
+ justify-content: center;
1816
+ -webkit-flex-shrink: 0;
1817
+ -ms-flex-negative: 0;
1818
+ flex-shrink: 0;
1819
+ }
1820
+
1821
+ .c2 {
1822
+ display: -webkit-box;
1823
+ display: -webkit-flex;
1824
+ display: -ms-flexbox;
1825
+ display: flex;
1826
+ position: relative;
1827
+ -webkit-flex-direction: column;
1828
+ -ms-flex-direction: column;
1829
+ flex-direction: column;
1830
+ width: 100%;
1831
+ height: 100%;
1832
+ background: transparent;
1833
+ border-radius: 1rem;
1834
+ box-shadow: 0 0 1rem rgba(0,0,0,0.15);
1835
+ -webkit-text-decoration: none;
1836
+ text-decoration: none;
1837
+ overflow: hidden;
1838
+ cursor: pointer;
1839
+ }
1840
+
1841
+ .c2 img {
1842
+ -webkit-transform: scale(1.02);
1843
+ -ms-transform: scale(1.02);
1844
+ transform: scale(1.02);
1845
+ -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
1846
+ -webkit-transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
1847
+ transition: transform 0.4s cubic-bezier(0.68,-1.15,0.265,2.35);
1848
+ }
1849
+
1850
+ .c1 {
1851
+ width: 100%;
1852
+ -webkit-flex-shrink: 0;
1853
+ -ms-flex-negative: 0;
1854
+ flex-shrink: 0;
1855
+ display: -webkit-box;
1856
+ display: -webkit-flex;
1857
+ display: -ms-flexbox;
1858
+ display: flex;
1859
+ -webkit-flex-direction: column;
1860
+ -ms-flex-direction: column;
1861
+ flex-direction: column;
1862
+ -webkit-align-self: stretch;
1863
+ -ms-flex-item-align: stretch;
1864
+ align-self: stretch;
1865
+ }
1866
+
1867
+ .c3 {
1868
+ width: 100%;
1869
+ background: inherit;
1870
+ display: -webkit-box;
1871
+ display: -webkit-flex;
1872
+ display: -ms-flexbox;
1873
+ display: flex;
1874
+ -webkit-flex-direction: column;
1875
+ -ms-flex-direction: column;
1876
+ flex-direction: column;
1877
+ padding: 2rem;
1878
+ -webkit-flex: 1;
1879
+ -ms-flex: 1;
1880
+ flex: 1;
1881
+ min-height: 0;
1882
+ border-radius: 0 0 1rem 1rem;
1883
+ }
1884
+
1885
+ .c4 {
1886
+ -webkit-flex: 1;
1887
+ -ms-flex: 1;
1888
+ flex: 1;
1889
+ display: -webkit-box;
1890
+ display: -webkit-flex;
1891
+ display: -ms-flexbox;
1892
+ display: flex;
1893
+ -webkit-flex-direction: column;
1894
+ -ms-flex-direction: column;
1895
+ flex-direction: column;
1896
+ min-height: 0;
1897
+ }
1898
+
1899
+ .c6 {
1900
+ width: 100%;
1901
+ display: -webkit-box;
1902
+ display: -webkit-flex;
1903
+ display: -ms-flexbox;
1904
+ display: flex;
1905
+ -webkit-flex-direction: row;
1906
+ -ms-flex-direction: row;
1907
+ flex-direction: row;
1908
+ -webkit-align-items: center;
1909
+ -webkit-box-align: center;
1910
+ -ms-flex-align: center;
1911
+ align-items: center;
1912
+ -webkit-box-pack: justify;
1913
+ -webkit-justify-content: space-between;
1914
+ -ms-flex-pack: justify;
1915
+ justify-content: space-between;
1916
+ margin-top: auto;
1917
+ padding-top: 1rem;
1918
+ }
1919
+
1920
+ @media (min-width:740px) {
1921
+ .c5 {
1922
+ font-size: 1rem;
1923
+ line-height: 1.25rem;
1924
+ }
1925
+ }
1926
+
1927
+ @media (min-width:1024px) {
1928
+ .c5 {
1929
+ font-size: 1.125rem;
1930
+ line-height: 1.375rem;
1931
+ }
1932
+ }
1933
+
1934
+ @media (max-width:739px) {
1935
+ .c0 {
1936
+ -webkit-flex-direction: column;
1937
+ -ms-flex-direction: column;
1938
+ flex-direction: column;
1939
+ background: transparent;
1940
+ }
1941
+ }
1942
+
1943
+ @media (min-width:740px) {
1944
+ .c0 {
1945
+ -webkit-flex-direction: row;
1946
+ -ms-flex-direction: row;
1947
+ flex-direction: row;
1948
+ -webkit-flex-wrap: wrap;
1949
+ -ms-flex-wrap: wrap;
1950
+ flex-wrap: wrap;
1951
+ -webkit-box-pack: center;
1952
+ -webkit-justify-content: center;
1953
+ -ms-flex-pack: center;
1954
+ justify-content: center;
1955
+ -webkit-align-items: stretch;
1956
+ -webkit-box-align: stretch;
1957
+ -ms-flex-align: stretch;
1958
+ align-items: stretch;
1959
+ width: -webkit-fit-content;
1960
+ width: -moz-fit-content;
1961
+ width: fit-content;
1962
+ max-width: 100%;
1963
+ margin: 0 auto;
1964
+ }
1965
+ }
1966
+
1967
+ @media (min-width:1440px) {
1968
+ .c0 {
1969
+ display: grid;
1970
+ -webkit-box-pack: center;
1971
+ -webkit-justify-content: center;
1972
+ -ms-flex-pack: center;
1973
+ justify-content: center;
1974
+ grid-template-columns: repeat(3,1fr);
1975
+ width: 100%;
1976
+ margin: 0;
1977
+ max-width: 100%;
1978
+ }
1979
+ }
1980
+
1981
+ @media (min-width:740px) {
1982
+ .c8 {
1983
+ font-size: 1rem;
1984
+ line-height: 1.25rem;
1985
+ }
1986
+ }
1987
+
1988
+ @media (min-width:1024px) {
1989
+ .c8 {
1990
+ font-size: 1.125rem;
1991
+ line-height: 1.375rem;
1992
+ }
1993
+ }
1994
+
1995
+ @media (min-width:740px) {
1996
+ .c2 {
1997
+ -webkit-transition: -webkit-transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
1998
+ -webkit-transition: transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
1999
+ transition: transform 0.30000000000000004s cubic-bezier(0.68,-0.8500000000000001,0.265,1.9500000000000002);
2000
+ -webkit-transform-origin: center;
2001
+ -ms-transform-origin: center;
2002
+ transform-origin: center;
2003
+ }
2004
+
2005
+ .c2:hover,
2006
+ .c2:focus {
2007
+ -webkit-transform: translateY(-0.02px);
2008
+ -ms-transform: translateY(-0.02px);
2009
+ transform: translateY(-0.02px);
2010
+ }
2011
+
2012
+ .c2:hover {
2013
+ box-shadow: 0 0 1.5rem rgba(0,0,0,0.25);
2014
+ }
2015
+
2016
+ .c2:hover .c7 {
2017
+ color: #E52630;
2018
+ -webkit-text-decoration: none;
2019
+ text-decoration: none;
2020
+ }
2021
+
2022
+ .c2:hover .c9 {
2023
+ opacity: 1;
2024
+ }
2025
+
2026
+ .c2:hover .c11 {
2027
+ background: #E52630;
2028
+ }
2029
+ }
2030
+
2031
+ @media (max-width:739px) {
2032
+ .c1 {
2033
+ width: 100%;
2034
+ }
2035
+ }
2036
+
2037
+ @media (min-width:740px) {
2038
+ .c1 {
2039
+ -webkit-flex-basis: calc(50% - 1rem);
2040
+ -ms-flex-preferred-size: calc(50% - 1rem);
2041
+ flex-basis: calc(50% - 1rem);
2042
+ max-width: 564px;
2043
+ height: 100%;
2044
+ -webkit-align-self: stretch;
2045
+ -ms-flex-item-align: stretch;
2046
+ align-self: stretch;
2047
+ }
2048
+ }
2049
+
2050
+ @media (min-width:1440px) {
2051
+ .c1 {
2052
+ -webkit-flex-basis: unset;
2053
+ -ms-flex-preferred-size: unset;
2054
+ flex-basis: unset;
2055
+ max-width: 564px;
2056
+ height: 100%;
2057
+ -webkit-align-self: stretch;
2058
+ -ms-flex-item-align: stretch;
2059
+ align-self: stretch;
2060
+ }
2061
+ }
2062
+
2063
+ <div
2064
+ className="c0"
2065
+ >
2066
+ <div
2067
+ className="c1"
2068
+ >
2069
+ <a
2070
+ className="c2"
2071
+ href="/test"
2072
+ >
2073
+ <div
2074
+ className="c3"
2075
+ >
2076
+ <div
2077
+ className="c4"
2078
+ >
2079
+ <p
2080
+ className="c5"
2081
+ >
2082
+ <strong>
2083
+ Load
2084
+ </strong>
2085
+ of text here
2086
+ </p>
2087
+ </div>
2088
+ <div
2089
+ className="c6"
2090
+ >
2091
+ <span
2092
+ className="c7 c8"
2093
+ >
2094
+ test go
2095
+ <img
2096
+ alt=""
2097
+ aria-hidden="true"
2098
+ className="c9 c10"
2099
+ src="mock.asset"
2100
+ />
2101
+ </span>
2102
+ <div
2103
+ className="c11 c12"
2104
+ >
2105
+ <svg
2106
+ className="c13"
2107
+ fill="none"
2108
+ height="13"
2109
+ viewBox="0 0 15 13"
2110
+ width="15"
2111
+ xmlns="http://www.w3.org/2000/svg"
2112
+ >
2113
+ <path
2114
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
2115
+ fill="currentColor"
2116
+ />
2117
+ </svg>
2118
+ </div>
2119
+ </div>
2120
+ </div>
2121
+ </a>
2122
+ </div>
2123
+ <div
2124
+ className="c1"
2125
+ >
2126
+ <a
2127
+ className="c2"
2128
+ href="/test"
2129
+ >
2130
+ <div
2131
+ className="c3"
2132
+ >
2133
+ <div
2134
+ className="c4"
2135
+ >
2136
+ <p
2137
+ className="c5"
2138
+ >
2139
+ <strong>
2140
+ Load
2141
+ </strong>
2142
+ of text here
2143
+ </p>
2144
+ </div>
2145
+ <div
2146
+ className="c6"
2147
+ >
2148
+ <span
2149
+ className="c7 c8"
2150
+ >
2151
+ test go
2152
+ <img
2153
+ alt=""
2154
+ aria-hidden="true"
2155
+ className="c9 c10"
2156
+ src="mock.asset"
2157
+ />
2158
+ </span>
2159
+ <div
2160
+ className="c11 c12"
2161
+ >
2162
+ <svg
2163
+ className="c13"
2164
+ fill="none"
2165
+ height="13"
2166
+ viewBox="0 0 15 13"
2167
+ width="15"
2168
+ xmlns="http://www.w3.org/2000/svg"
2169
+ >
2170
+ <path
2171
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
2172
+ fill="currentColor"
2173
+ />
2174
+ </svg>
2175
+ </div>
2176
+ </div>
2177
+ </div>
2178
+ </a>
2179
+ </div>
2180
+ <div
2181
+ className="c1"
2182
+ >
2183
+ <a
2184
+ className="c2"
2185
+ href="/test"
2186
+ >
2187
+ <div
2188
+ className="c3"
2189
+ >
2190
+ <div
2191
+ className="c4"
2192
+ >
2193
+ <p
2194
+ className="c5"
2195
+ >
2196
+ <strong>
2197
+ Load
2198
+ </strong>
2199
+ of text here
2200
+ </p>
2201
+ </div>
2202
+ <div
2203
+ className="c6"
2204
+ >
2205
+ <span
2206
+ className="c7 c8"
2207
+ >
2208
+ test go
2209
+ <img
2210
+ alt=""
2211
+ aria-hidden="true"
2212
+ className="c9 c10"
2213
+ src="mock.asset"
2214
+ />
2215
+ </span>
2216
+ <div
2217
+ className="c11 c12"
2218
+ >
2219
+ <svg
2220
+ className="c13"
2221
+ fill="none"
2222
+ height="13"
2223
+ viewBox="0 0 15 13"
2224
+ width="15"
2225
+ xmlns="http://www.w3.org/2000/svg"
2226
+ >
2227
+ <path
2228
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
2229
+ fill="currentColor"
2230
+ />
2231
+ </svg>
2232
+ </div>
2233
+ </div>
2234
+ </div>
2235
+ </a>
2236
+ </div>
2237
+ <div
2238
+ className="c1"
2239
+ >
2240
+ <a
2241
+ className="c2"
2242
+ href="/test-no-image"
2243
+ >
2244
+ <div
2245
+ className="c3"
2246
+ >
2247
+ <div
2248
+ className="c4"
2249
+ >
2250
+ <p
2251
+ className="c5"
2252
+ >
2253
+ Load of text here
2254
+ </p>
2255
+ </div>
2256
+ <div
2257
+ className="c6"
2258
+ >
2259
+ <span
2260
+ className="c7 c8"
2261
+ >
2262
+ View card
2263
+ <img
2264
+ alt=""
2265
+ aria-hidden="true"
2266
+ className="c9 c10"
2267
+ src="mock.asset"
2268
+ />
2269
+ </span>
2270
+ <div
2271
+ className="c11 c12"
2272
+ >
2273
+ <svg
2274
+ className="c13"
2275
+ fill="none"
2276
+ height="13"
2277
+ viewBox="0 0 15 13"
2278
+ width="15"
2279
+ xmlns="http://www.w3.org/2000/svg"
2280
+ >
2281
+ <path
2282
+ d="M9.58496 0.349976C9.1395 -0.116662 8.40641 -0.116634 7.96094 0.349976C7.52803 0.803486 7.5281 1.53021 7.96094 1.98376L11.1582 5.33337H1.13672C0.48748 5.33337 0 5.87822 0 6.50037C2.15408e-05 7.1225 0.487494 7.66736 1.13672 7.66736H11.1582L7.96094 11.017C7.52806 11.4705 7.52899 12.1972 7.96191 12.6508C8.18163 12.8803 8.47556 13.0004 8.77344 13.0004C9.07114 13.0002 9.36533 12.8808 9.58496 12.6508L14.6758 7.31677L14.6748 7.3158L14.6875 7.3031L14.6865 7.30212C14.6954 7.29215 14.7044 7.28482 14.71 7.27771C14.7117 7.27545 14.7133 7.27285 14.7148 7.27087C14.7485 7.23203 14.7824 7.18925 14.8135 7.14099L14.8154 7.13806C14.8354 7.10658 14.8493 7.07842 14.8564 7.06384L14.8652 7.04626L14.8662 7.04431L14.8672 7.04333C14.8672 7.04333 14.868 7.04057 14.8691 7.03845C14.8709 7.03512 14.8758 7.02671 14.8799 7.01892L14.8802 7.01839C14.8888 7.002 14.9034 6.97423 14.917 6.93982V6.93787C14.9303 6.90375 14.9391 6.87285 14.9443 6.85388C14.9469 6.84458 14.9498 6.83567 14.9512 6.83044C14.9527 6.82454 14.9535 6.8228 14.9541 6.82068C14.9541 6.82068 14.9542 6.81753 14.9551 6.81482L14.958 6.80603L14.9586 6.80422C14.9631 6.78961 14.9718 6.76119 14.9785 6.72693V6.72498C15.0066 6.57705 15.0066 6.4246 14.9785 6.27673V6.27478L14.958 6.19568L14.9551 6.18591L14.9531 6.18005L14.9512 6.17224C14.9497 6.1664 14.9481 6.15677 14.9453 6.14685C14.9398 6.12695 14.9307 6.09654 14.917 6.06189C14.9032 6.02688 14.8885 5.99813 14.8799 5.98181C14.8758 5.97402 14.8709 5.96562 14.8691 5.96228L14.8564 5.93689C14.849 5.92177 14.8351 5.89372 14.8154 5.86267L14.8145 5.86072L14.7529 5.7738C14.7316 5.74659 14.7094 5.72129 14.6875 5.69763C14.6837 5.69341 14.6802 5.68854 14.6758 5.68396L9.58496 0.349976Z"
2283
+ fill="currentColor"
2284
+ />
2285
+ </svg>
2286
+ </div>
2287
+ </div>
2288
+ </div>
2289
+ </a>
2290
+ </div>
2291
+ </div>
2292
+ `;