@@ -73,13 +73,14 @@ function SignUpComponentLoaded() {
73
73
} ) }
74
74
</ Card . Description >
75
75
</ Card . Header >
76
- < Card . Body >
77
- < Common . GlobalError >
78
- { ( { message } ) => {
79
- return < Alert > { message } </ Alert > ;
80
- } }
81
- </ Common . GlobalError >
82
76
77
+ < Common . GlobalError >
78
+ { ( { message } ) => {
79
+ return < Alert > { message } </ Alert > ;
80
+ } }
81
+ </ Common . GlobalError >
82
+
83
+ < Card . Body >
83
84
< Connections disabled = { isGlobalLoading } />
84
85
85
86
{ hasConnection && hasIdentifier ? < Separator > { t ( 'dividerText' ) } </ Separator > : null }
@@ -137,11 +138,12 @@ function SignUpComponentLoaded() {
137
138
) : null }
138
139
139
140
{ userSettings . signUp . captcha_enabled ? < SignUp . Captcha className = 'empty:hidden' /> : null }
140
-
141
- { hasConnection || hasIdentifier ? (
142
- < Common . Loading scope = 'step:start' >
143
- { isSubmitting => {
144
- return (
141
+ </ Card . Body >
142
+ { hasConnection || hasIdentifier ? (
143
+ < Common . Loading scope = 'step:start' >
144
+ { isSubmitting => {
145
+ return (
146
+ < Card . Actions >
145
147
< SignUp . Action
146
148
submit
147
149
asChild
@@ -155,11 +157,11 @@ function SignUpComponentLoaded() {
155
157
{ t ( 'formButtonPrimary' ) }
156
158
</ Button >
157
159
</ SignUp . Action >
158
- ) ;
159
- } }
160
- </ Common . Loading >
161
- ) : null }
162
- </ Card . Body >
160
+ </ Card . Actions >
161
+ ) ;
162
+ } }
163
+ </ Common . Loading >
164
+ ) : null }
163
165
{ isDev ? < Card . Banner > Development mode</ Card . Banner > : null }
164
166
</ Card . Content >
165
167
< Card . Footer branded = { branded } >
@@ -198,12 +200,14 @@ function SignUpComponentLoaded() {
198
200
</ span >
199
201
</ Card . Description >
200
202
</ Card . Header >
203
+
204
+ < Common . GlobalError >
205
+ { ( { message } ) => {
206
+ return < Alert > { message } </ Alert > ;
207
+ } }
208
+ </ Common . GlobalError >
209
+
201
210
< Card . Body >
202
- < Common . GlobalError >
203
- { ( { message } ) => {
204
- return < Alert > { message } </ Alert > ;
205
- } }
206
- </ Common . GlobalError >
207
211
< OTPField
208
212
label = { t ( 'signUp.phoneCode.formTitle' ) }
209
213
disabled = { isGlobalLoading }
@@ -226,9 +230,11 @@ function SignUpComponentLoaded() {
226
230
</ SignUp . Action >
227
231
}
228
232
/>
229
- < Common . Loading scope = 'step:verifications' >
230
- { isSubmitting => {
231
- return (
233
+ </ Card . Body >
234
+ < Common . Loading scope = 'step:verifications' >
235
+ { isSubmitting => {
236
+ return (
237
+ < Card . Actions >
232
238
< SignUp . Action
233
239
submit
234
240
asChild
@@ -242,10 +248,10 @@ function SignUpComponentLoaded() {
242
248
{ t ( 'formButtonPrimary' ) }
243
249
</ Button >
244
250
</ SignUp . Action >
245
- ) ;
246
- } }
247
- </ Common . Loading >
248
- </ Card . Body >
251
+ </ Card . Actions >
252
+ ) ;
253
+ } }
254
+ </ Common . Loading >
249
255
</ SignUp . Strategy >
250
256
251
257
< SignUp . Strategy name = 'email_code' >
@@ -270,12 +276,14 @@ function SignUpComponentLoaded() {
270
276
</ span >
271
277
</ Card . Description >
272
278
</ Card . Header >
279
+
280
+ < Common . GlobalError >
281
+ { ( { message } ) => {
282
+ return < Alert > { message } </ Alert > ;
283
+ } }
284
+ </ Common . GlobalError >
285
+
273
286
< Card . Body >
274
- < Common . GlobalError >
275
- { ( { message } ) => {
276
- return < Alert > { message } </ Alert > ;
277
- } }
278
- </ Common . GlobalError >
279
287
< OTPField
280
288
label = { t ( 'signUp.emailCode.formTitle' ) }
281
289
disabled = { isGlobalLoading }
@@ -298,9 +306,11 @@ function SignUpComponentLoaded() {
298
306
</ SignUp . Action >
299
307
}
300
308
/>
301
- < Common . Loading scope = 'step:verifications' >
302
- { isSubmitting => {
303
- return (
309
+ </ Card . Body >
310
+ < Common . Loading scope = 'step:verifications' >
311
+ { isSubmitting => {
312
+ return (
313
+ < Card . Actions >
304
314
< SignUp . Action
305
315
submit
306
316
asChild
@@ -314,10 +324,10 @@ function SignUpComponentLoaded() {
314
324
{ t ( 'formButtonPrimary' ) }
315
325
</ Button >
316
326
</ SignUp . Action >
317
- ) ;
318
- } }
319
- </ Common . Loading >
320
- </ Card . Body >
327
+ </ Card . Actions >
328
+ ) ;
329
+ } }
330
+ </ Common . Loading >
321
331
</ SignUp . Strategy >
322
332
323
333
< SignUp . Strategy name = 'email_link' >
@@ -346,12 +356,14 @@ function SignUpComponentLoaded() {
346
356
</ span >
347
357
</ Card . Description >
348
358
</ Card . Header >
359
+
360
+ < Common . GlobalError >
361
+ { ( { message } ) => {
362
+ return < Alert > { message } </ Alert > ;
363
+ } }
364
+ </ Common . GlobalError >
365
+
349
366
< Card . Body >
350
- < Common . GlobalError >
351
- { ( { message } ) => {
352
- return < Alert > { message } </ Alert > ;
353
- } }
354
- </ Common . GlobalError >
355
367
< SignUp . Action
356
368
resend
357
369
asChild
@@ -385,12 +397,14 @@ function SignUpComponentLoaded() {
385
397
< Card . Title > { t ( 'signUp.continue.title' ) } </ Card . Title >
386
398
< Card . Description > { t ( 'signUp.continue.subtitle' ) } </ Card . Description >
387
399
</ Card . Header >
400
+
401
+ < Common . GlobalError >
402
+ { ( { message } ) => {
403
+ return < Alert > { message } </ Alert > ;
404
+ } }
405
+ </ Common . GlobalError >
406
+
388
407
< Card . Body >
389
- < Common . GlobalError >
390
- { ( { message } ) => {
391
- return < Alert > { message } </ Alert > ;
392
- } }
393
- </ Common . GlobalError >
394
408
< div className = 'space-y-4' >
395
409
{ firstNameEnabled && lastNameEnabled ? (
396
410
< div className = 'flex gap-4' >
@@ -430,10 +444,11 @@ function SignUpComponentLoaded() {
430
444
/>
431
445
) : null }
432
446
</ div >
433
-
434
- < Common . Loading scope = 'step:continue' >
435
- { isSubmitting => {
436
- return (
447
+ </ Card . Body >
448
+ < Common . Loading scope = 'step:continue' >
449
+ { isSubmitting => {
450
+ return (
451
+ < Card . Actions >
437
452
< SignUp . Action
438
453
submit
439
454
asChild
@@ -447,10 +462,10 @@ function SignUpComponentLoaded() {
447
462
{ t ( 'formButtonPrimary' ) }
448
463
</ Button >
449
464
</ SignUp . Action >
450
- ) ;
451
- } }
452
- </ Common . Loading >
453
- </ Card . Body >
465
+ </ Card . Actions >
466
+ ) ;
467
+ } }
468
+ </ Common . Loading >
454
469
{ isDev ? < Card . Banner > Development mode</ Card . Banner > : null }
455
470
</ Card . Content >
456
471
< Card . Footer branded = { branded } >
0 commit comments