@comicrelief/component-library 6.10.0 → 7.0.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.
- package/cypress/integration/components/Organisms/Donate.spec.js +13 -13
- package/cypress/integration/components/Organisms/EmailSignUp.spec.js +47 -132
- package/dist/components/Organisms/Donate/Donate.md +9 -9
- package/dist/components/Organisms/Donate/Form/Form.js +2 -1
- package/dist/components/Organisms/Donate/GivingSelector/GivingSelector.js +17 -71
- package/dist/components/Organisms/Donate/GivingSelector/GivingSelector.style.js +71 -0
- package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +11 -25
- package/dist/components/Organisms/EmailSignUp/EmailSignUp.md +8 -123
- package/dist/components/Organisms/EmailSignUp/EmailSignUp.style.js +46 -29
- package/dist/components/Organisms/EmailSignUp/EmailSignUp.test.js +24 -69
- package/dist/components/Organisms/EmailSignUp/EmailSignUpForm.js +92 -0
- package/dist/components/Organisms/EmailSignUp/_Confetti.js +116 -0
- package/dist/components/Organisms/EmailSignUp/_EmailSignUp.js +107 -0
- package/dist/components/Organisms/EmailSignUp/_EmailSignUpConfig.js +51 -0
- package/dist/components/Organisms/EmailSignUp/_TextInput.js +51 -0
- package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +249 -406
- package/dist/components/Organisms/Header/Header.md +1 -13
- package/dist/components/Organisms/Membership/Membership.test.js +1 -1
- package/dist/index.js +14 -10
- package/package.json +2 -1
- package/src/components/Organisms/Donate/Donate.md +9 -9
- package/src/components/Organisms/Donate/Form/Form.js +1 -0
- package/src/components/Organisms/Donate/GivingSelector/GivingSelector.js +15 -85
- package/src/components/Organisms/Donate/GivingSelector/GivingSelector.style.js +78 -0
- package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +11 -25
- package/src/components/Organisms/EmailSignUp/EmailSignUp.md +8 -123
- package/src/components/Organisms/EmailSignUp/EmailSignUp.style.js +33 -13
- package/src/components/Organisms/EmailSignUp/EmailSignUp.test.js +35 -69
- package/src/components/Organisms/EmailSignUp/EmailSignUpForm.js +60 -0
- package/src/components/Organisms/EmailSignUp/_Confetti.js +106 -0
- package/src/components/Organisms/EmailSignUp/_EmailSignUp.js +138 -0
- package/src/components/Organisms/EmailSignUp/_EmailSignUpConfig.js +54 -0
- package/src/components/Organisms/EmailSignUp/_TextInput.js +45 -0
- package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +249 -406
- package/src/components/Organisms/Header/Header.md +1 -13
- package/src/components/Organisms/Membership/Membership.test.js +33 -33
- package/src/index.js +10 -4
- package/cypress/integration/components/Molecules/HeaderEsuWithIcon.spec.js +0 -69
- package/dist/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.js +0 -136
- package/dist/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.md +0 -47
- package/dist/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.style.js +0 -52
- package/dist/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.test.js +0 -99
- package/dist/components/Molecules/HeaderEsuWithIcon/__snapshots__/HeaderEsuWithIcon.test.js.snap +0 -1211
- package/dist/components/Molecules/HeaderEsuWithIcon/assets/HeaderIcons.js +0 -25
- package/dist/components/Molecules/HeaderEsuWithIcon/assets/icon--close.svg +0 -5
- package/dist/components/Molecules/HeaderEsuWithIcon/assets/icon--email.svg +0 -5
- package/dist/components/Organisms/EmailSignUp/EmailSignUp.js +0 -182
- package/src/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.js +0 -135
- package/src/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.md +0 -47
- package/src/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.style.js +0 -60
- package/src/components/Molecules/HeaderEsuWithIcon/HeaderEsuWithIcon.test.js +0 -103
- package/src/components/Molecules/HeaderEsuWithIcon/__snapshots__/HeaderEsuWithIcon.test.js.snap +0 -1211
- package/src/components/Molecules/HeaderEsuWithIcon/assets/HeaderIcons.js +0 -15
- package/src/components/Molecules/HeaderEsuWithIcon/assets/icon--close.svg +0 -5
- package/src/components/Molecules/HeaderEsuWithIcon/assets/icon--email.svg +0 -5
- package/src/components/Organisms/EmailSignUp/EmailSignUp.js +0 -197
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`renders
|
|
3
|
+
exports[`renders correctly 1`] = `
|
|
4
4
|
.c1 {
|
|
5
5
|
font-size: 3rem;
|
|
6
6
|
line-height: 3rem;
|
|
@@ -13,7 +13,7 @@ exports[`renders ESU School correctly 1`] = `
|
|
|
13
13
|
letter-spacing: 0.03rem;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.c4 {
|
|
17
17
|
font-size: 1rem;
|
|
18
18
|
line-height: 1rem;
|
|
19
19
|
text-transform: inherit;
|
|
@@ -21,310 +21,62 @@ exports[`renders ESU School correctly 1`] = `
|
|
|
21
21
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
25
|
-
font-size:
|
|
26
|
-
line-height:
|
|
24
|
+
.c10 {
|
|
25
|
+
font-size: 1rem;
|
|
26
|
+
line-height: 1rem;
|
|
27
27
|
text-transform: inherit;
|
|
28
|
-
font-weight:
|
|
28
|
+
font-weight: bold;
|
|
29
29
|
line-height: normal;
|
|
30
30
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
31
|
-
font-size: 1rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.c4 {
|
|
35
|
-
position: relative;
|
|
36
|
-
display: -webkit-box;
|
|
37
|
-
display: -webkit-flex;
|
|
38
|
-
display: -ms-flexbox;
|
|
39
|
-
display: flex;
|
|
40
|
-
-webkit-flex-direction: column;
|
|
41
|
-
-ms-flex-direction: column;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
color: #5C5C5E;
|
|
44
|
-
width: 100%;
|
|
45
31
|
}
|
|
46
32
|
|
|
47
|
-
.
|
|
48
|
-
|
|
49
|
-
-webkit-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
clip-path: inset(50%);
|
|
53
|
-
height: 1px;
|
|
54
|
-
margin: -1px;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
padding: 0;
|
|
57
|
-
position: absolute;
|
|
58
|
-
white-space: nowrap;
|
|
59
|
-
width: 1px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.c7 {
|
|
63
|
-
width: 100%;
|
|
64
|
-
font-size: 1.25rem;
|
|
65
|
-
display: block;
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
padding: 0 1.5rem;
|
|
68
|
-
padding-right: 4rem;
|
|
69
|
-
margin: 0;
|
|
33
|
+
.c15 {
|
|
34
|
+
display: -webkit-inline-box;
|
|
35
|
+
display: -webkit-inline-flex;
|
|
36
|
+
display: -ms-inline-flexbox;
|
|
37
|
+
display: inline-flex;
|
|
70
38
|
position: relative;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
border: 1px solid;
|
|
76
|
-
border-color: #E1E2E3;
|
|
77
|
-
box-shadow: none;
|
|
78
|
-
-webkit-appearance: none;
|
|
79
|
-
-moz-appearance: none;
|
|
80
|
-
appearance: none;
|
|
81
|
-
color: #000000;
|
|
82
|
-
border-radius: 0.5rem;
|
|
83
|
-
cursor: pointer;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.c7:focus {
|
|
87
|
-
border: 1px solid #666;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.c12 {
|
|
91
|
-
text-align: left;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.c0 {
|
|
95
|
-
display: -webkit-box;
|
|
96
|
-
display: -webkit-flex;
|
|
97
|
-
display: -ms-flexbox;
|
|
98
|
-
display: flex;
|
|
99
|
-
-webkit-flex-direction: column;
|
|
100
|
-
-ms-flex-direction: column;
|
|
101
|
-
flex-direction: column;
|
|
39
|
+
padding: 0.5rem 1.25rem;
|
|
40
|
+
-webkit-text-decoration: none;
|
|
41
|
+
text-decoration: none;
|
|
42
|
+
font-weight: 700;
|
|
102
43
|
font-size: 1rem;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
.c9 {
|
|
108
|
-
margin-top: 1rem;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.c9 input {
|
|
112
|
-
text-align: center;
|
|
44
|
+
border-radius: 2rem;
|
|
45
|
+
-webkit-transition: all 0.3s;
|
|
46
|
+
transition: all 0.3s;
|
|
47
|
+
height: 3.125rem;
|
|
113
48
|
width: 100%;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
margin-top: 1rem;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.c11 p {
|
|
129
|
-
font-size: 1rem;
|
|
130
|
-
line-height: 2rem;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.c11 p a {
|
|
134
|
-
font-size: 1rem;
|
|
49
|
+
-webkit-box-pack: center;
|
|
50
|
+
-webkit-justify-content: center;
|
|
51
|
+
-ms-flex-pack: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
-webkit-align-items: center;
|
|
54
|
+
-webkit-box-align: center;
|
|
55
|
+
-ms-flex-align: center;
|
|
56
|
+
align-items: center;
|
|
57
|
+
border: none;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
background-color: #E52630;
|
|
135
60
|
color: #FFFFFF;
|
|
136
61
|
}
|
|
137
62
|
|
|
138
|
-
.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
display: -ms-flexbox;
|
|
142
|
-
display: flex;
|
|
143
|
-
-webkit-flex-direction: column;
|
|
144
|
-
-ms-flex-direction: column;
|
|
145
|
-
flex-direction: column;
|
|
146
|
-
margin: 1rem 0;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.c2 {
|
|
150
|
-
margin-bottom: 1.5rem;
|
|
63
|
+
.c15 > a {
|
|
64
|
+
-webkit-text-decoration: none;
|
|
65
|
+
text-decoration: none;
|
|
151
66
|
}
|
|
152
67
|
|
|
153
|
-
.
|
|
154
|
-
|
|
68
|
+
.c15:hover {
|
|
69
|
+
background-color: #890B11;
|
|
155
70
|
color: #FFFFFF;
|
|
156
|
-
font-size: 1rem;
|
|
157
|
-
font-weight: bold;
|
|
158
|
-
cursor: pointer;
|
|
159
|
-
padding: 1rem 0.5rem;
|
|
160
|
-
background: #4ECDBE;
|
|
161
|
-
border: none;
|
|
162
|
-
border-radius: 100px;
|
|
163
71
|
}
|
|
164
72
|
|
|
165
|
-
.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
@media (min-width:740px) {
|
|
172
|
-
.c8 {
|
|
173
|
-
font-size: 1.25rem;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
@media (min-width:740px) {
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
@media (min-width:740px) {
|
|
182
|
-
.c7 {
|
|
183
|
-
max-width: 290px;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@media (min-width:740px) {
|
|
188
|
-
.c9 input {
|
|
189
|
-
font-size: 1.25rem;
|
|
190
|
-
max-width: 180px;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@media (min-width:1024px) {
|
|
195
|
-
.c10 {
|
|
196
|
-
width: auto;
|
|
197
|
-
padding: 1rem 2rem;
|
|
198
|
-
margin: 0 auto 2rem;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
<div
|
|
203
|
-
className="c0"
|
|
204
|
-
>
|
|
205
|
-
<h2
|
|
206
|
-
className="c1 c2"
|
|
207
|
-
color="inherit"
|
|
208
|
-
size="xxl"
|
|
209
|
-
>
|
|
210
|
-
sign up letter
|
|
211
|
-
</h2>
|
|
212
|
-
<form
|
|
213
|
-
className="c3"
|
|
214
|
-
onSubmit={[Function]}
|
|
215
|
-
>
|
|
216
|
-
<label
|
|
217
|
-
className="c4"
|
|
218
|
-
>
|
|
219
|
-
<span
|
|
220
|
-
className="c5 c6"
|
|
221
|
-
color="inherit"
|
|
222
|
-
dangerouslySetInnerHTML={
|
|
223
|
-
Object {
|
|
224
|
-
"__html": "Please choose an option",
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
size="s"
|
|
228
|
-
/>
|
|
229
|
-
<select
|
|
230
|
-
className="c7"
|
|
231
|
-
defaultValue=""
|
|
232
|
-
onChange={[Function]}
|
|
233
|
-
placeholder="Please choose an option"
|
|
234
|
-
required={true}
|
|
235
|
-
value=""
|
|
236
|
-
>
|
|
237
|
-
<option
|
|
238
|
-
disabled={true}
|
|
239
|
-
value=""
|
|
240
|
-
>
|
|
241
|
-
Please choose an option
|
|
242
|
-
</option>
|
|
243
|
-
<option
|
|
244
|
-
value=""
|
|
245
|
-
>
|
|
246
|
-
-- Select age group --
|
|
247
|
-
</option>
|
|
248
|
-
<option
|
|
249
|
-
value="Option one"
|
|
250
|
-
>
|
|
251
|
-
The first option
|
|
252
|
-
</option>
|
|
253
|
-
<option
|
|
254
|
-
value="Option two"
|
|
255
|
-
>
|
|
256
|
-
The second option
|
|
257
|
-
</option>
|
|
258
|
-
<option
|
|
259
|
-
value="Option three"
|
|
260
|
-
>
|
|
261
|
-
The third option
|
|
262
|
-
</option>
|
|
263
|
-
<option
|
|
264
|
-
value="Option four"
|
|
265
|
-
>
|
|
266
|
-
The fourth option
|
|
267
|
-
</option>
|
|
268
|
-
</select>
|
|
269
|
-
|
|
270
|
-
</label>
|
|
271
|
-
<p
|
|
272
|
-
className="c8"
|
|
273
|
-
color="inherit"
|
|
274
|
-
size="m"
|
|
275
|
-
>
|
|
276
|
-
Now please select your teaching group so you get the right updates.
|
|
277
|
-
</p>
|
|
278
|
-
<div
|
|
279
|
-
className="c9"
|
|
280
|
-
>
|
|
281
|
-
<input
|
|
282
|
-
className="c10"
|
|
283
|
-
color="teal"
|
|
284
|
-
data-test="subscribe-button-school"
|
|
285
|
-
onClick={[Function]}
|
|
286
|
-
type="submit"
|
|
287
|
-
value=" Subscribe"
|
|
288
|
-
/>
|
|
289
|
-
</div>
|
|
290
|
-
</form>
|
|
291
|
-
<div
|
|
292
|
-
className="c11"
|
|
293
|
-
>
|
|
294
|
-
<div
|
|
295
|
-
className="c12"
|
|
296
|
-
dangerouslySetInnerHTML={
|
|
297
|
-
Object {
|
|
298
|
-
"__html": "check <a href=\\"https://www.comicrelief.com/privacy-notice\\">Privacy policy</a>",
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
/>
|
|
302
|
-
</div>
|
|
303
|
-
</div>
|
|
304
|
-
`;
|
|
305
|
-
|
|
306
|
-
exports[`renders correctly 1`] = `
|
|
307
|
-
.c1 {
|
|
308
|
-
font-size: 3rem;
|
|
309
|
-
line-height: 3rem;
|
|
310
|
-
text-transform: uppercase;
|
|
311
|
-
font-weight: 400;
|
|
312
|
-
font-family: 'Anton',Impact,sans-serif;
|
|
313
|
-
-webkit-letter-spacing: 0.03rem;
|
|
314
|
-
-moz-letter-spacing: 0.03rem;
|
|
315
|
-
-ms-letter-spacing: 0.03rem;
|
|
316
|
-
letter-spacing: 0.03rem;
|
|
73
|
+
.c15 (min-width:1024px) {
|
|
74
|
+
width: auto;
|
|
75
|
+
padding: 1rem 2rem;
|
|
76
|
+
margin: 0 auto 2rem;
|
|
317
77
|
}
|
|
318
78
|
|
|
319
79
|
.c8 {
|
|
320
|
-
font-size: 1rem;
|
|
321
|
-
line-height: 1rem;
|
|
322
|
-
text-transform: inherit;
|
|
323
|
-
line-height: normal;
|
|
324
|
-
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.c6 {
|
|
328
80
|
position: relative;
|
|
329
81
|
display: -webkit-box;
|
|
330
82
|
display: -webkit-flex;
|
|
@@ -337,22 +89,11 @@ exports[`renders correctly 1`] = `
|
|
|
337
89
|
width: 100%;
|
|
338
90
|
}
|
|
339
91
|
|
|
340
|
-
.
|
|
341
|
-
|
|
342
|
-
-webkit-clip: rect(0 0 0 0);
|
|
343
|
-
clip: rect(0 0 0 0);
|
|
344
|
-
-webkit-clip-path: inset(50%);
|
|
345
|
-
clip-path: inset(50%);
|
|
346
|
-
height: 1px;
|
|
347
|
-
margin: -1px;
|
|
348
|
-
overflow: hidden;
|
|
349
|
-
padding: 0;
|
|
350
|
-
position: absolute;
|
|
351
|
-
white-space: nowrap;
|
|
352
|
-
width: 1px;
|
|
92
|
+
.c11 {
|
|
93
|
+
margin-bottom: 0.5rem;
|
|
353
94
|
}
|
|
354
95
|
|
|
355
|
-
.
|
|
96
|
+
.c13 {
|
|
356
97
|
position: relative;
|
|
357
98
|
box-sizing: border-box;
|
|
358
99
|
width: 100%;
|
|
@@ -372,19 +113,24 @@ exports[`renders correctly 1`] = `
|
|
|
372
113
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
373
114
|
}
|
|
374
115
|
|
|
375
|
-
.
|
|
116
|
+
.c13:focus {
|
|
376
117
|
border: 1px solid #666;
|
|
377
118
|
}
|
|
378
119
|
|
|
379
|
-
.
|
|
120
|
+
.c12 {
|
|
380
121
|
position: relative;
|
|
381
122
|
font-size: 1.25rem;
|
|
382
123
|
}
|
|
383
124
|
|
|
384
|
-
.
|
|
125
|
+
.c5 {
|
|
385
126
|
text-align: left;
|
|
386
127
|
}
|
|
387
128
|
|
|
129
|
+
.c16:disabled {
|
|
130
|
+
cursor: not-allowed;
|
|
131
|
+
opacity: 0.75;
|
|
132
|
+
}
|
|
133
|
+
|
|
388
134
|
.c0 {
|
|
389
135
|
display: -webkit-box;
|
|
390
136
|
display: -webkit-flex;
|
|
@@ -396,6 +142,7 @@ exports[`renders correctly 1`] = `
|
|
|
396
142
|
font-size: 1rem;
|
|
397
143
|
color: #FFFFFF;
|
|
398
144
|
background-color: #2C0230;
|
|
145
|
+
padding: 1.5rem;
|
|
399
146
|
}
|
|
400
147
|
|
|
401
148
|
.c3 {
|
|
@@ -406,17 +153,15 @@ exports[`renders correctly 1`] = `
|
|
|
406
153
|
margin-bottom: 1rem;
|
|
407
154
|
}
|
|
408
155
|
|
|
409
|
-
.
|
|
156
|
+
.c14 {
|
|
410
157
|
margin-top: 1rem;
|
|
411
158
|
}
|
|
412
159
|
|
|
413
|
-
.
|
|
414
|
-
|
|
415
|
-
width: 100%;
|
|
416
|
-
font-size: 1rem;
|
|
160
|
+
.c14 button {
|
|
161
|
+
background-color: #E52630;
|
|
417
162
|
}
|
|
418
163
|
|
|
419
|
-
.
|
|
164
|
+
.c17 {
|
|
420
165
|
display: -webkit-box;
|
|
421
166
|
display: -webkit-flex;
|
|
422
167
|
display: -ms-flexbox;
|
|
@@ -427,17 +172,17 @@ exports[`renders correctly 1`] = `
|
|
|
427
172
|
margin-top: 1rem;
|
|
428
173
|
}
|
|
429
174
|
|
|
430
|
-
.
|
|
175
|
+
.c17 p {
|
|
431
176
|
font-size: 1rem;
|
|
432
177
|
line-height: 2rem;
|
|
433
178
|
}
|
|
434
179
|
|
|
435
|
-
.
|
|
180
|
+
.c17 p a {
|
|
436
181
|
font-size: 1rem;
|
|
437
182
|
color: #FFFFFF;
|
|
438
183
|
}
|
|
439
184
|
|
|
440
|
-
.
|
|
185
|
+
.c6 {
|
|
441
186
|
display: -webkit-box;
|
|
442
187
|
display: -webkit-flex;
|
|
443
188
|
display: -ms-flexbox;
|
|
@@ -449,134 +194,232 @@ exports[`renders correctly 1`] = `
|
|
|
449
194
|
}
|
|
450
195
|
|
|
451
196
|
.c7 {
|
|
452
|
-
|
|
197
|
+
display: -webkit-box;
|
|
198
|
+
display: -webkit-flex;
|
|
199
|
+
display: -ms-flexbox;
|
|
200
|
+
display: flex;
|
|
201
|
+
-webkit-flex-direction: column;
|
|
202
|
+
-ms-flex-direction: column;
|
|
203
|
+
flex-direction: column;
|
|
204
|
+
gap: 0;
|
|
453
205
|
}
|
|
454
206
|
|
|
455
|
-
.
|
|
456
|
-
|
|
207
|
+
.c9 {
|
|
208
|
+
width: 100%;
|
|
209
|
+
margin-bottom: 1rem;
|
|
457
210
|
}
|
|
458
211
|
|
|
459
|
-
.
|
|
460
|
-
width: 100%;
|
|
212
|
+
.c9 > span:first-child {
|
|
461
213
|
color: #FFFFFF;
|
|
462
|
-
font-size: 1rem;
|
|
463
|
-
font-weight: bold;
|
|
464
|
-
cursor: pointer;
|
|
465
|
-
padding: 1rem 0.5rem;
|
|
466
|
-
background: #4ECDBE;
|
|
467
|
-
border: none;
|
|
468
|
-
border-radius: 100px;
|
|
469
214
|
}
|
|
470
215
|
|
|
471
|
-
.
|
|
472
|
-
.
|
|
473
|
-
.c13:hover {
|
|
474
|
-
background-color: #961D35;
|
|
216
|
+
.c2 {
|
|
217
|
+
margin-bottom: 1.5rem;
|
|
475
218
|
}
|
|
476
219
|
|
|
477
220
|
@media (min-width:740px) {
|
|
478
|
-
.
|
|
479
|
-
|
|
221
|
+
.c15 {
|
|
222
|
+
width: auto;
|
|
480
223
|
}
|
|
481
224
|
}
|
|
482
225
|
|
|
483
226
|
@media (min-width:740px) {
|
|
484
|
-
.
|
|
485
|
-
|
|
486
|
-
max-width: 180px;
|
|
227
|
+
.c13 {
|
|
228
|
+
max-width: 290px;
|
|
487
229
|
}
|
|
488
230
|
}
|
|
489
231
|
|
|
490
232
|
@media (min-width:1024px) {
|
|
491
|
-
.
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
233
|
+
.c7 {
|
|
234
|
+
-webkit-box-pack: start;
|
|
235
|
+
-webkit-justify-content: start;
|
|
236
|
+
-ms-flex-pack: start;
|
|
237
|
+
justify-content: start;
|
|
238
|
+
-webkit-flex-direction: row;
|
|
239
|
+
-ms-flex-direction: row;
|
|
240
|
+
flex-direction: row;
|
|
241
|
+
gap: 1rem;
|
|
495
242
|
}
|
|
496
243
|
}
|
|
497
244
|
|
|
498
|
-
|
|
499
|
-
|
|
245
|
+
@media (min-width:1024px) {
|
|
246
|
+
.c9 {
|
|
247
|
+
max-width: 290px;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
<form
|
|
252
|
+
noValidate={true}
|
|
253
|
+
onSubmit={[Function]}
|
|
500
254
|
>
|
|
501
|
-
<h2
|
|
502
|
-
className="c1 c2"
|
|
503
|
-
color="inherit"
|
|
504
|
-
size="xxl"
|
|
505
|
-
>
|
|
506
|
-
sign up letter
|
|
507
|
-
</h2>
|
|
508
255
|
<div
|
|
509
|
-
className="
|
|
256
|
+
className="c0"
|
|
510
257
|
>
|
|
258
|
+
<h2
|
|
259
|
+
className="c1 c2"
|
|
260
|
+
color="inherit"
|
|
261
|
+
size="xxl"
|
|
262
|
+
>
|
|
263
|
+
sign up letter
|
|
264
|
+
</h2>
|
|
511
265
|
<div
|
|
512
|
-
className="
|
|
513
|
-
dangerouslySetInnerHTML={
|
|
514
|
-
Object {
|
|
515
|
-
"__html": "<h1> Top Copy</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>",
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
/>
|
|
519
|
-
</div>
|
|
520
|
-
<form
|
|
521
|
-
className="c5"
|
|
522
|
-
onSubmit={[Function]}
|
|
523
|
-
>
|
|
524
|
-
<label
|
|
525
|
-
className="c6 c7"
|
|
526
|
-
htmlFor="email"
|
|
266
|
+
className="c3"
|
|
527
267
|
>
|
|
528
268
|
<span
|
|
529
|
-
className="
|
|
269
|
+
className="c4"
|
|
530
270
|
color="inherit"
|
|
531
|
-
dangerouslySetInnerHTML={
|
|
532
|
-
Object {
|
|
533
|
-
"__html": "email",
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
271
|
size="s"
|
|
537
|
-
|
|
272
|
+
>
|
|
273
|
+
<div
|
|
274
|
+
className="c5"
|
|
275
|
+
dangerouslySetInnerHTML={
|
|
276
|
+
Object {
|
|
277
|
+
"__html": "<h1> Top Copy</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>",
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
/>
|
|
281
|
+
</span>
|
|
282
|
+
</div>
|
|
283
|
+
<div
|
|
284
|
+
className="c6"
|
|
285
|
+
>
|
|
538
286
|
<div
|
|
539
|
-
className="
|
|
287
|
+
className="c7"
|
|
540
288
|
>
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
289
|
+
<label
|
|
290
|
+
className="c8 c9"
|
|
291
|
+
htmlFor="first-name"
|
|
292
|
+
>
|
|
293
|
+
<span
|
|
294
|
+
className="c10 c11"
|
|
295
|
+
color="inherit"
|
|
296
|
+
dangerouslySetInnerHTML={
|
|
297
|
+
Object {
|
|
298
|
+
"__html": "First Name",
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
size="s"
|
|
302
|
+
/>
|
|
303
|
+
<div
|
|
304
|
+
className="c12"
|
|
305
|
+
>
|
|
306
|
+
|
|
307
|
+
<input
|
|
308
|
+
aria-describedby="first-name"
|
|
309
|
+
aria-required={true}
|
|
310
|
+
className="c13"
|
|
311
|
+
id="first-name"
|
|
312
|
+
name="firstName"
|
|
313
|
+
placeholder="Enter your first name"
|
|
314
|
+
required={false}
|
|
315
|
+
type="text"
|
|
316
|
+
/>
|
|
317
|
+
</div>
|
|
318
|
+
|
|
319
|
+
</label>
|
|
320
|
+
<label
|
|
321
|
+
className="c8 c9"
|
|
322
|
+
htmlFor="last-name"
|
|
323
|
+
>
|
|
324
|
+
<span
|
|
325
|
+
className="c10 c11"
|
|
326
|
+
color="inherit"
|
|
327
|
+
dangerouslySetInnerHTML={
|
|
328
|
+
Object {
|
|
329
|
+
"__html": "Last Name",
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
size="s"
|
|
333
|
+
/>
|
|
334
|
+
<div
|
|
335
|
+
className="c12"
|
|
336
|
+
>
|
|
337
|
+
|
|
338
|
+
<input
|
|
339
|
+
aria-describedby="last-name"
|
|
340
|
+
aria-required={true}
|
|
341
|
+
className="c13"
|
|
342
|
+
id="last-name"
|
|
343
|
+
name="lastName"
|
|
344
|
+
placeholder="Enter your last name"
|
|
345
|
+
required={false}
|
|
346
|
+
type="text"
|
|
347
|
+
/>
|
|
348
|
+
</div>
|
|
349
|
+
|
|
350
|
+
</label>
|
|
351
|
+
</div>
|
|
352
|
+
<label
|
|
353
|
+
className="c8 c9"
|
|
354
|
+
htmlFor="email"
|
|
355
|
+
>
|
|
356
|
+
<span
|
|
357
|
+
className="c10 c11"
|
|
358
|
+
color="inherit"
|
|
359
|
+
dangerouslySetInnerHTML={
|
|
360
|
+
Object {
|
|
361
|
+
"__html": "Email Address",
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
size="s"
|
|
552
365
|
/>
|
|
366
|
+
<div
|
|
367
|
+
className="c12"
|
|
368
|
+
>
|
|
369
|
+
|
|
370
|
+
<input
|
|
371
|
+
aria-describedby="email"
|
|
372
|
+
aria-required={true}
|
|
373
|
+
className="c13"
|
|
374
|
+
id="email"
|
|
375
|
+
name="email"
|
|
376
|
+
placeholder="example@youremail.com"
|
|
377
|
+
required={false}
|
|
378
|
+
type="email"
|
|
379
|
+
/>
|
|
380
|
+
</div>
|
|
381
|
+
|
|
382
|
+
</label>
|
|
383
|
+
<div
|
|
384
|
+
className="c14"
|
|
385
|
+
>
|
|
386
|
+
<button
|
|
387
|
+
className="c15 c16"
|
|
388
|
+
data-test="subscribe-button"
|
|
389
|
+
disabled={false}
|
|
390
|
+
type="submit"
|
|
391
|
+
>
|
|
392
|
+
<span
|
|
393
|
+
className="c4"
|
|
394
|
+
color="inherit"
|
|
395
|
+
size="s"
|
|
396
|
+
>
|
|
397
|
+
Subscribe
|
|
398
|
+
</span>
|
|
399
|
+
<div
|
|
400
|
+
className="ButtonWithStates__LoaderContainer-sc-7gb81g-1"
|
|
401
|
+
/>
|
|
402
|
+
</button>
|
|
553
403
|
</div>
|
|
554
|
-
|
|
555
|
-
</label>
|
|
404
|
+
</div>
|
|
556
405
|
<div
|
|
557
|
-
className="
|
|
406
|
+
className="c17"
|
|
558
407
|
>
|
|
559
|
-
<
|
|
560
|
-
className="
|
|
561
|
-
color="
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
408
|
+
<span
|
|
409
|
+
className="c4"
|
|
410
|
+
color="inherit"
|
|
411
|
+
size="s"
|
|
412
|
+
>
|
|
413
|
+
<div
|
|
414
|
+
className="c5"
|
|
415
|
+
dangerouslySetInnerHTML={
|
|
416
|
+
Object {
|
|
417
|
+
"__html": "check <a href=\\"https://www.comicrelief.com/privacy-notice\\">Privacy policy</a>",
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
/>
|
|
421
|
+
</span>
|
|
567
422
|
</div>
|
|
568
|
-
</form>
|
|
569
|
-
<div
|
|
570
|
-
className="c14"
|
|
571
|
-
>
|
|
572
|
-
<div
|
|
573
|
-
className="c4"
|
|
574
|
-
dangerouslySetInnerHTML={
|
|
575
|
-
Object {
|
|
576
|
-
"__html": "check <a href=\\"https://www.comicrelief.com/privacy-notice\\">Privacy policy</a>",
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
/>
|
|
580
423
|
</div>
|
|
581
|
-
</
|
|
424
|
+
</form>
|
|
582
425
|
`;
|