-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
768 lines (739 loc) · 35 KB
/
index.html
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
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
<!DOCTYPE html>
<html lang="en">
<head>
<title>METAMORPHOSIS</title>
<link rel="icon" href="./lenk.png" type="image/png" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Geany 1.37.1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="style.css" rel="stylesheet" />
<!-- <link rel="stylesheet/scss" type="text/scss" href="./styles.scss"> -->
<!-- The following libraries and polyfills are recommended to maximize browser support -->
<!-- NOTE: you must adjust the paths as appropriate for your project -->
<!-- REQUIRED: Web Components polyfill to support Edge and Firefox < 63 -->
<script src="script.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.1.3/webcomponents-loader.js"></script>
<script>
window.onload = function () {
var technologyDropdown = document.getElementById("technology");
technologyDropdown.value = "both";
updateQRCode();
};
function updateQRCode() {
var technologyDropdown = document.getElementById("technology");
var golangQR = document.getElementById("golangQR");
var dockerQR = document.getElementById("dockerQR");
var bothQR = document.getElementById("bothQR");
golangQR.style.display = "none";
dockerQR.style.display = "none";
bothQR.style.display = "none";
if (technologyDropdown.value === "docker") {
dockerQR.style.display = "block";
} else if (technologyDropdown.value === "golang") {
golangQR.style.display = "block";
} else if (technologyDropdown.value === "both") {
bothQR.style.display = "block";
}
}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
rel="stylesheet"
/>
<style>
@font-face {
font-family: "HeliosRegular";
src: url("./fonts/helios-regular.ttf") format("truetype"); /* Adjust the path to your font file */
font-weight: normal;
font-style: normal;
}
</style>
</head>
<body>
<img
class="wlug-logo-purple"
src="./wlug-purple-logo.png"
alt="WLUG Logo"
/>
<div class="center">
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
</div>
<div class="bg-image">
<div class="header" id="home">
<p class="club_name">Walchand Linux Users' Group</p>
<p class="presents">presents</p>
<p>Metamorphosis</p>
<p>2k24</p>
<br />
<br />
</div>
<img src="./bgg.png" alt="bg-image" style="height: 110vh" />
<video src="./"></video>
</div>
<nav>
<div class="nav_elements">
<a href="#home"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 576 512"
fill="#d3c1e7"
>
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"
/></svg
><span> Home</span></a
>
<a href="#dockerCont"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 640 512"
fill="#d3c1e7"
>
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M349.9 236.3h-66.1v-59.4h66.1v59.4zm0-204.3h-66.1v60.7h66.1V32zm78.2 144.8H362v59.4h66.1v-59.4zm-156.3-72.1h-66.1v60.1h66.1v-60.1zm78.1 0h-66.1v60.1h66.1v-60.1zm276.8 100c-14.4-9.7-47.6-13.2-73.1-8.4-3.3-24-16.7-44.9-41.1-63.7l-14-9.3-9.3 14c-18.4 27.8-23.4 73.6-3.7 103.8-8.7 4.7-25.8 11.1-48.4 10.7H2.4c-8.7 50.8 5.8 116.8 44 162.1 37.1 43.9 92.7 66.2 165.4 66.2 157.4 0 273.9-72.5 328.4-204.2 21.4 .4 67.6 .1 91.3-45.2 1.5-2.5 6.6-13.2 8.5-17.1l-13.3-8.9zm-511.1-27.9h-66v59.4h66.1v-59.4zm78.1 0h-66.1v59.4h66.1v-59.4zm78.1 0h-66.1v59.4h66.1v-59.4zm-78.1-72.1h-66.1v60.1h66.1v-60.1z"
/></svg
><span> Docker</span></a
>
<a href="#go"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 640 512"
fill="#d3c1e7"
>
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M400.1 194.8C389.2 197.6 380.2 199.1 371 202.4C363.7 204.3 356.3 206.3 347.8 208.5L347.2 208.6C343 209.8 342.6 209.9 338.7 205.4C334 200.1 330.6 196.7 324.1 193.5C304.4 183.9 285.4 186.7 267.7 198.2C246.5 211.9 235.6 232.2 235.9 257.4C236.2 282.4 253.3 302.9 277.1 306.3C299.1 309.1 316.9 301.7 330.9 285.8C333 283.2 334.9 280.5 337 277.5V277.5L337 277.5C337.8 276.5 338.5 275.4 339.3 274.2H279.2C272.7 274.2 271.1 270.2 273.3 264.9C277.3 255.2 284.8 239 289.2 230.9C290.1 229.1 292.3 225.1 296.1 225.1H397.2C401.7 211.7 409 198.2 418.8 185.4C441.5 155.5 468.1 139.9 506 133.4C537.8 127.8 567.7 130.9 594.9 149.3C619.5 166.1 634.7 188.9 638.8 218.8C644.1 260.9 631.9 295.1 602.1 324.4C582.4 345.3 557.2 358.4 528.2 364.3C522.6 365.3 517.1 365.8 511.7 366.3C508.8 366.5 506 366.8 503.2 367.1C474.9 366.5 449 358.4 427.2 339.7C411.9 326.4 401.3 310.1 396.1 291.2C392.4 298.5 388.1 305.6 382.1 312.3C360.5 341.9 331.2 360.3 294.2 365.2C263.6 369.3 235.3 363.4 210.3 344.7C187.3 327.2 174.2 304.2 170.8 275.5C166.7 241.5 176.7 210.1 197.2 184.2C219.4 155.2 248.7 136.8 284.5 130.3C313.8 124.1 341.8 128.4 367.1 145.6C383.6 156.5 395.4 171.4 403.2 189.5C405.1 192.3 403.8 193.9 400.1 194.8zM48.3 200.4C47.1 200.4 46.7 199.8 47.4 198.8L53.9 190.4C54.5 189.5 56.1 188.9 57.3 188.9H168.6C169.8 188.9 170.1 189.8 169.5 190.7L164.2 198.8C163.6 199.8 162 200.7 161.1 200.7L48.3 200.4zM1.2 229.1C0 229.1-.3 228.4 .3 227.5L6.9 219.1C7.5 218.2 9 217.5 10.3 217.5H152.4C153.6 217.5 154.2 218.5 153.9 219.4L151.4 226.9C151.1 228.1 149.9 228.8 148.6 228.8L1.2 229.1zM75.7 255.9C75.1 256.8 75.4 257.7 76.7 257.7L144.6 258C145.5 258 146.8 257.1 146.8 255.9L147.4 248.4C147.4 247.1 146.8 246.2 145.5 246.2H83.2C82 246.2 80.7 247.1 80.1 248.1L75.7 255.9zM577.2 237.9C577 235.3 576.9 233.1 576.5 230.9C570.9 200.1 542.5 182.6 512.9 189.5C483.9 196 465.2 214.4 458.4 243.7C452.8 268 464.6 292.6 487 302.6C504.2 310.1 521.3 309.2 537.8 300.7C562.4 287.1 575.8 268 577.4 241.2C577.3 240 577.3 238.9 577.2 237.9z"
/></svg
><span> Go</span></a
>
<a href="#register"
><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" fill="#d3c1e7"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"/></svg>
<span> Register</span></a
>
<a href="#about"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 576 512"
fill="#d3c1e7"
>
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M512 80c8.8 0 16 7.2 16 16V416c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16H512zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM208 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128zm-32 32c-44.2 0-80 35.8-80 80c0 8.8 7.2 16 16 16H304c8.8 0 16-7.2 16-16c0-44.2-35.8-80-80-80H176zM376 144c-13.3 0-24 10.7-24 24s10.7 24 24 24h80c13.3 0 24-10.7 24-24s-10.7-24-24-24H376zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24h80c13.3 0 24-10.7 24-24s-10.7-24-24-24H376z"
/></svg
><span> About us</span></a
>
</div>
</nav>
<div class="containers">
<h1 class="title" id="dockerTitle">Docker</h1>
<div class="docker_container" id="dockerCont">
<div class="docker_session">
<div class="docker_session1">
<h1>
Session 1:<br />
Dock into Basics
</h1>
<p>
Still thinking of installing an entire operating system to run an
application? Stop! Get ready to unlock the potential of Docker and
revolutionize your development workflow! This session will provide
you with the foundational knowledge you need to thrive in the
world of containers. From mastering the art of Docker installation
and setup to seamlessly managing Docker images and leveraging
powerful registries, you'll emerge confident to tackle any
containerization challenge head-on. In this session, we’ll dock
into the basics of Docker!
</p>
</div>
<div class="docker_session2">
<h1>
Session 2:<br />
Containers' Harmony
</h1>
<p>
In this session we’ll direct our way towards the advanced Docker
techniques! Ever wondered if we can connect multiple Docker
containers and manage their dependency on each other? Prepare to
be amazed as we explore Docker networking and compose techniques,
unraveling the intricacies of container communication and
collaboration within complex environments. Throughout this
session, we’ll set the containers in harmony like an actual
orchestra!
</p>
</div>
</div>
<model-viewer
id="docker-model"
src="docker1.glb"
alt="A 3D model of a car"
shadow-intensity="1"
camera-controls
auto-rotate
disable-zoom
ar
>
</model-viewer>
</div>
<h1 class="title" id="goTitle">GoLang</h1>
<div class="go_container" id="go">
<model-viewer
id="go-model"
src="Gopher.glb"
alt="A 3D model of a car"
shadow-intensity="1"
camera-controls
auto-rotate
disable-zoom
ar
>
</model-viewer>
<div class="go_session">
<div class="go_session1">
<h1>
Session 1:<br />
Let’s Gopher it!
</h1>
<p>
There are a ton of programming languages available! There are so
many factors to think about. However, there is a language that
everyone should know: GoLang! In this session, we’ll start with
this open-source language developed by Google that is currently
widely used in the industry and is renowned for its speed,
concurrency management, and easy-to-understand syntax. Excited
about this new journey and building something mindblowing? Well,
let's gopher it!
</p>
</div>
<div class="go_session2">
<h1>
Session 2:<br />
Go Next Level
</h1>
<p>
The base has been built. Weapons have been equipped. Now, with the
knowledge of handling this powerful language, in this session,
we’ll move towards a very crucial and advanced concept which is
concurrency, and ultimately build a project in GoLang. GoLang
being cross-platform handles concurrency smoothly like butter.
This makes it best suited for developing applications that can
handle heavy traffic. Want to know how? We’ll learn about it in
this session and Go Next Level!
</p>
</div>
</div>
</div>
<div class="forms_closed glass">
<h1>Registations are Closed !<br>For Spot Entries visit WCE Campus.</h1>
</div>
<!-- <div class="register" id="register">
<div class="container glass flex">
<h1 class="main">Registration Form</h1>
<div class="subContainer">
<div class="form">
<form id="myForm">
<label for="fullName" class="text">Full Name:</label>
<input
type="text"
id="fullName"
name="fullName"
required
class="box"
placeholder="Enter your Full name"
style="caret-color: white"
/>
<label for="email" class="text">Email Address:</label>
<input
type="email"
id="email"
name="email"
required
class="box"
placeholder="Enter your valid Email Address"
style="caret-color: white"
/>
<label for="mobile" class="text"
>Mobile Number (Do not add +91):</label
>
<input
type="tel"
id="mobile"
name="mobile"
pattern="[1-9][0-9]{9}"
required
class="box"
placeholder="Enter your Mobile Number"
style="caret-color: white"
/>
<label for="college" class="text">College/University:</label>
<input
type="text"
id="college"
name="college"
required
class="box"
placeholder="Enter your college/university name"
style="caret-color: white"
/>
<label for="yearOfStudy" class="text">Year of Study:</label>
<select
type="text"
id="yearOfStudy"
name="yearOfStudy"
required
class="box1"
style="color: white"
>
<option value="1" class="opt">First Year</option>
<option value="2" class="opt">Second Year</option>
<option value="3" class="opt">Third year</option>
<option value="4" class="opt">Final year</option>
<option value="4" class="opt">Other</option>
</select>
<label for="dualBoot" class="text"
>Do you have a dual booted laptop?</label
>
<select id="dualBoot" name="dualBoot" required class="box1">
<option value="true" class="opt">Yes</option>
<option value="false" class="opt">No</option>
</select>
<label for="technology1" class="text"
>Which technology do you want to master?</label
>
<select
id="technology"
name="technology1"
required
class="box1"
onchange="updateQRCode()"
>
<option value="docker" class="opt">Docker</option>
<option value="golang" class="opt">Golang</option>
<option value="both" class="opt">Both</option>
</select>
<label for="paymentScreenshot" class="text"
>Upload Payment Screenshot (With Transaction ID):</label
>
<input
type="file"
id="file"
name="paymentScreenshot"
required
accept="image/*"
class="upload"
style="caret-color: white"
style="display: none"
/>
<label for="referralCode" class="text"
>Referral Code (if any):</label
>
<input
type="text"
id="referralCode"
name="referralCode"
placeholder="Enter Referral Code"
class="box"
style="caret-color: white"
onblur="validateReferralCode()"
/>
<span id="referralCodeError" style="color: white"></span>
<button
type="submit"
class="button-89"
role="button"
id="submitbutton"
>
<div id="loader" class="loader"></div>
<span class="submittext">Submit</span>
</button>
<input type="submit" class="button-89" value="Submit" id="submitbutton">
</form>
</div>
<div class="rightContainer">
<div class="cards flex">
<div class="qr">
<div class="heading">Scan the QR code to make payment.</div>
<div class="qr">
<img
id="golangQR"
src="utkarsh199.jpeg"
alt="Golang QR Code"
style="display: none"
/>
</div>
<div class="qr">
<img
id="dockerQR"
src="utkarsh199.jpeg"
alt="Docker QR Code"
style="display: none"
/>
</div>
<div class="qr">
<img
id="bothQR"
src="utkarsh299.jpeg"
alt="Both QR Code"
style="display: none"
/>
</div>
</div>
<div class="cards1 flex">
<div class="card2 actualcard">
<div class="div1">
<img src="bg1.png" alt="card1" class="img1" />
</div>
<div class="div2">
<h2>Metamorphosis</h2>
</div>
<div class="div3">
<img src="go7.png" alt="event1" class="img2" />
</div>
</div>
<div class="card3 actualcard">
<div class="div1">
<img src="docker whale.jpg" alt="card1" class="img1" />
</div>
<div class="div2">
<h2>Docker</h2>
</div>
<div class="div3">
<img src="netflix.png" alt="event1" class="img2" />
</div>
</div>
<div class="card4 actualcard">
<div class="div1">
<img src="gopher.png" alt="card1" class="img1" />
</div>
<div class="div2">
<h2>GoLang</h2>
</div>
<div class="div3">
<img src="golang.png" alt="event1" class="img2" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div> -->
<div class='sponsors'>
<h1 class='backed'>Boosted by:</h1>
<a href='https://codecrafters.io/' target='_blank' rel='noreferrer'>
<img src='./CodeCrafters.io full logo (White text).png' alt='...' />
</a>
</div>
<footer class="footer" id="about">
<div class="logo-icon-container">
<div class="wlug-logo">
<img src="./WLUD_white.png" alt="" />
</div>
<div class="smedia-links">
<div class="media-container">
<p class="stay_tuned">Stay tuned!</p>
<div class="ics">
<a
href="https://www.linkedin.com/company/wlug-club/"
id="linkedin"
target="_blank"
rel="noreferrer"
>
<i class="fa-brands fa-linkedin"></i>
<svg
xmlns="http://www.w3.org/2000/svg"
width="22"
height="22"
fill="#e9d5ff"
class="bi bi-linkedin"
viewBox="0 0 16 16"
>
<path
d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"
/>
</svg>
</a>
<a
href="https://instagram.com/wcewlug?igshid=YmMyMTA2M2Y="
id="instagram"
target="_blank"
rel="noreferrer"
>
<i class="fa-brands fa-instagram"></i>
<svg
xmlns="http://www.w3.org/2000/svg"
width="22"
height="22"
fill="#e9d5ff"
class="bi bi-instagram"
viewBox="0 0 16 16"
>
<path
d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"
/>
</svg>
</a>
<a
href="https://github.com/Walchand-Linux-Users-Group"
id="github"
target="_blank"
rel="noreferrer"
>
<i class="fa-brands fa-github"></i>
<svg
xmlns="http://www.w3.org/2000/svg"
width="22"
height="22"
fill="#e9d5ff"
class="bi bi-github"
viewBox="0 0 16 16"
>
<path
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"
/>
</svg>
</a>
<a
href="https://mobile.twitter.com/wcewlug"
id="twitter"
target="_blank"
rel="noreferrer"
>
<i class="fa-brands fa-twitter"></i>
<svg
xmlns="http://www.w3.org/2000/svg"
width="22"
height="22"
fill="#e9d5ff"
class="bi bi-twitter"
viewBox="0 0 16 16"
>
<path
d="M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"
/>
</svg>
</a>
</div>
<div class="copryright">
<p>© 2024 WCEWLUG, ALL RIGHTS RESERVED</p>
</div>
</div>
</div>
</div>
<div class="navigation">
<div class="navli">
<a href="#home">Home</a>
<a href="https://www.wcewlug.org/" target="_blank" rel="noreferrer">
About Us
</a>
<a href="#register">Register</a>
</div>
<div class="policies">
<div>
<a
href="https://github.com/Walchand-Linux-Users-Group/gitbook/blob/wiki/policies/privacy-policy.md"
target="_blank"
rel="noreferrer"
>
Privacy Policy
</a>
<p> | </p>
</div>
<div>
<a
href="https://github.com/Walchand-Linux-Users-Group/gitbook/blob/wiki/policies/terms-and-conditions.md"
target="_blank"
rel="noreferrer"
>
Terms and Conditions
</a>
<p> | </p>
</div>
<div>
<a
href="https://github.com/Walchand-Linux-Users-Group/gitbook/blob/wiki/policies/cancellation-refund-policy.md"
target="_blank"
rel="noreferrer"
>
Cancellation/Refund Policy
</a>
</div>
</div>
</div>
</footer>
</div>
<!-- 💁 Include both scripts below to support all browsers! -->
<script src="./script.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
<!-- Loads <model-viewer> for modern browsers: -->
<script
type="module"
src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"
></script>
<!-- Loads <model-viewer> for old browsers like IE11: -->
<script
nomodule
src="https://unpkg.com/@google/model-viewer/dist/model-viewer-legacy.js"
></script>
<div id="popup-container">
<p id="popup-message"></p>
</div>
<script>
window.addEventListener("load", function () {
const loader = document.querySelector(".center");
<!-- loader.classList.add("fade-out"); // Add the fade-out class to the loader -->
loader.style.display = "none";
});
document
.getElementById("myForm")
.addEventListener("submit", function (e) {
e.preventDefault();
const submitButton = document.getElementById("submitbutton");
submitButton.disabled = true;
document.querySelector(".submittext").textContent = "Loading...";
const loader = document.getElementById("loader");
loader.style.display = "block";
const userFile = document.getElementById("file").files[0];
const name = document.getElementById("fullName").value;
const email = document.getElementById("email").value;
const mobile = document.getElementById("mobile").value;
const college = document.getElementById("college").value;
const year = document.getElementById("yearOfStudy").value;
const dualBoot = document.getElementById("dualBoot").value;
const technology = document.getElementById("technology").value;
const referral = document.getElementById("referralCode").value;
const formData = new FormData();
formData.append("image", userFile, "user-file.jpg");
formData.append("name", name);
formData.append("email", email);
formData.append("phone", mobile);
formData.append("college", college);
formData.append("yearOfStudy", year);
formData.append("isDualBooted", dualBoot);
formData.append("techOpted", technology);
formData.append("referralCode", referral);
fetch("https://meta2k24-backend.onrender.com/api/register", {
method: "POST",
body: formData,
})
.then((res) => res.json())
.then((data) => {
loader.style.display = "none";
document.querySelector(".submittext").textContent = "Submit";
submitButton.disabled = false;
if (data.success) {
// Show success popup
Swal.fire({
fontFamily: "HeliosRegular",
title: "Success!",
text: "Your form is submitted successfully!",
customClass: {
container: "swal-container",
popup: "swal-popup",
header: "swal-header",
title: "swal-title",
closeButton: "swal-close-button",
image: "swal-image",
content: "swal-content",
actions: "swal-actions",
confirmButton: "swal-button",
},
background: "rgba(233, 213, 255, 0.9)",
imageUrl: "./3.png",
imageHeight: 200,
confirmButtonColor: "#8000af",
confirmButtonText: "Okay!",
});
document.getElementById("fullName").value = "";
document.getElementById("email").value = "";
document.getElementById("mobile").value = "";
document.getElementById("college").value = "";
document.getElementById("yearOfStudy").value = "";
document.getElementById("technology").value = "both";
document.getElementById("referralCode").value = "";
const fileInput = document.getElementById("file");
fileInput.value = "";
} else {
// Show error popup
Swal.fire({
fontFamily: "HeliosRegular",
title: "Error!",
text: `${data.error}`,
customClass: {
container: "swal-container",
popup: "swal-popup",
header: "swal-header",
title: "swal-title",
closeButton: "swal-close-button",
image: "swal-image",
content: "swal-content",
actions: "swal-actions",
confirmButton: "swal-button",
},
background: "rgba(233, 213, 255, 0.9)",
imageUrl: "./2.png",
imageHeight: 200,
confirmButtonColor: "#8000af",
});
}
})
.catch((err) => {
loader.style.display = "none";
console.log(err);
// Show error popup
Swal.fire({
fontFamily: "HeliosRegular",
title: "Error!",
text: "An error occurred while submitting the form.",
customClass: {
container: "swal-container",
popup: "swal-popup",
header: "swal-header",
title: "swal-title",
closeButton: "swal-close-button",
image: "swal-image",
content: "swal-content",
actions: "swal-actions",
confirmButton: "swal-button",
},
background: "rgba(233, 213, 255, 0.9)",
imageUrl: "./2.png",
imageHeight: 200,
confirmButtonColor: "#8000af",
});
document.querySelector(".submittext").textContent = "Submit";
submitButton.disabled = false;
});
});
</script>
<script>
function validateReferralCode() {
var referralCodeInput = document.getElementById("referralCode");
var referralCode = referralCodeInput.value.trim();
var referralCodeError = document.getElementById("referralCodeError");
// Regular expression to match MM#xx where xx is a number from 1 to 100
var regex = /^MM#(100|[1-9][0-9]?)$/;
if (referralCode === "" || !regex.test(referralCode)) {
referralCodeError.textContent =
"Referral code should be in the format MM#xx, where xx is a number from 1 to 100.";
referralCodeInput.focus();
} else {
referralCodeError.textContent = "";
}
}
</script>
</body>
</html>