forked from Its-Aman-Yadav/Community-Site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1563 lines (1382 loc) · 54.1 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
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Open Source Village</title>
<!-- Meta tags-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Aman Yadav" />
<meta name="keywords"
content=", village community, collaboration, resource sharing, communication, transparency, collective decision-making, local projects, digital tools.">
<meta name="description"
content="Welcome to this open-source village community site! Designed to facilitate collaboration, resource sharing, and communication among residents, it promotes transparency, collective decision-making, and the development of local projects through accessible and open-source digital tools.">
<meta name="language" content="English">
<meta property="og:type" content="website" />
<meta property="og:url" content="https://community-site-theta.vercel.app/" />
<meta property="og:title" content="Open Source Village">
<meta name="og:description"
content="Welcome to this open-source village community site! Designed to facilitate collaboration, resource sharing, and communication among residents, it promotes transparency, collective decision-making, and the development of local projects through accessible and open-source digital tools.">
<script src="https://kit.fontawesome.com/90889e6878.js" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Bootstrap JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!-- stylesheets css -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="css/animate.min.css">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<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=Gorditas&family=Playpen+Sans:wght@100;500&family=Poppins&family=Prompt&family=Roboto&family=Satisfy&family=Ubuntu:wght@300;400&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="css/et-line-font.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/vegas.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
<link href='https://fonts.googleapis.com/css?family=Rajdhani:400,500,700' rel='stylesheet' type='text/css'>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- remixicon -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.2.0/remixicon.css" crossorigin="">
<link rel="stylesheet" href="css/swiper-bundle.min.css">
<link rel="stylesheet" href="main.css">
<link href='https://fonts.googleapis.com/css?family=Aclonica' rel='stylesheet'>
</head>
<style>
/* CSS login modal */
.nav-link.active {
font-weight: bold;
color: red;
}
.popup {
display: none;
justify-content: center;
align-items: center;
position: fixed;
top: 10%;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 1000;
animation: fadeIn 0.5s ease-in-out;
}
.popup-content {
background: linear-gradient(138deg, #fffee0, #fffb90);
padding: 40px;
border-radius: 15px;
text-align: center;
width: 90%;
max-width: 530px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
position: relative;
animation: slideIn 0.6s ease-in-out;
transition: transform 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}
.popup-content:hover {
transform: rotate(-3deg) scale(1.05);
background: linear-gradient(138deg, #fffb90, #fffee0);
border-radius: 6px;
}
.popup-header {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 15px;
}
.popup-header img {
width: 120px;
height: 120px;
}
.popup-header h2 {
margin: 0;
font-size: 30px;
/* text-shadow: 1px 1px 2px #646464, 0 0 1em #fdbafff7, 0 0 0.2em #fdbafff7; */
color: rgb(255, 136, 0);
font-weight: 900;
}
.popup h3 {
font-size: 24px;
margin-top: 19px;
margin-bottom: 10px;
color: #444;
animation: textPop 0.7s ease-in-out infinite;
font-weight: 500;
}
.popup p {
font-size: 18px;
color: #666;
margin-bottom: 25px;
}
.btn {
background: linear-gradient(to right, #ff7e5f, #feb47b);
color: #fff;
border: none;
padding: 15px 30px;
border-radius: 25px;
cursor: pointer;
transition: transform 0.3s;
font-size: 16px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.btn:hover {
transform: scale(1.1);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.close-btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 25px;
cursor: pointer;
color: #999;
transition: color 0.3s;
}
.close-btn:hover {
color: #666;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideIn {
from {
transform: translateY(-50%);
}
to {
transform: translateY(0);
}
}
@keyframes textPop {
0%, 100% {
color: #444;
}
50% {
color: #ff4f23;
text-shadow: 0px 1px 3px #ffad98;
}
}
</style>
<style>
.testimonial-section {
text-align: center;
padding: 50px 20px;
/* background-color: #fff4ac; */
background: linear-gradient(white, rgb(252, 235, 185), #f1c21ab7);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.testimonial-section h2 {
margin-bottom: 40px;
font-size: 32px;
color: #333;
}
.testimonial-container {
display: flex;
overflow: hidden;
position: relative;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.rating {
font-size: 19px;
color: gold;
margin-top: 10px;
}
.testimonial-card {
flex: 0 0 250px;
box-sizing: border-box;
padding: 20px;
/* background: #fff; */
background: linear-gradient(to bottom, rgb(255, 255, 255), #ffead5);
margin: 0 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
border-radius: 8px;
text-align: left;
transform: scale(1.1);
}
.testimonial-card:hover{
transition: transform 0.4s ease-in-out !important;
}
.testimonial-card img {
width: 90px;
height: 90px;
border-radius: 50%;
margin-bottom: 10px;
object-fit: cover;
margin-left: 58px;
}
.testimonial-card p {
font-size: 14px;
color: #ff7f3f;
margin-bottom: 10px;
}
.testimonial-card h4 {
font-size: 18px;
font-weight: bolder;
font-family: bold;
color: #b80000;
}
@keyframes scroll {
0% {
transform: translateX(0);
}
100% {
--scrollTimes:calc(-1500px - 180px + 100vw);
transform: translateX(var(--scrollTimes));
}
}
.testimonial-container {
display: flex;
overflow: hidden;
position: relative;
}
.testimonial-container::before, .testimonial-container::after {
content: '';
position: absolute;
top: 0;
width: 60px;
height: 100%;
z-index: 2;
}
body.dark-mode .testimonial-container::before{
background: transparent !important;
}
body.dark-mode .testimonial-container::after{
background: transparent !important;
}
.testimonial-container::before {
left: 0;
background: linear-gradient(to right, white, rgba(255,255,255,0));
}
.testi-head {
color: rgb(255, 136, 0) !important;
font-size: 37px !important;
font-family: bold;
font-weight: 600;
/* text-shadow: 1px 1px 4px rgb(255, 141, 160) !important; */
}
.testi-header2 {
font-family: bold;
font-weight: 600;
}
.testimonial-container::after {
right: 0;
background: linear-gradient(to left, white, rgba(255,255,255,0));
}
.testimonial-container .testimonial-card {
animation: scroll 15s linear 2s infinite;
}
/* Style for the cookie modal */
.cookie-modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
top: 0; /* Full height */
left: 0; /* Full width */
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
justify-content: center; /* Center align items horizontally */
align-items: center; /* Center align items vertically */
}
/* Modal content box */
.cookie-modal-content {
background: linear-gradient(to bottom right, #ffe656, #ffc400); /* Yellow to orange gradient */
margin: 0 auto; /* Centered */
padding: 20px 30px;
border-radius: 10px; /* Rounded corners */
width: 80%; /* Could be more or less, depending on screen size */
max-width: 500px; /* Max width for large screens */
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add a shadow effect */
color: #333; /* Text color */
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
/* The close button */
.cookie-close {
color: #fff;
position: absolute;
top: 10px;
right: 10px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
background-color: transparent; /* Transparent background */
border: none; /* No border */
}
.cookie-close:hover,
.cookie-close:focus {
color: #000;
text-decoration: none;
}
/* Style for the text */
.cookie-modal-content p {
margin: 20px 0;
text-align: center;
}
/* Style for the accept button */
#acceptCookies {
background-color: #FFA500; /* Orange background */
color: white; /* White text */
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s; /* Smooth transition for hover effect */
}
#acceptCookies:hover {
background-color: #ff5e00; /* Darker orange on hover */
}
/* Optional: Add some global styles for better visuals */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
/* Style for the popup (login modal) */
.popup {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
top: 0; /* Full height */
left: 0; /* Full width */
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
justify-content: center; /* Center align items horizontally */
align-items: center; /* Center align items vertically */
}
.popup-content {
background: #fff;
margin: 0 auto; /* Centered */
padding: 20px 30px;
border-radius: 10px; /* Rounded corners */
width: 80%; /* Could be more or less, depending on screen size */
max-width: 500px; /* Max width for large screens */
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add a shadow effect */
color: #333; /* Text color */
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
.close-btn {
color: #000;
position: absolute;
top: 10px;
right: 10px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
background-color: transparent; /* Transparent background */
border: none; /* No border */
}
.close-btn:hover,
.close-btn:focus {
color: #ff5e00; /* Orange on hover */
text-decoration: none;
}
.popup-header {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.popup-header .logo {
width: 50px;
height: 50px;
margin-right: 10px;
}
.popup-header h2 {
margin: 0;
}
.popup-content h3 {
margin: 10px 0;
}
.popup-content p {
text-align: center;
margin: 10px 0;
}
.btn {
background-color: #FFA500; /* Orange background */
color: white; /* White text */
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s; /* Smooth transition for hover effect */
}
.btn:hover {
background-color: #ff5e00; /* Darker orange on hover */
}
</style>
<title>OPEN SOURCE VILLAGE</title>
</head>
<body>
<!-- Cookie modal -->
<div id="cookieModal" class="cookie-modal">
<div class="cookie-modal-content">
<span class="cookie-close">×</span>
<p>We use cookies to ensure you get the best experience on our website. By continuing to use our site, you accept our cookie policy.</p>
<button id="acceptCookies">Accept</button>
</div>
</div>
<!-- Login modal -->
<div id="popup" class="popup">
<div class="popup-content">
<span class="close-btn" onclick="closePopup()">×</span>
<div class="popup-header">
<img src="image.gif" alt="Open Source Village Logo" class="logo">
<h2>Open Source Village</h2>
</div>
<h3>Start Your Journey Now!💡</h3>
<p>If you don't have an account yet, register and start your journey🌐👥</p>
<button class="btn" onclick="window.location.href='login.html'">Login/Register ✉</button>
</div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function() {
// Show the popup when the page loads
document.getElementById('popup').style.display = 'flex';
// Automatically close the popup after 20 seconds
// setTimeout(closePopup, 20000);
});
function closePopup() {
document.getElementById('popup').style.display = 'none';
}
</script>
<script src="cookie.js"></script>
<!-- login modal -->
<div id="popup" class="popup">
<div class="popup-content">
<span class="close-btn" onclick="closePopup()">×</span>
<div class="popup-header">
<img src="image.gif" alt="Open Source Village Logo" class="logo" >
<h2>Open Source Village </h2>
</div>
<h3>Start Your Journey Now!💡 </h3>
<p>If you don't have an account yet, register and start your journey🌐👥</p>
<button class="btn" onclick="window.location.href='login.html'">Login/Register ✉</button>
</div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function() {
// Show the popup when the page loads
document.getElementById('popup').style.display = 'flex';
// Automatically close the popup after 20 seconds
// setTimeout(closePopup, 20000);
});
function closePopup() {
document.getElementById('popup').style.display = 'none';
}
</script>
<!-- Chatbot integration section -->
<script src="https://cdn.botpress.cloud/webchat/v1/inject.js"></script>
<script>
window.botpressWebChat.init({
"composerPlaceholder": "Ask me anything!",
"botConversationDescription": "Welcome to Open Source Village!",
"botId": "88f3d139-4a56-4ac6-a192-d147bc4373d7",
"hostUrl": "https://cdn.botpress.cloud/webchat/v1",
"messagingUrl": "https://messaging.botpress.cloud",
"clientId": "88f3d139-4a56-4ac6-a192-d147bc4373d7",
"webhookId": "a909bd46-1d71-484d-8551-58afe6d64c1e",
"lazySocket": true,
"themeName": "prism",
"botName": "Open Source Village",
"avatarUrl": "https://media.licdn.com/dms/image/D4D0BAQE8E3S0-vt8TQ/company-logo_200_200/0/1683703353326?e=1724889600&v=beta&t=to32718A4rdNZM_XmtjHN8xG4LKE9UYLhVnuoyB3nt8",
"stylesheet": "https://webchat-styler-css.botpress.app/prod/328bf234-c9e7-4f98-9c94-69f1a0877b98/v99808/style.css",
"frontendVersion": "v1",
"useSessionStorage": true,
"enableConversationDeletion": true,
"theme": "prism",
"themeColor": "#2563eb",
"allowedOrigins": []
});
</script>
<!-- preloader section -->
<section class="preloader">
<div class="sk-circle">
<div class="sk-circle1 sk-child"></div>
<div class="sk-circle2 sk-child"></div>
<div class="sk-circle3 sk-child"></div>
<div class="sk-circle4 sk-child"></div>
<div class="sk-circle5 sk-child"></div>
<div class="sk-circle6 sk-child"></div>
<div class="sk-circle7 sk-child"></div>
<div class="sk-circle8 sk-child"></div>
<div class="sk-circle9 sk-child"></div>
<div class="sk-circle10 sk-child"></div>
<div class="sk-circle11 sk-child"></div>
<div class="sk-circle12 sk-child"></div>
</div>
</section>
<script type="text/javascript">
window.addEventListener("scroll", function () {
var header = document.querySelector("nav");
header.classList.toggle("sticky", window.scrollY > 50)
})
</script>
<!-- Navbar -->
<div class="navbar">
<nav>
<div id="ham-menu">
<div id="bars" onclick="togMenu(this)">
<div id="first" class="bar"></div>
<div id="sec" class="bar"></div>
<div id="third" class="bar"></div>
</div>
<div id="nav-menu">
<ul>
<li class="icons">
<i class="fa-solid fa-house"></i>
<a class="nav-link" href="#home">Home</a>
</li>
<li class="icons">
<i class="fa-solid fa-address-card"></i>
<a class="nav-link" href="#about">About</a>
</li>
<li class="icons">
<i class="fa-solid fa-screwdriver-wrench"></i>
<a class="nav-link" href="#services">Services</a>
</li>
<li class="icons"><i class="fa-solid fa-pen-to-square"></i><a class="nav-link" href="#testimonials">Reviews</a></li>
<li class="icons"><i class="fa-solid fa-address-book"></i><a href="contact us.html"></a>Contact</a></li>
<li class="icons"><i class="fa-solid fa-right-to-bracket"></i><a href="login.html">Login/Register</a></li>
</ul>
</div>
</div>
<a class="logo-link" href="#home">
<div class="logo-title">
<a href="profile.html" class="href" X> <img class="logo" src="images/logo2.jpeg" alt="logo"></a>
<span class="logo-text">Open Source Village</span>
</div>
<!-- <div>
<span class="logo-subtext">Source</span>
</div> -->
</a>
<ul>
<li style="background-color: transparent;"><i class="fa-solid fa-house"></i><a class="nav-link" href="#home">Home</a></li>
<li style="background-color: transparent;"><i class="fa-solid fa-address-card"></i><a class="nav-link" href=".about-section">About</a></li>
<li style="background-color: transparent;"><i class="fa-solid fa-screwdriver-wrench"></i><a class="nav-link" href="#services">Services</a></li>
<li style="background-color: transparent;"><i class="fa-solid fa-pen-to-square"></i><a class="nav-link" href=".testimonial-section">Reviews</a></li>
<li style="background-color: transparent;"><i class="fa-solid fa-address-book"></i><a href="contact us.html" target=”_blank”>Contact</a></li>
<li style="background-color: transparent;"><i class="fa-solid fa-right-to-bracket"></i><a href="login.html" target=”_blank”>Login/Register</a></li>
</ul>
<div class="toggle-container" style="top: 0px;">
<input type="checkbox" id="checkbox" class="switch-checkbox">
<label class="theme-switch" for="checkbox">
<div class="toggle-button">
<span class="light-mode-icon"><img src="./images/sun.svg"></span>
<span class="dark-mode-icon"><img src="./images/moon.svg"></span>
</div>
</label>
</div>
<!--Styles for side menu-->
<style>
#bars{
display: none;
}
.bar{
width:27px;
height:3px;
background-color:white;
margin: 7px;
border-radius: 20px;
transition: all 0.4s;
}
.cliked #first{
transform: translate(0, 10px) rotate(-45deg);
}
.cliked #sec {opacity: 0;}
.cliked #third {
transform: translate(0, -10px) rotate(45deg);
}
#nav-menu{
display: none;
opacity: 0;
position: fixed;
top:63px;
z-index: 1;
margin-top: 27px;
width:auto;
height: 100vh;
background: rgba(0, 0, 0, 0.7);
color: white;
backdrop-filter: blur(4px);
padding: 20px 0;
border: none;
transition: all 0.6s;
}
#nav-menu ul{
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: inherit;
width: auto;
position: absolute;
top:0;
right:inherit;
padding: 20px;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(4px);
}
#nav-menu ul li{
display: none;
margin: 10px 20px 0 30px;
}
@media (max-width: 858px) {
#bars{
display: block;
position: absolute;
left:10px;
top:50%;
transform: translate(0,-55%);
}
#nav-menu{
left:0;
}
#nav-menu ul li{
display:flex;
}
#nav-menu ul li a:hover{
color: white;
background-color: #e8701f;
transition: color 0s, background-color 0s;
border-radius: 20px;
background: rgb(239, 188, 0);
background: linear-gradient( 90deg, rgba(239, 188, 0, 1) 47%, rgba(204, 133, 110, 1) 100% );
}
#nav-menu.sticky-nav-menu ul{
background: linear-gradient( rgba(249, 177, 43, 0.7),rgb(247, 113, 3));
color: white !important;
border-bottom: 1.5px solid rgb(0, 0, 0);
backdrop-filter: blur(3px);
}
#nav-menu.sticky-nav-menu{
top:52px;
}
}
</style>
<script>
function togMenu(obj){
var headMenu = document.querySelector('.navbar nav');
var sideMenu = document.getElementById('nav-menu');
obj.classList.toggle("cliked");
if(obj.classList.contains('cliked')){
headMenu.style.borderBottomLeftRadius = '0px';
sideMenu.style.display='block';
sideMenu.style.opacity='1';
}else{
headMenu.style.borderBottomLeftRadius=headMenu.style.borderBottomRightRadius;
sideMenu.style.opacity='0';
sideMenu.style.display='none';
}
}
window.addEventListener("scroll", function () {
var sideMenu = document.getElementById('nav-menu');
sideMenu.classList.toggle("sticky-nav-menu", window.scrollY > 50)
})
</script>
<style>
.toggle-container {
transform: translate(-50%, -50%);
display: flex;
align-items: center;
justify-content: center;
margin: 30px 0 0 30px;
}
.light-mode .toggle-container {
right: -4px;
top: 15px;
}
/* Hidden Checkbox */
.switch-checkbox {
display: none;
}
.theme-switch {
position: relative;
width: 45px;
height: 30px;
background-color: #ccc;
border-radius: 20px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0 5px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.5s ease;
}
.theme-switch .light-mode-icon,
.theme-switch .dark-mode-icon {
font-size: 19px;
position: absolute;
cursor: pointer;
top: 50%;
transform: translateY(-50%);
transition: opacity 0.5s ease, color 0.5s ease;
}
.theme-switch .light-mode-icon {
color: #f39c12;
}
.theme-switch .dark-mode-icon {
color: #bdc3c7;
opacity: 0;
}
.toggle-button {
position: absolute;
top: 3px;
left: 3px;
width: 25px;
height: 25px;
background-color: #fff;
border-radius: 50%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
transition: transform 0.5s ease, background-color 0.5s ease;
}
/* Checkbox Checked State */
.switch-checkbox:checked + .theme-switch {
background-color: #34495e;
}
.switch-checkbox:checked + .theme-switch .light-mode-icon {
opacity: 0;
}
.switch-checkbox:checked + .theme-switch .dark-mode-icon {
opacity: 1;
}
.switch-checkbox:checked + .theme-switch .toggle-button {
transform: translateX(13px);
/* background-color: #34495e; */
}
</style>
<a href="profile.html" ><img id="image" style="margin-right: 55px;" src="images/profile1.jpg" onclick="ProfileClicked()" alt="Profile"></a>
</nav>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
const toggleButton = document.getElementById('checkbox');
const currentMode = localStorage.getItem('dark-mode');
if (currentMode === 'enabled') {
document.body.classList.add('dark-mode');
toggleButton.checked = true;
}
toggleButton.addEventListener('change', function () {
document.body.classList.toggle('dark-mode');
if (document.body.classList.contains('dark-mode')) {
localStorage.setItem('dark-mode', 'enabled');
}
else {
localStorage.setItem('dark-mode', 'disabled');
}
});
});
</script>
<!-- Home Section -->
<section class="section home" id="home">
<div class="container">
<div class="home-thumb">
<br><br><br>
<h1>Open Source Village</h1>
<h1 class="wow fadeInUp" data-wow-delay="0.4s">Hello, Villager</h1>
<h3 class="wow fadeInUp" data-wow-delay="0.6s">We are the <strong>Open Source Village</strong></h3>
<h3 class="wow fadeInUp" data-wow-delay="0.8s"><strong>Join </strong>our community now</h3>
<a href="https://discord.gg/mM9qFh2uZR" target=”_blank” class="btn btn-lg btn-default smoothScroll wow fadeInUp"
data-wow-delay="1s" style="color:rgb(153, 249, 164);">
Join Discord
<img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSSzDzOJpiBR0fBAJIOjXtUqpW9H_G9jhuQNTohtYu7sA&s"
alt="Discord">
</a>
<a href="https://www.linkedin.com/company/open-source-village/" target=”_blank”
class="btn btn-lg btn-default smoothScroll wow fadeInUp" data-wow-delay="1s" style="color:rgb(153, 249, 164)">
Follow us on LinkedIn
<img
src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/LinkedIn_icon.svg/1024px-LinkedIn_icon.svg.png"
alt="LinkedIn">
</a>
</div>
</div>
</section>
<script>
let popup = document.getElementById("popup");
function openPop() {
popup.classList.add("popup-active");
}
function closepop() {
popup.classList.remove("popup-active");
}
</script>
<!-- about section -->
<section class="about-section">
<div class="container">
<div class="about-content">
<div class="about-text">
<h2>About <br> <b style="color: #e8701f;">Open Source Village</b></h2>
<p>Welcome to our community startup! We are a group of like-minded individuals who believe in the power of coming together to achieve shared goals. Our mission is to create a safe and inclusive space where members can connect, collaborate, and make a positive impact in the world. Join us and be a part of something bigger than yourself!</p>
<div class="text1">
<h3 class="counter">0+</h3>
<h5>MEMBERS</h5>
</div>
</div>
<div class="about-image">
<img src="/images/AboutSection.jpg" alt="Open Source Village">
</div>
</div>
<div class="offerings">
<div class="row-item">
<h3> <b>What We Offer</b></h3>
</div>
<div class="offerings-content">
<div class="offering">
<div class="row-0">
<div>
<h4>Connect</h4>
<p>Join a network of passionate individuals.</p>
</div>
<div style="align-items: center;">
<i class="fa-solid fa-people-group"></i>
</div>
</div>
</div>
<div class="offering">
<div class="row-0">
<div>