-
-
Notifications
You must be signed in to change notification settings - Fork 431
/
termsOfUse.html
764 lines (656 loc) · 33.9 KB
/
termsOfUse.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Terms of use - FinVeda</title>
<link rel="shortcut icon" href="./assets/images/favicon2.webp" type="image/png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./assets/css/animate.css" />
<link rel="stylesheet" href="./assets/css/magnific-popup.css" />
<link rel="stylesheet" href="./assets/css/slick.css" />
<link rel="stylesheet" href="./assets/css/LineIcons.css" />
<link rel="stylesheet" href="./assets/css/font-awesome.min.css" />
<link rel="stylesheet" href="./assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="./assets/css/default.css" />
<link rel="stylesheet" href="./assets/css/index.css" />
<link rel="stylesheet" href="./assets/css/style.css" />
<link rel="stylesheet" href="./assets/css/quiz.css" />
<link rel="stylesheet" href="./assets/css/popup.css" />
<link rel="stylesheet" href="./assets/css/about.css" />
<link rel="stylesheet" href="./assets/css/preloader.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" />
<link rel="stylesheet" href="./assets/css/about(inlines).css" />
<link rel="stylesheet" href="navbar.css">
<style>
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(73, 232, 247, 0.466), rgba(141, 38, 172, 0.5));
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}
</style>
</head>
<body>
<div class="circle-container">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<div id="progressBar"></div>
<header class="header-area">
<div style="display: flex; justify-content: center;" class="navbar-area">
<div style="display: flex; justify-content: center;" class="container">
<div class="row">
<div style="display: flex; justify-content: center;" class="">
<nav class="navbar navbar-expand-lg" style="display: flex; background-color: #2c3e50;">
<div class="collapse navbar-collapse sub-menu-bar" id="navbarSupportedContent">
<div class="icon1">
<a href="./index.html">
<img src="./assets/images/FinvedaLogo.png" alt="Finveda Logo"
style="width: 13rem;">
</a>
</div>
<ul id="nav" class="navbar-nav ml-auto" style="margin: auto;">
<li class="nav-item">
<a class="page-scroll" href="./index.html">
<i class="fas fa-home icon-hover" style="margin: 5px;"></i> Home
</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./about.html">
<i class="fas fa-info-circle icon-hover" style="margin: 5px;"></i> About Us
</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./finance.html">
<i class="fas fa-graduation-cap icon-hover" style="margin: 5px;"></i>
Courses
</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./contact.html">
<i class="fas fa-envelope icon-hover" style="margin: 5px;"></i> Contact
</a>
</li>
<li class="nav-item">
<a class="page-scroll active-link" href="./faq.html">
<i class="fas fa-question-circle icon-hover" style="margin: 5px;"></i> Help
</a>
</li>
<!-- Dropdown for Explore -->
<li class="nav-item dropdown" onmouseover="toggleDropdown(true)"
onmouseout="toggleDropdown(false)">
<a class="page-scroll dropdown-toggle" href="#">
<i class="fas fa-chevron-down icon-hover" style="margin: 5px;"></i> Explore
More
</a>
<ul class="dropdown-menu">
<li><a href="./trends.html"><i class="fas fa-chart-line icon-hover"
style="margin: 5px;"></i> Trends</a></li>
<li><a href="./tools/sip.html"><i class="fas fa-tools icon-hover"
style="margin: 5px;"></i> Tools</a></li>
<li><a href="./blog.html"><i class="fas fa-blog icon-hover"
style="margin: 5px;"></i> Blogs</a></li>
<li><a href="./quiz.html"><i class="fas fa-question icon-hover"
style="margin: 5px;"></i> Quiz</a></li>
<li><a href="./maps.html"><i class="fas fa-map icon-hover"
style="margin: 5px;"></i> MAPS</a></li>
</ul>
</li>
<!-- Navigation item placeholder for Login/Register or Logout button -->
<li class="nav-item no-underline" id="auth-btn-container">
<a class="main-btn navbar-btn" style="padding: 2px 20px;" data-scroll-nav="0"
href="./loginPage.html">
<i class="fas fa-user-circle icon-hover" style="margin: 5px;"></i>
Login/Register
</a>
</li>
<li class="nav-item no-underline align-self-center">
<button id="theme-toggle" class="theme-toggle" onclick="toggleTheme()">
<span>🌞</span>
</button>
</li>
</ul>
</div>
</nav>
</div>
<script>
const toggleButton = document.getElementById('theme-toggle');
var body = document.body;
var currentTheme = localStorage.getItem('theme');
if (currentTheme === 'dark') {
body.classList.add('dark-mode');
toggleButton.classList.add('dark');
toggleButton.querySelector('span').textContent = '🌞';
}
toggleButton.addEventListener('click', function () {
body.classList.toggle('dark-mode');
toggleButton.classList.toggle('dark');
// Update button icon based on mode
if (body.classList.contains('dark-mode')) {
toggleButton.querySelector('span').textContent = '🌙'; // Light mode icon
localStorage.setItem('theme', 'dark');
} else {
toggleButton.querySelector('span').textContent = '🌞'; // Dark mode icon
localStorage.setItem('theme', 'light');
}
loadShow();
});
</script>
<style>
h3 {
color: #007bff;
/* text-align: center; */
margin-bottom: 18px;
margin-left: 20px;
}
.toggle-button {
padding: 0.5em 1em;
cursor: pointer;
border: none;
background-color: #0c0a0a;
color: #fff;
border-radius: 5px;
transition: background-color 0.3s;
}
.toggle-button:hover {
background-color: #555;
}
.content {
padding: 2em;
text-align: center;
}
h1 {
font-size: 2.5rem;
color: whitesmoke;
margin-top: 130px;
}
p {
font-size: 1.2rem;
}
body.dark-mode {
background-color: #222;
color: #f1f1f1;
/* Change text color to light for dark mode */
}
.toggle-button.dark {
background-color: #f1f1f1;
/* Button background in dark mode */
color: #333;
/* Button text color in dark mode */
}
.toggle-button.dark:hover {
background-color: #ddd;
/* Button hover color in dark mode */
}
.images {
display: flex;
align-items: center;
}
/* img{
margin-left:50px;
} */
</style>
</nav>
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
<nav class="mobile-menu ">
<a class="page-scroll active-link" href="./index.html">Home 🏡</a>
<a class="page-scroll" href="./about.html">About Us 📖</a>
<a class="page-scroll" href="./trends.html">Trends 📈</a>
<a class="page-scroll" href="./tools/sip.html">Tools 🔧</a>
<a class="page-scroll" href="./blog.html">Blogs 📰</a>
<a class="page-scroll" href="./quiz.html">Quiz 🤔</a>
<a class="page-scroll" href="./contact.html">Contact🤔</a>
<li class="nav-item no-underline">
<a class="main-btn navbar-btn" style="padding: 2px 20px; transform: none; border: none;"
href="#" onclick="openModal()" onmouseout="this.style.color='white'">Login/Register
💻</a>
</li>
<div class="mobile-menu__trigger"><span></span></div>
</nav>
</div>
</div>
</div>
</div>
<!-- <link href="./navbar.css" rel="stylesheet"> -->
<script type="text/javascript" src="./navbar.js"></script>
</div>
<div id="particles-1" class="particles"></div>
</div>
</header>
<style>
.container {
max-width: 800px;
margin: 2rem auto;
padding: 2rem;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
border-left: 5px solid #007bff;
/* primary blue accent */
transition: transform 0.3s;
}
h1 {
text-align: center;
font-size: 2.2rem;
color: #0056b3;
/* darker blue */
margin-bottom: 1rem;
}
p {
margin: 1rem 0;
color: #333;
font-size: 1.1rem;
}
ul {
padding-left: 20px;
}
li {
margin: 0.5rem 0;
}
/* Section headings */
.section-title {
font-size: 1.5rem;
color: #0056b3;
font-weight: 600;
margin-top: 1.5rem;
padding-bottom: 0.3rem;
border-bottom: 2px solid #007bff;
}
/* Features section with icons */
.features {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin: 1.5rem 0;
}
.feature-item {
flex: 1 1 calc(50% - 1rem);
background-color: #f0f5ff;
/* light blue background for feature boxes */
padding: 1rem;
border-radius: 8px;
color: #0056b3;
display: flex;
align-items: center;
font-weight: 500;
transition: background 0.3s;
}
.feature-item:hover {
background-color: #e0ecff;
/* slightly darker on hover */
}
.feature-item::before {
content: "💼";
font-size: 1.3rem;
margin-right: 0.5rem;
}
/* Footer */
.footer {
text-align: center;
margin-top: 2rem;
font-size: 0.9rem;
color: #666;
padding: 1rem 0;
border-top: 1px solid #eee;
}
/* Button */
button {
display: inline-block;
padding: 0.6rem 1.2rem;
margin-top: 1.5rem;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
}
button:hover {
background-color: #0056b3;
transform: scale(1.05);
}
</style>
<div class="container">
<h1>Finveda Terms of Use</h1>
<!-- Problem statement -->
<p>🤔 <strong>Problem:</strong> According to a survey by the OECD, only 38% of adults in India are financially
literate. Finveda aims to address this gap by providing a platform focused on financial literacy education
for all.</p>
<!-- Acceptance of Terms -->
<h2 class="section-title">1. Acceptance of Terms</h2>
<p>By using Finveda’s services, you agree to be bound by these Terms of Use. If you do not agree with any part
of these terms, please refrain from using the platform.</p>
<!-- User Obligations -->
<h2 class="section-title">2. User Obligations</h2>
<ul>
<p>Users should use the platform solely for educational purposes and not for unauthorized or illegal
activities.<p>
<p>Users must provide accurate information during account creation and interactions on the platform.</p>
</ul>
<!-- Intellectual Property -->
<h2 class="section-title">3. Intellectual Property</h2>
<p>All content on Finveda, including text, images, and features, is owned by Finveda or its licensors.
Unauthorized use or distribution of this content is prohibited.</p>
<!-- Limitation of Liability -->
<h2 class="section-title">4. Limitation of Liability</h2>
<p>Finveda is not liable for any indirect or consequential damages arising from your use of the platform. Our
services are provided “as-is” without any warranties.</p>
<!-- Termination of Use -->
<h2 class="section-title">5. Termination of Use</h2>
<p>Finveda reserves the right to suspend or terminate user accounts for violations of these terms, at any time
and without notice.</p>
<!-- Governing Law -->
<h2 class="section-title">6. Governing Law</h2>
<p>These Terms of Use are governed by and construed in accordance with the laws applicable in your jurisdiction.
</p>
<!-- Modification of Terms -->
<h2 class="section-title">7. Modification of Terms</h2>
<p>Finveda reserves the right to update these terms at any time. Continued use of the platform after changes
constitutes acceptance of the new terms.</p>
</div>
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
</body>
<!-- Bootstrap JS and jQuery -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
</head>
</html>
<body>
<!-- Timed popup that will appear after succesful submission of feebback form! -->
<button class="notification" id="successnotification" style="display:none;">
<span class="message" id="successmsg">Submitted successfully!</span>
<span class="closenotif" id="closeSuccessNotification">✖</span>
<div class="timerline" id="timerline"></div>
</button>
<footer id="footer" class="footer-area pt-120" style="background-color: #1a1a1a; color: white;">
<div class="container">
<!-- Newsletter Section -->
<div class="subscribe-area wow fadeIn" data-wow-duration="1s" data-wow-delay="0.5s" style="height: 265px; background-color: #0890ff;">
<div class="row">
<div class="col-lg-6">
<div class="subscribe-content mt-45">
<h2 class="subscribe-title">
Subscribe to Our Newsletter
<span style="font-size: 22px;"> Get regular updates</span>
</h2>
</div>
</div>
<div class="col-lg-6">
<div class="subscribe-form mt-50">
<form id="unique-subscribe-form">
<input type="email" id="unique-news-email" placeholder="Enter Email" required style="padding: 10px; border-radius: 5px; border: none; width: 80%;"/>
<button class="unique-main-btn" id="unique-subscribe-btn" type="submit" style="border-radius: 5px; padding: 10px 20px; background-color: #ea5541; color: white; border: none;">
Subscribe
</button>
</form>
<div id="unique-message" class="unique-popup-message" style="display: none;">
<div class="border-animation"></div>
Thank You for the subscription!
</div>
</div>
</div>
</div>
</div>
<!-- Footer Widget Section -->
<div class="footer-widget pb-100">
<div class="row">
<!-- About Section -->
<div class="col-lg-4 col-md-6 col-sm-8">
<div class="footer-about mt-50 ml-45 wow fadeIn" data-wow-duration="1s" data-wow-delay="0.2s">
<img src="./assets/images/FinvedaLogo.png" alt="FinVeda Logo" style="height: 80px; width: auto; margin-bottom: 15px;"/>
<p class="text custom-margin">
We at FinVeda aim to make you a stock market Guru easily with our AI-powered teaching and financial blogs.
</p>
</div>
</div>
<!-- Quick Links Section -->
<div class="col-lg-5 col-md-7 col-sm-7">
<div class="footer-link d-flex mt-50 justify-content-md-between" style="justify-content: space-around !important;">
<div class="link-wrapper wow fadeIn" data-wow-duration="1s" data-wow-delay="0.4s">
<div class="footer-title">
<h3 class="title custom-margin">Quick Links</h3>
</div>
<ul class="link custom-margin">
<li><a href="./blogs/privacy-policy.html"><i class="fas fa-user-secret"></i> Privacy Policy</a></li>
<li><a href="./blogs/refund-policy.html"><i class="fas fa-undo-alt"></i> Refund Policy</a></li>
<li><a href="Licensing.html"><i class="fas fa-file-contract"></i> Licensing</a></li>
<li><a href="./blogs/terms-of-service.html"><i class="fas fa-file-alt"></i> Terms of Service</a></li>
<li><a href="./contributors.html"><i class="fas fa-users"></i> Our Contributors</a></li>
<li><a href="./blogs/sitemap.html"><i class="fa-solid fa-sitemap"></i> Site Map</a></li>
</ul>
</div>
<div class="link-wrapper wow fadeIn" data-wow-duration="1s" data-wow-delay="0.6s">
<div class="footer-title">
<h4 class="title custom-margin">Resources</h4>
</div>
<ul class="link custom-margin">
<li><a href="./index.html"><i class="fas fa-home"></i> Home</a></li>
<li><a href="./about.html"><i class="fas fa-info-circle"></i> About Us</a></li>
<li><a href="./trends.html"><i class="fas fa-chart-line"></i> Trends</a></li>
<li><a href="./tools/sip.html"><i class="fas fa-tools"></i> Tools</a></li>
<li><a href="./blog.html"><i class="fas fa-blog"></i> Blog</a></li>
<li><a href="./quiz.html"><i class="fas fa-question-circle"></i> Quiz</a></li>
</ul>
</div>
</div>
</div>
<!-- Contact Section -->
<div class="col-lg-3 col-md-5 col-sm-5">
<div class="footer-contact mt-50 wow fadeIn" data-wow-duration="1s" data-wow-delay="0.8s">
<div class="footer-title">
<h4 class="title custom-margin">Contact Us</h4>
</div>
<ul class="contact custom-margin-big" style="justify-content: space-around;">
<li class="d-sm-flex justify-content-center">
<i class="fa fa-envelope d-sm-flex align-items-center white" style="font-size: 16px; width: 10%;"></i>
<p style="width: 80%;">
<a href="mailto:[email protected]" target="_blank" style="color: white; text-decoration: underline;">
</a>
</p>
</li>
<li class="d-sm-flex justify-content-center">
<i class="fa fa-globe d-sm-flex align-items-center white" style="font-size: 16px; width: 10%;"></i>
<div style="width: 80%;">
<a href="https://fin-veda.vercel.app/index.html" target="_blank" style="color: #fff;">
fin-veda.vercel.app
</a>
</div>
</li>
<li class="d-sm-flex justify-content-center">
<i class="fa fa-location-dot d-sm-flex align-items-center white" style="font-size: 16px; width: 10%;"></i>
<div style="width: 80%;">
<a href="https://www.google.com/maps/place/Delhi" style="color:#fff">
Delhi, India
</a>
</div>
</li>
</ul>
<!-- Social Media Icons -->
<div class="social-icons">
<a href="https://www.instagram.com/"><i class="fa-brands fa-instagram"></i></a>
<a href="https://www.facebook.com/"><i class="fa-brands fa-facebook"></i></a>
<a href="https://x.com/"><i class="fa-brands fa-x-twitter"></i></a>
<a href="https://discord.com/"><i class="fa-brands fa-discord"></i></a>
<a href="https://github.com/ayush-that/FinVeda"><i class="fa-brands fa-github"></i></a>
<a href="https://www.linkedin.com/in/ayush-that/"><i class="fa-brands fa-linkedin"></i></a>
</div>
</div>
</div>
</div>
</div>
<!-- Copyright Section -->
<div class="footer-copyright mt-50 wow fadeIn" data-wow-duration="1s" data-wow-delay="0.8s" style="text-align: center">
<div class="row">
<div class="col-lg-12">
<div class="copyright d-sm-flex justify-content-center">
<div class="copyright-content">
<p class="text">
© <span id="copyright-year">2024</span> FinVeda. All rights reserved<br />
Made with ♥ in India
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="particles-2"></div>
</footer>
<script>
// Function for the contributors section
const owner = 'ayush-that';
const repo = 'FinVeda';
const contributorsPerPage = 8;
let contributors = [];
let currentPage = 1;
async function fetchContributors() {
const response = await fetch(`https://api.github.com/repos/${owner}/${repo}/contributors`);
if (!response.ok) {
console.error('Failed to fetch contributors:', response.statusText);
return;
}
contributors = await response.json();
displayContributors();
createPaginationButtons();
}
function displayContributors() {
const container = document.getElementById('contributor-cards');
container.innerHTML = '';
const start = (currentPage - 1) * contributorsPerPage;
const end = start + contributorsPerPage;
const currentContributors = contributors.slice(start, end);
currentContributors.forEach(contributor => {
const card = document.createElement('div');
card.className = 'contributor-member';
card.setAttribute('data-tilt', '');
const img = document.createElement('img');
img.src = contributor.avatar_url;
img.alt = contributor.login;
const name = document.createElement('h3');
name.textContent = contributor.login;
const contributions = document.createElement('p');
contributions.textContent = `${contributor.contributions} contributions`;
const viewProfileButton = document.createElement("button");
viewProfileButton.textContent = "View Profile";
viewProfileButton.addEventListener("click", () => {
window.open(contributor.html_url, "_blank");
});
card.appendChild(img);
card.appendChild(name);
card.appendChild(contributions);
container.appendChild(card);
card.appendChild(viewProfileButton);
});
}
function createPaginationButtons() {
const paginationContainer = document.getElementById('pagination');
paginationContainer.innerHTML = '';
const totalPages = Math.ceil(contributors.length / contributorsPerPage);
for (let i = 1; i <= totalPages; i++) {
const button = document.createElement('button');
button.textContent = i;
button.classList.add('pagination-button');
if (i === currentPage) {
button.classList.add('active');
}
button.addEventListener('click', () => {
currentPage = i;
displayContributors();
updatePaginationButtons();
});
paginationContainer.appendChild(button);
}
}
function updatePaginationButtons() {
const buttons = document.querySelectorAll('.pagination-button');
buttons.forEach(button => {
button.classList.remove('active');
if (parseInt(button.textContent) === currentPage) {
button.classList.add('active');
}
});
}
fetchContributors();
</script>
<div class="gtranslate_wrapper"></div>
<script>window.gtranslateSettings = { "default_language": "en", "detect_browser_language": true, "wrapper_selector": ".gtranslate_wrapper" }</script>
<script src="https://cdn.gtranslate.net/widgets/latest/float.js" defer></script>
<a href="#" class="back-to-top"><i class="lni-chevron-up"></i></a>
<script src="./assets/js/about.js"></script>
<script src="./assets/js/subscribe.js"></script>
<script src="./assets/js/vendor/jquery-1.12.4.min.js"></script>
<script src="./assets/js/vendor/modernizr-3.7.1.min.js"></script>
<script src="./assets/js/popper.min.js"></script>
<script src="./assets/js/bootstrap.min.js"></script>
<script src="./assets/js/plugins.js"></script>
<script src="./assets/js/slick.min.js"></script>
<script src="./assets/js/ajax-contact.js"></script>
<script src="./assets/js/waypoints.min.js"></script>
<script src="./assets/js/jquery.counterup.min.js"></script>
<script src="./assets/js/jquery.magnific-popup.min.js"></script>
<script src="./assets/js/blogposts.js"></script>
<script src="./assets/js/jquery.easing.min.js"></script>
<script src="./assets/js/scrolling-nav.js"></script>
<script src="./assets/js/wow.min.js"></script>
<script src="./assets/js/particles.min.js"></script>
<script src="./assets/js/main.js"></script>
<script src="./assets/js/popup.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"
defer></script>
<script defer src="./assets/js/arthsathi-style.js"></script>
<script src="./assets/js/botpress.js"></script>
<script src="./assets/js/blogmodals.js"></script>
<script src="./tools/smoothScroll.js"></script>
</head>
</body>
</html>