forked from Its-Aman-Yadav/Community-Site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
terms&conditions.html
722 lines (621 loc) · 22.1 KB
/
terms&conditions.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Terms and Conditions - Open Source Village</title>
<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="stylesheet" href="css/style.css" />
<!-- <link rel="stylesheet" href="css/ourplan.css" /> -->
<script src="https://kit.fontawesome.com/90889e6878.js" crossorigin="anonymous"></script>
<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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
<script type="text/javascript">
window.addEventListener("scroll", function () {
var header = document.querySelector("nav");
header.classList.toggle("sticky", window.scrollY > 50)
})
</script>
<style>
body{
background:linear-gradient(white, #f5d244);
}
#terms-conditions-container {
width: 70%;
margin: 150px auto;
border-radius: 10px;
background:linear-gradient(white, #f5d244);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.header {
margin-top: 50px;
text-align: center;
width: 100%;
letter-spacing: 5px;
font-size: large;
}
.title {
font-size: 2em;
font-weight: 600;
color: #000000;
}
.hr-line{
border: 0;
height: 1px;
margin: 10px 20px;
background: #333;
background-image: linear-gradient(to right, #ccc, #333, #ccc);
}
.main-content {
padding: 20px;
margin: 15px auto;
}
.section {
margin-bottom: 20px;
}
.section-title {
font-size: 22px;
color: #2b2b2b;
font-weight: 600;
padding-bottom: 0px;
}
.section-content {
font-size: 1em;
color: #000000;
}
.section-list {
list-style: none;
color: #000000;
padding: 0;
}
.list-item {
margin-bottom: 10px;
color: #000000;
font-size: 1.1em;
}
.home{
margin: 100px;
}
#image {
height: 30px;
/* Reduced height of the profile image */
width: 30px;
/* Reduced width of the profile image */
border-radius: 50%;
margin-left: 10px;
cursor: pointer;
}
.usercon{
display: block;
text-align: left;
}
.usercon li{
list-style-type: square;
}
.usercon p{
text-align: left;
}
/* Back to Top Button */
.scrollToTopBtn {
/* background-color: #FFE70F; */
background-image: radial-gradient(#f3bf8c, #ee7f10);
color: #fff;
text-align: center;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 18px;
text-decoration: none;
border: none;
line-height: 50px;
/* Center text vertically */
transition: background-color 0.3s ease;
position: fixed;
bottom: 106px;
right: 43px;
display: none;
/* Hidden by default */
z-index: 1000;
margin-bottom: 10px;
}
.scrollToTopBtn:hover {
background-color: #484848;
}
.progress-ring {
position: fixed;
bottom: 101px;
margin-bottom: 10px;
right: 38px;
transform: rotate(-90deg);
z-index: 999;
/* Just below the button */
margin-bottom: 10px;
}
.progress-ring__circle {
transition: 0.35s stroke-dasharray;
transform: rotate(-90deg);
transform-origin: 50% 50%;
}
/* Dark Mode */
body.dark-mode {
background: linear-gradient(
rgb(13, 37, 62) 100.2%,
rgb(36, 45, 57) 11.2%
);
}
body.dark-mode #terms-conditions-container {
background: linear-gradient(
109.6deg,
rgb(36, 45, 57) 11.2%,
rgb(16, 37, 60) 100.2%
);
box-shadow: 0px 2px 4px rgba(255, 255, 255, 0.1);
}
body.dark-mode .navbar {
background-color: #2c3e50;
}
body.dark-mode .header h1 {
color: #fff;
}
body.dark-mode .hr-line {
background-image: linear-gradient(to right, #333, #ccc, #333);
}
body.dark-mode .section h2{
color: #ddd;
}
body.dark-mode .section p{
color: #c0c0c0;
}
body.dark-mode .usercon li{
color: #c0c0c0;
}
/* Media query for small screens */
@media (max-width: 768px) {
#terms-conditions-container {
width: 90%;
padding: 10px;
}
.header {
margin-top: 20px;
text-align: center;
width: 100%;
letter-spacing: 2px;
font-size: medium;
}
.title {
font-size: 1.5em;
font-weight: 600;
color: #000000;
}
.main-content {
padding: 15px;
margin: 10px auto;
}
.section-title {
font-size: 18px;
color: #2b2b2b;
font-weight: 600;
padding-bottom: 5px;
}
.section-content {
font-size: 0.9em;
color: #000000;
}
.list-item {
font-size: 1em;
}
.scrollToTopBtn {
width: 40px;
height: 40px;
font-size: 16px;
line-height: 40px;
}
.progress-ring {
width: 50px;
height: 50px;
right: 10px;
}
#image {
height: 25px;
width: 25px;
}
}
.Lastupdate {
margin-bottom: 14px;
font-size: 20px;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, serif;
font-weight: 500;
margin-top: 0px;
}
#last-updated-date {
font-size: 19px;
}
@media (max-width: 768px)
{
.theme-switch,
#checkbox
{
opacity: 0;
pointer-events: none;
}
#image
{
opacity: 0;
pointer-events: none;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<div class="navbar">
<nav>
<a class="logo-link" href="index.html">
<div class="logo-title">
<img class="logo" src="images/logo2.jpeg" alt="logo">
<span class="logo-text">Open Source Village</span>
</div>
<!-- <div>
<span class="logo-subtext">Source</span>
</div> -->
</a>
<ul>
<li><i class="fa-solid fa-house"></i><a href="index.html#home">Home</a></li>
<li><i class="fa-solid fa-address-card"></i><a href="index.html#about">About</a></li>
<li><i class="fa-solid fa-screwdriver-wrench"></i><a href="index.html#services">Services</a></li>
<li><i class="fa-solid fa-pen-to-square"></i><a href="index.html#testimonials">Reviews</a></li>
<li><i class="fa-solid fa-address-book"></i><a href="index.html#contact">Contact</a></li>
<li><i class="fa-solid fa-right-to-bracket"></i><a href="login.html">Login/Register</a></li>
</ul>
<div class="toggle-container" style="top: 15px;">
<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>
<style>
.toggle-container {
transform: translate(-50%, -50%);
display: flex;
align-items: center;
justify-content: center;
margin-top: 30px;
right: -4px;
top: 15px;
}
.light-mode .toggle-container {
right: 140px;
top: 10px;
}
/* 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>
<!-- <img id="image" src="path/to/profile/image.jpg" onclick="ProfileClicked()" alt="Profile"> -->
<a href="profile.html"><img id="image" style="margin-right: 55px;" src="images/profile1.jpg" onclick="ProfileClicked()" alt="Profile"></a>
</nav>
</div>
<script>
document.documentElement.style.overflow = 'auto';
document.body.style.overflow = 'auto';
document.addEventListener('DOMContentLoaded', function () {
const toggleButton = document.getElementById('checkbox');
toggleButton.addEventListener('change', function () {
document.body.classList.toggle('dark-mode');
});
});
</script>
<div class="container" id="terms-conditions-container">
<header class="header">
<h1 class="title" id="terms-conditions-title">Terms and Conditions</h1>
<div class="hr-line"></div>
</header>
<main class="main-content" id="terms-conditions-main">
<div class="Lastupdate">Last updated: <span id="last-updated-date"></span></div>
<section class="section">
<h2 class="section-title">Introduction</h2>
<p class="section-content">These terms and conditions outline the rules and regulations for the use of
Open Source Village Website. By accessing this website we assume you accept these terms and
conditions. Do not continue to use Open Source Village if you do not agree to take all of the terms
and conditions stated on this page.</p>
</section>
<section class="section" id="terms-conditions-privacy">
<h2 class="section-title">Privacy</h2>
<p class="section-content">We are committed to protecting your privacy. Please refer to our Privacy
Policy for information on how we collect, use, and disclose your personal information.</p>
</section>
<section class="section" id="terms-conditions-license">
<h2 class="section-title">License</h2>
<p class="section-content">Unless otherwise stated, Open Source Village and/or its licensors own the
intellectual property rights for all material on Open Source Village. All intellectual property
rights are reserved. You may access this from Open Source Village for your own personal use
subjected to restrictions set in these terms and conditions.</p>
</section>
<section class="section" id="terms-conditions-conduct">
<h2 class="section-title">User Conduct</h2>
<div class="section-list">
<ul class="usercon">
<li><p class="list-item">You must not use this website in any way that causes, or may cause, damage to
the website or impairment of the availability or accessibility of the website.</p></li>
<li><p class="list-item">You must not use this website in any way which is unlawful, illegal,
fraudulent or harmful, or in connection with any unlawful, illegal, fraudulent or harmful
purpose or activity.</p></li>
<li><p class="list-item">You must not use this website to copy, store, host, transmit, send, use,
publish or distribute any material which consists of (or is linked to) any spyware, computer
virus, Trojan horse, worm, keystroke logger, rootkit or other malicious computer software.</p></li>
</ul>
</div>
</section>
<section class="section" id="terms-conditions-changes">
<h2 class="section-title">Changes to These Terms</h2>
<p class="section-content">We may update our Terms and Conditions from time to time. We will notify you
of any changes by posting the new Terms and Conditions on this page. You are advised to review this
Terms and Conditions periodically for any changes. Changes to this Terms and Conditions are
effective when they are posted on this page.</p>
</section>
<section class="section" id="terms-conditions-contact">
<h2 class="section-title">Contact Information</h2>
<p class="section-content">If you have any questions about these Terms and Conditions, please contact us
at [email protected].</p>
</section>
</main>
</div>
<!-- <special-footer></special-footer> -->
<!-- footer section -->
<special-footer></special-footer>
<button id="scrollToTopBtn" class="scrollToTopBtn">▲</button>
<svg class="progress-ring" width="60" height="60">
<circle class="progress-ring__circle" stroke="grey" stroke-width="4" fill="transparent" r="28" cx="30" cy="30" />
</svg>
</footer>
<script>
document.addEventListener("DOMContentLoaded", () => {
setTimeout(() => {
const loader = document.getElementById("loader");
if (loader) {
loader.style.display = "none";
} else {
console.error("Element with ID 'loader' not found.");
}
}, 500);
// Update the date dynamically
function updateLastUpdatedDate() {
const dateElement = document.getElementById("last-updated-date");
const now = new Date();
const day = now.getDate();
const monthNames = [
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
];
const month = monthNames[now.getMonth()]; // Get the full month name
const year = now.getFullYear();
dateElement.textContent = `${month} ${day}, ${year}`;
}
// Update the date weekly
function updateWeekly() {
const now = new Date();
const dayOfWeek = now.getDay(); // 0 (Sunday) to 6 (Saturday)
const timeUntilNextUpdate = (7 - dayOfWeek) * 24 * 60 * 60 * 1000; // Time until next Sunday
updateLastUpdatedDate();
setTimeout(updateWeekly, timeUntilNextUpdate);
}
// Initialize weekly updates
updateWeekly();
});
</script>
<script>
function sendFeed() {
alert('Email sent successfully!');
}
</script>
</div>
<script>let scrollToTopBtn = document.getElementById("scrollToTopBtn");
let circle = document.querySelector(".progress-ring__circle");
let radius = circle.r.baseVal.value;
let circumference = 2 * Math.PI * radius;
circle.style.strokeDasharray = `${circumference} ${circumference}`;
circle.style.strokeDashoffset = circumference;
window.onscroll = function () {
scrollFunction();
updateProgress();
};
function scrollFunction() {
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
scrollToTopBtn.style.display = "block";
} else {
scrollToTopBtn.style.display = "none";
}
}
function topFunction() {
window.scrollTo({ top: 0, behavior: 'smooth' });
}
function updateProgress() {
let scrollTop = window.pageYOffset || document.documentElement.scrollTop;
let docHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;
let scrollPercent = scrollTop / docHeight;
let offset = circumference - (scrollPercent * circumference);
circle.style.strokeDashoffset = offset;
}
scrollToTopBtn.addEventListener("click", function (event) {
event.preventDefault();
topFunction();
});
</script>
<script>
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
const sections = document.querySelectorAll('section');
const observer = new IntersectionObserver(entries => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
}
});
}, {
threshold: 0.1
});
sections.forEach(section => {
observer.observe(section);
});
</script>
<script>
function sendEmail() {
Email.send({
Host: "smtp.elasticemail.com",
Username: "[email protected]",
Password: "A8F5164C44BD2E729DA1FB0F9D338DB5EFBE",
To: '[email protected]',
From: document.getElementById('email').value,
Subject: "This is the subject",
Body: "Name:" + document.getElementById("name").value
+ "<br> Email:" + document.getElementById("email").value
+ "<br> Message:" + document.getElementById("msg").value
}).then(
message => alert("Message sent successsfully. We will get back to you soon.")
);
}
function sendFeed() {
Email.send({
Host: "smtp.elasticemail.com",
Username: "[email protected]",
Password: "A8F5164C44BD2E729DA1FB0F9D338DB5EFBE",
To: '[email protected]',
From: document.getElementById('email').value,
Subject: "This is the subject",
Body: "Name:" + document.getElementById("name").value
+ "<br> Email:" + document.getElementById("email").value
+ "<br> Message:" + document.getElementById("msg").value
}).then(
message => alert("Feedback sent successsfully")
);
}
</script>
<script src="https://smtpjs.com/v3/smtp.js"></script>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/vegas.min.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/smoothscroll.js"></script>
<script src="js/custom.js"></script>
<script src="https://cdn.botpress.cloud/webchat/v1/inject.js"></script>
<script src="https://mediafiles.botpress.cloud/5e160793-5606-4412-ba4c-337e416f14fe/webchat/config.js"></script>
<script src="https://cdn.botpress.cloud/webchat/v1/inject.js"></script>
<script>
window.botpressWebChat.init({
"composerPlaceholder": "Open Source Village",
"botConversationDescription": "This chatbot is for the community",
"botId": "0b693cf9-7fd0-4ed3-83a2-89f68137dd81",
"hostUrl": "https://cdn.botpress.cloud/webchat/v1",
"messagingUrl": "https://messaging.botpress.cloud",
"clientId": "0b693cf9-7fd0-4ed3-83a2-89f68137dd81",
"webhookId": "156ea257-2b52-4e1c-92b1-ffeb42198f56",
"lazySocket": true,
"themeName": "prism",
"frontendVersion": "v1",
"showPoweredBy": true,
"theme": "prism",
"themeColor": "#2563eb",
"allowedOrigins": []
});
</script>
<!-- swiper JS -->
<script src="js/swiper-bundle.min.js"></script>
<script>
/*=============== SWIPER JS ===============*/
let swiperCards = new Swiper(".card__content", {
loop: true,
spaceBetween: 52,
grabCursor: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
dynamicBullets: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
breakpoints: {
600: {
slidesPerView: 2,
},
968: {
slidesPerView: 3,
},
},
});
</script>
<script src="./footer/footer.js"></script>
<script src="trail.js"></script>
</body>
</html>