-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathindex.js
More file actions
672 lines (643 loc) · 29.4 KB
/
index.js
File metadata and controls
672 lines (643 loc) · 29.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
import React, { useState, useEffect } from "react";
import Webform from "./webform.style";
import SlackLinkNotif from "../../../components/SlackLinkNotif";
import { Container } from "../../../reusecore/Layout";
import Button from "../../../reusecore/Button";
import { Field, Formik, Form } from "formik";
import axios from "axios";
import { Link } from "gatsby";
const validateEmail = (value) => {
let error;
if (!value) {
error = "Required";
} else if (!/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/.test(value)) {
error = "Please enter a valid email address";
}
return error;
};
const validatePictureUrl = (value) => {
let error;
if (value) {
if (value.startsWith("data:")) {
error = "Data URIs are not allowed. Please provide a URL, starting with http:// or https:// to an image file.";
} else {
try {
new URL(value);
const isGoogleDrive = value.includes("drive.google.com");
const validGoogleDrivePattern = /drive\.google\.com\/file\/d\/.+\/(view|uc\?)/;
if (isGoogleDrive) {
if (!validGoogleDrivePattern.test(value)) {
error = "Please provide a direct Google Drive file link. Right-click the file in Google Drive and select 'Get link' to get a shareable link that includes '/file/d/' in the URL.";
}
} else {
const allowedImageExtensions = ["jpg", "jpeg", "png", "webp", "svg", "gif"];
const extension = value.split(".").pop().toLowerCase();
if (!allowedImageExtensions.includes(extension)) {
error = "URL must point to an image file (jpg, jpeg, png, svg, webp or gif).";
}
}
} catch (err) {
console.error("Error in validatePictureUrl:", err);
return "Please enter a URL to an image file.";
}
}
}
return error;
};
const WebBasedForm = () => {
const [stepNumber, setStepNumber] = useState(0);
const [role, setRole] = useState("");
// Form values
const [memberFormOne, setMemberFormOne] = useState({});
const [MemberFormThirdValue, setMemberFormThirdValue] = useState({});
const [MemberFormFourValue, setMemberFormFourValue] = useState({});
const [submit, setSubmit] = useState(false);
const nextStep = () => {
if (stepNumber === 3) {
setSubmit(true);
}
window.scrollTo(0, 0);
};
const laststep = () => {
window.scrollTo(0,0);
setStepNumber(stepNumber - 1);
};
useEffect(() => {
if (submit) {
axios.post("https://hook.us1.make.com/nd4srs976am5a4h5i17g3qmd4gq8defu", {
memberFormOne,
MemberFormThirdValue,
MemberFormFourValue,
role
});
}
}, [submit]);
const RangeDisplay = () => {
return (
<ul className="timeline" id="timeline">
<li className={stepNumber === 0 ? ("li active") : stepNumber > 0 ? ("li complete") : ("li")}>
<div className="status">
</div>
</li>
<li className={stepNumber === 1 ? ("li active") : stepNumber > 1 ? ("li complete") : ("li")}>
<div className="status">
</div>
</li>
<li className={stepNumber === 2 ? ("li active") : stepNumber > 2 ? ("li complete") : ("li")}>
<div className="status">
</div>
</li>
<li className={stepNumber === 3 ? ("li active") : stepNumber > 3 ? ("li complete") : ("li")}>
<div className="status">
</div>
</li>
<li className={stepNumber >= 4 ? ("li complete") : ("li")}>
<div className="status">
</div>
</li>
</ul>
);
};
const MemberFormStart = () => {
return (
<Container>
<h2 className="title">New Community Member</h2>
<p className="para">Hi! Welcome to the Layer5 community. As you get oriented with the community and its projects, will you consider filling in this form? It helps us get familiarized with you and you with the ongoing projects and community. There is much to learn around the technologies at-hand. We'll look to get you acclimated and engaged around your areas of interest and passion. </p>
<Formik
initialValues={{
firstname: memberFormOne.firstname ? memberFormOne.firstname : "",
lastname: memberFormOne.lastname ? memberFormOne.lastname : "",
email: memberFormOne.email ? memberFormOne.email : "",
occupation: memberFormOne.occupation ? memberFormOne.occupation : "",
org: memberFormOne.org ? memberFormOne.org : "",
github: memberFormOne.github ? memberFormOne.github : "",
twitter: memberFormOne.twitter ? memberFormOne.twitter : "",
linkedin: memberFormOne.linkedin ? memberFormOne.linkedin : "",
tshirtSize: memberFormOne.tshirtSize ? memberFormOne.tshirtSize : "",
picture: memberFormOne.picture ? memberFormOne.picture : ""
}}
onSubmit={values => {
const trimmedValues = Object.fromEntries(
Object.entries(values).map(([key, value]) => [key, value.trim()])
);
setMemberFormOne(trimmedValues);
setStepNumber(1);
nextStep();
}}
>
{({ errors, touched }) => (
<Form className="form" method="post">
<label htmlFor="fname" className="form-name">First Name <span className="required-sign">*</span></label>
<Field type="text" className="text-field" id="firstname" name="firstname" maxLength="32" pattern="[A-Za-z\s]{1,32}" required onInvalid={e => e.target.setCustomValidity("Please fill-in this field")} onInput={e => e.target.setCustomValidity("")} />
<label htmlFor="lname" className="form-name">Last Name <span className="required-sign">*</span></label>
<Field type="text" className="text-field" id="lastname" name="lastname" maxLength="32" pattern="[A-Za-z\s]{1,32}" required onInvalid={e => e.target.setCustomValidity("Please fill-in this field")} onInput={e => e.target.setCustomValidity("")} />
<label htmlFor="email" className="form-name">Email Address <span className="required-sign">*</span></label>
<Field type="text" className="text-field" id="email" name="email" validate={validateEmail} />{errors.email && touched.email && <p style={{ margin: "0px", color: "red", fontSize: "16px" }}>{errors.email}</p>}
<label htmlFor="occupation" className="form-name">Occupation / Title</label>
<Field type="text" className="text-field" id="occupation" name="occupation" />
<label htmlFor="org" className="form-name">Organization / Company / School</label>
<Field type="text" className="text-field" id="org" name="org" />
<label htmlFor="github" className="form-name">GitHub</label>
<Field type="url" placeholder="https://github.com/" className="text-field" id="github" name="github" pattern="http(s?)(:\/\/)((www.)?)github.com(\/)([a-zA-z0-9\-_]+)" />
<label htmlFor="twitter" className="form-name">Twitter</label>
<Field type="url" placeholder="https://twitter.com/" className="text-field" id="twitter" name="twitter" pattern="http(s?)(:\/\/)((www.)?)(twitter|x).com(\/)([a-zA-z0-9\-_]+)" />
<label htmlFor="linkedin" className="form-name">Linkedin</label>
<Field type="url" placeholder="https://www.linkedin.com/" className="text-field" id="linkedin" name="linkedin" />
<label htmlFor="tshirtSize" className="form-name">T-shirt size</label>
<div role="group" aria-labelledby="my-radio-group">
<label>
<Field type="radio" name="tshirtSize" value="XS" />
XS
</label>
<br></br>
<label>
<Field type="radio" name="tshirtSize" value="S" />
S
</label>
<br></br>
<label>
<Field type="radio" name="tshirtSize" value="M" />
M
</label>
<br></br>
<label>
<Field type="radio" name="tshirtSize" value="L" />
L
</label>
<br></br>
<label>
<Field type="radio" name="tshirtSize" value="XL" />
XL
</label>
<br></br>
<label>
<Field type="radio" name="tshirtSize" value="XXL" />
XXL
</label>
</div>
<label htmlFor="picture" className="form-name">Picture</label>
<Field type="url" className="text-field" id="picture" name="picture" validate={validatePictureUrl}/>
{errors.picture && touched.picture && <div style={{ margin: "0px", color: "red", fontSize: "16px" }}>{errors.picture}</div>}
<p className="para label">Please provide a link to your profile photo. Profile photos are used for <Link to="/community/members">community member profiles</Link> of longstanding community members.</p>
<Button secondary type="submit" className="btn" title="Next Step" /> <br /><br /><br /><br />
</Form>
)}
</Formik>
</Container>
);
};
const MemberFormSecond = () => {
return (
<Container>
<h2 className="title">About You and Why You're Here</h2>
<p className="para">
Which describes your main focus as a community member?{" "}
</p>
<div className="center">
<div className={role === "Contributor" ? "option active" : "option"} onClick={() => {
setRole("Contributor");
}}
>
I'm here as a Contributor
</div>
<div className={role === "Developer" ? "option active" : "option"} onClick={() => {
setRole("Developer");
}}
>
I'm here as a User
</div>
<div className={role === "User" ? "option active" : "option"} onClick={() => {
setRole("User");
}}
>
I'm here as a User and Contributor
</div>
<div className={role === "Bystander" ? "option active" : "option"} onClick={() => {
setRole("Bystander");
}}
>
I'm here as a Bystander <br /><small>(here to learn and absorb passively)</small>
</div>
<br /><br />
<div className="btn-wrapper">
<button onClick={laststep} className="btn-prev"><span className="back">←</span> Previous Step</button>
<Button onClick={() => setStepNumber(2)} $secondary type="submit" className="btn-next" title="Next Step" />
</div>
</div>
<br /><br /><br /><br />
</Container>
);
};
const MemberFormThird = () => {
return (
<Container>
<h2 className="title">Layer5 and You</h2>
<Formik
initialValues={{
projects: MemberFormThirdValue.projects ? MemberFormThirdValue.projects : [],
tutorials: MemberFormThirdValue.tutorials ? MemberFormThirdValue.tutorials : [],
meshMate: MemberFormThirdValue.tutorials ? MemberFormThirdValue.meshMate : [],
interests: MemberFormThirdValue.interests ? MemberFormThirdValue.interests : "",
profiency: MemberFormThirdValue.profiency ? MemberFormThirdValue.profiency : "",
interestToShareContribution: MemberFormThirdValue.interestToShareContribution ? MemberFormThirdValue.interestToShareContribution : "",
areaOfFocus: MemberFormThirdValue.areaOfFocus ? MemberFormThirdValue.areaOfFocus : []
}}
onSubmit={values => {
setMemberFormThirdValue(values);
setStepNumber(3);
nextStep();
}}
>
<Form className="form">
<p className="form-name">Which project(s) are of interest to you?</p>
<label>
<Field type="checkbox"
name="projects"
value="Meshery"
className="form-check"
/>
<span className="checkbox-label">Meshery</span>
</label>
<br />
<label>
<Field type="checkbox"
name="projects"
value="Cloud Native Performance (CMP)"
className="form-check"
/>
<span className="checkbox-label">Cloud Native Performance (CMP)</span>
</label>
<br />
<label>
<Field type="checkbox"
name="projects"
value="NightHawk"
className="form-check"
/>
<span className="checkbox-label">NightHawk</span>
</label>
<br />
<label>
<Field type="checkbox"
name="projects"
value="Kanvas"
className="form-check"
/>
<span className="checkbox-label">Kanvas</span>
</label>
<br />
<label>
<Field type="checkbox"
name="projects"
value="I'm not sure,yet. I'm still exploring"
className="form-check"
/>
<span className="checkbox-label">I'm not sure,yet. I'm still exploring</span>
</label>
<br />
<label>
<Field type="checkbox"
name="projects"
value="All of them!"
className="form-check"
/>
<span className="checkbox-label">All of them!</span>
</label>
<p className="form-name">Mark any of the following 101 tutorials that you would like to receive.</p>
<label>
<Field type="checkbox"
name="tutorials"
value="A Git and Github primer"
className="form-check"
/>
<span className="checkbox-label">A Git and Github primer</span>
</label>
<br />
<label>
<Field type="checkbox"
name="tutorials"
value="Contributing to Meshery UI with ReactJS, NextJS and Material UI"
className="form-check"
/>
<span className="checkbox-label">Contributing to Meshery UI with ReactJS, NextJS and Material UI</span>
</label>
<br />
<label>
<Field type="checkbox"
name="tutorials"
value="Introduction to Kanvas"
className="form-check"
/>
<span className="checkbox-label">Introduction to Kanvas</span>
</label>
<br />
<label>
<Field type="checkbox"
name="tutorials"
value="Introduction to using a cloud native management plane: Meshery"
className="form-check"
/>
<span className="checkbox-label">Introduction to using a cloud native management plane: Meshery</span>
</label>
<br />
<label>
<Field type="checkbox"
name="tutorials"
value="How gRPC is used in Meshery and Cloud Native Performance (CMP)"
className="form-check"
/>
<span className="checkbox-label">How CRDTs are used in Meshery to facilitate distributed data synchronization</span>
</label>
<br />
<label>
<Field type="checkbox"
name="tutorials"
value="How Jekyll, Hugo, Gatsby websites work and how to contribute to Layer5 projects"
className="form-check"
/>
<span className="checkbox-label">How Jekyll, Hugo, Gatsby websites work and how to contribute to Layer5 projects</span>
</label>
<br />
<label>
<Field type="checkbox"
name="tutorials"
value="How mesheryctl uses Go Cobra"
className="form-check"
/>
<span className="checkbox-label">How mesheryctl uses Go Cobra</span>
</label>
<br />
<label>
<Field type="checkbox"
name="tutorials"
value="Introduction to AWS with Meshery"
className="form-check"
/>
<span className="checkbox-label">Introduction to AWS with Meshery</span>
</label>
<br />
<label>
<Field type="checkbox"
name="tutorials"
value="None of the above"
className="form-check"
/>
<span className="checkbox-label">None of the above</span>
</label>
<p className="form-name"><Link to="https://layer5.io/community/meshmates">Layer5 MeshMates</Link> is a community member mentoring program aimed at individuals new to open source or simply new to Layer5 projects. Is this program of interest to you?</p>
<label>
<Field type="checkbox"
name="meshMate"
value="Yes, and I would like to explore engaging with a Layer5 MeshMate."
className="form-check"
/>
<span className="checkbox-label">Yes, and I would like to explore engaging with a Layer5 MeshMate.</span>
</label>
<br />
<label>
<Field type="checkbox"
name="meshMate"
value="Maybe later."
className="form-check"
/>
<span className="checkbox-label">Maybe later.</span>
</label>
<br />
<label>
<Field type="checkbox"
name="meshMate"
value="No, thank you."
className="form-check"
/>
<span className="checkbox-label">No, thank you.</span>
</label>
<br />
<p className="para label">If you would like to pair with a MeshMate, please review each MeshMate profile to identify your ideal mentor. Once you have identified your ideal MeshMate or if you can’t decide on one, simply ask to be partnered in the <a href="https://layer5io.slack.com/archives/C019426UBNY">#newcomers channel</a> in the Layer5 Slack.</p>
<label htmlFor="interests" className="form-name">What has your recent focus been? Why have you joined the community? What are you passionate about? Is there a specific project or aspect of project that interests you?<span className="required-sign">*</span></label>
<Field as="textarea" className="text-field" id="interests" name="interests" required onInvalid={e => e.target.setCustomValidity("Please fill-in this field")} onInput={e => e.target.setCustomValidity("")} />
<label htmlFor="profiency" className="form-name">If a contributor, what tools, technologies, or languages are you most proficient with?</label>
<Field as="textarea" className="text-field" id="profiency" name="profiency" />
<p className="para label">Examples: [Go/Gorilla, Javascript/React… ], [Photoshop, Illustrator, Figma…], [DevOps, Kubernetes, AWS, CI pipelining…], [Digital marketing, social media, community management…]</p>
<p className="form-name">Area(s) of Desired Focus</p>
<label>
<Field type="checkbox"
name="areaOfFocus"
value="Community Ambassador"
className="form-check"
/>
<span className="checkbox-label">Community Ambassador</span>
</label>
<br />
<label>
<Field type="checkbox"
name="areaOfFocus"
value="Community Management"
className="form-check"
/>
<span className="checkbox-label">Community Management</span>
</label>
<br />
<label>
<Field type="checkbox"
name="areaOfFocus"
value="Documentation"
className="form-check"
/>
<span className="checkbox-label">Documentation</span>
</label>
<br />
<label>
<Field type="checkbox"
name="areaOfFocus"
value="Digital Marketing"
className="form-check"
/>
<span className="checkbox-label">Digital Marketing</span>
</label>
<br />
<label>
<Field type="checkbox"
name="areaOfFocus"
value="Frontend Engineering"
className="form-check"
/>
<span className="checkbox-label">Frontend Engineering</span>
</label>
<br />
<label>
<Field type="checkbox"
name="areaOfFocus"
value="Backend Engineering"
className="form-check"
/>
<span className="checkbox-label">Backend Engineering</span>
</label>
<br />
<label>
<Field type="checkbox"
name="areaOfFocus"
value="DevOps"
className="form-check"
/>
<span className="checkbox-label">DevOps</span>
</label>
<br />
<label>
<Field type="checkbox"
name="areaOfFocus"
value="User"
className="form-check"
/>
<span className="checkbox-label">User</span>
</label>
<br />
<label>
<Field type="checkbox"
name="areaOfFocus"
value="Other"
className="form-check"
/>
<span className="checkbox-label">Other</span>
</label>
<label htmlFor="interestToShareContribution" className="form-name">Now or eventually, would you like to speak or write about your works in the community and/or on the projects?<span className="required-sign">*</span></label>
<div role="group" aria-labelledby="my-radio-group">
<label>
<Field type="radio" name="interestToShareContribution" value="Yes" required />
Yes
</label>
<label>
<Field type="radio" name="interestToShareContribution" value="Eventually" required />
Eventually
</label>
<label>
<Field type="radio" name="interestToShareContribution" value="No" required />
No
</label>
</div>
<br /><br />
<div className="btn-wrapper">
<button onClick={laststep} className="btn-prev"><span className="back">←</span> Previous Step</button>
<Button $secondary type="submit" className="btn-next" title="Next Step" />
</div>
<br /><br />
</Form>
</Formik>
</Container>
);
};
const MemberFormFour = () => {
return (
<Container>
<h2 className="title">Expectations and Programs FAQ</h2>
<p>Commonly asked questions about general engagement expectations and information focal to internship programs. See the <Link to="/community">Layer5 Community</Link> and <Link to="/programs">Open Source Internship Programs</Link> for additional information.</p>
<Formik
initialValues={{
expect: false,
highlighted: false,
paid: false,
affiliated: false,
help: MemberFormFourValue.help ? MemberFormFourValue.help : ""
}}
onSubmit={values => {
setMemberFormFourValue(values);
setStepNumber(4);
nextStep();
}}
>
<Form className="form">
<p className="form-name">What can I expect from Layer5? What does Layer5 expect of me?</p>
<p className="para label">The Layer5 community expects you to get as much or more out of your time than you give to the projects. We expect earnest effort from its contributors. What “earnest effort” means is different for each community member as all have different circumstances. Suffice to say, the more you put into your efforts, the greater your reward will be. Most community contributors stay with the project for many months, if not indefinitely. Length of involvement is entirely up to the individual community member.</p>
<label>
<Field type="checkbox"
name="expect"
className="form-check"
/>
<span>Ok</span>
</label>
<p className="form-name">I see works of other contributors being highlighted in the Layer5social channels.</p>
<p className="para label">We try to elevate the works of our contributors. All of our community members are proud of their work and so are we! We want their work and names to be recognized across our collective technology industry. Be sure to follow and engage with these Twitter accounts, YouTube, and LinkedIn accounts.</p>
<label>
<Field type="checkbox"
name="highlighted"
className="form-check"
/>
<span>Ok</span>
</label>
<p className="form-name">Are community contributors paid? Are internships paid? What do I get in return?</p>
<p className="para label">With few exceptions, generally community contributors and interns are not paid. Those that participate through Google Summer of Code, LFX, or Google Season of Docs do receive a stipend at the culmination of their internship. The largest return on time invested in the community for any contributor is the knowledge, relationships, recognition, and experience gained throughout their engagement. Their participation affords them an opportunity to work with world-class engineers, gives focus and purpose to their learning efforts on technologies they otherwise may not understand, and exposes their work broadly to the Cloud Native community. Letters of recommendation, mentorship and coaching, introduction to engineers at globally-recognized technology companies, potential contract or full-time work at Layer5, public writing and speaking opportunities are all examples of benefits those that participate can receive for their time spent.</p>
<label>
<Field type="checkbox"
name="paid"
className="form-check"
/>
<span>Ok</span>
</label>
<p className="form-name">I see other contributors have affiliated themselves with Layer5 on LinkedIn. Am I encouraged to do the same?</p>
<p className="para label">Yes! We welcome you to affiliate with the community and projects. We consider this affiliation helpful in boosting your profile and resume in context of job searches and overall in general. Be sure to update your profile, and be social about your activities. We love to highlight our members!</p>
<label>
<Field type="checkbox"
name="affiliated"
className="form-check"
/>
<span>Ok</span>
</label>
<p className="form-name">Is there anything else we should know about you? How can we help you?</p>
<Field type="text" className="text-field" name="help" />
<br /><br />
<div className="btn-wrapper">
<button onClick={laststep} className="btn-prev"><span className="back">←</span> Previous Step</button>
<Button $secondary type="submit" className="btn-next" title="Complete" />
</div>
<br /><br />
</Form>
</Formik>
</Container>
);
};
const FinalForm = () => {
return (
<Container>
<div className="black-box">
<h2>Welcome to the Layer5 Community!</h2>
<h4>Resources are on their way. See these in the meantime:</h4>
<div className="btn-box">
<Button $primary className="btn-one" type="button" title="Community Handbook" $url="https://layer5.io/community/handbook" />
<Button $secondary className="btn-two" type="button" title="Newcomers Roadmap" $url="https://layer5.io/community/newcomers" />
</div>
<p>We are pleased to have you as a new member! You have been added to the community mailing list. You can also access the <Link to="/community/calendar">community calendar</Link> to stay updated on weekly meetings. If you prefer not to receive emails, you can <Link to="/unsubscribe">unsubscribe</Link> at anytime.</p>
</div>
</Container>
);
};
return (
<Webform>
<div>
<SlackLinkNotif />
<div>
<RangeDisplay />
{
stepNumber === 0 &&
<MemberFormStart />
}
{
stepNumber === 1 &&
<MemberFormSecond />
}
{
stepNumber === 2 &&
<MemberFormThird />
}
{
stepNumber === 3 &&
<MemberFormFour />
}
{
stepNumber === 4 &&
<FinalForm />
}
</div>
</div>
</Webform>
);
};
export default WebBasedForm;