forked from ayush-that/FinVeda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
addBlog.html
930 lines (839 loc) · 32.8 KB
/
addBlog.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add Your Blog</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" />
<link rel="shortcut icon" href="/assets/images/favicon2.webp" type="image/png" />
<link rel="shortcut icon" href="./assets/images/favicon2.png" type="image/png" />
<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/cookiepopup.css">
<link rel="stylesheet" href="./assets/css/about.css" />
<link rel="stylesheet" href="./assets/css/preloader.css" />
<link rel="stylesheet" type="text/css" href="sipcalculatorCss.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>
* {
cursor: url('/assets/images/ads_click_24dp_000000_FILL0_wght400_GRAD0_opsz24.svg'), auto;
}
.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;
}
@media (max-width: 720px) {
.circle-container {
display: none;
}
}
/* Style for Financial Literacy Rates heading */
.financial-literacy-rate {
color: black;
transition: background-color 0.3s ease, color 0.3s ease;
}
/* Hover effect for Financial Literacy Rates heading */
.financial-literacy-rate:hover {
background-color: orange;
color: white;
padding: 5px;
border-radius: 5px;
}
/* Card styling */
.card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 20px auto;
padding: 20px;
max-width: 800px;
border: 1px solid #ccc;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
opacity: 0;
animation: fadeIn 0.5s forwards;
}
/* Card heading styling */
.card h2 {
text-align: center;
margin-bottom: 20px;
}
/* Button styles */
button,
input[type="submit"],
input[type="button"],
.quiz-button {
background-color: #007BFF;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
/* Hover effects for buttons */
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
background-color: #0056b3;
transform: translateY(-2px);
}
.quiz-button:hover {
background-color: #218838;
transform: translateY(-2px);
}
/* Input field styles */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Hover effects for input fields */
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
textarea:hover,
select:hover {
border-color: #007BFF;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
/* Focus effects for input fields */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
border-color: #0056b3;
box-shadow: 0 0 8px rgba(0, 86, 179, 0.5);
outline: none;
}
/* Styling for educational resources */
.educational-resources {
text-align: center;
margin: 20px 0;
}
/* State initiative card styling */
.state-initiative {
margin: 20px 0;
padding: 15px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #ffffff;
}
/* Hover effect for state initiative cards */
.state-initiative:hover {
background-color: #f1f1f1;
transition: background-color 0.3s ease;
}
/* Resource card styling */
.resource {
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 10px;
padding: 15px;
margin: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Hover effect for resource cards */
.resource:hover {
transform: translateY(-5px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* Text color change on resource hover */
.resource:hover p {
color: #333;
}
/* Resource heading styling */
.resource h2 {
color: #007BFF;
transition: color 0.3s ease;
}
/* Change resource heading color on hover */
.resource:hover h2 {
color: #0056b3;
}
/* Fade-in animation for cards */
@keyframes fadeIn {
to {
opacity: 1;
}
}
</style>
<style>
/* Resetting some basic styles */
/* Container for the form */
.upload-feedback {
margin: 0 auto ;
margin-top: 150px;
font-family: 'Arial', sans-serif;
border: 10px solid white;
background-color: #6f87f1;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
padding: 30px;
width: 100%;
max-width: 650px;
transition: transform 0.3s ease;
}
/* Hover effect for the form container */
.upload-feedback:hover {
transform: translateY(-10px);
}
/* Title of the form */
.upload-title {
font-size: 2rem;
font-weight: 700;
margin-bottom: 20px;
color: #f6f8f6;
text-align: center;
letter-spacing: 1px;
transition: color 0.3s ease;
}
/* Hover effect for the title */
.upload-title:hover {
color: #388E3C; /* Darker green */
}
/* Form element containers */
.form-group {
margin-bottom: 20px;
}
/* Input and textarea styles */
.form-input {
width: 100%;
padding: 14px;
border: 4px solid #c4faa4;
border-radius: 6px;
font-size: 1rem;
color: #333;
background-color: #f7f7f7;
transition: all 0.3s ease;
}
/* Input focus effect */
.form-input:focus {
border-color: #4CAF50;
outline: none;
background-color: #fff;
}
/* Labels */
label {
font-size: 1.1rem;
font-weight: 600;
color: #252525;
margin-bottom: 8px;
display: block;
}
/* Button container */
.button-container {
display: flex;
justify-content: space-between;
gap: 15px;
}
/* Submit button styles */
.submit-btn {
background-color: #4CAF50;
color: white;
padding: 14px 25px;
border: none;
border-radius: 6px;
font-size: 1.1rem;
cursor: pointer;
width: 48%;
border: 2px solid white;
transition: background-color 0.3s ease, transform 0.2s ease;
}
/* Submit button hover effect */
.submit-btn:hover {
background-color: #388E3C;
transform: scale(1.05);
}
/* Back button styles */
.back-btn {
background-color: #f44336;
color: white;
padding: 14px 25px;
border: none;
border-radius: 6px;
font-size: 1.1rem;
cursor: pointer;
width: 48%;
border: 2px solid white;
transition: background-color 0.3s ease, transform 0.2s ease;
}
/* Back button hover effect */
.back-btn:hover {
background-color: #d32f2f;
transform: scale(1.05);
}
/* File input button */
input[type="file"] {
display: none;
}
/* Custom file input */
label[for="blogImage"] {
display: inline-block;
background-color: #e1f5fe;
padding: 12px 25px;
border-radius: 6px;
cursor: pointer;
font-size: 1rem;
color: #0288d1;
text-align: center;
transition: background-color 0.3s ease, color 0.3s ease;
}
/* File input hover effect */
label[for="blogImage"]:hover {
background-color: #b3e5fc;
color: #0277bd;
}
/* Textarea height adjustment */
textarea {
resize: vertical;
}
/* Upload Message styling */
#uploadMessage {
font-size: 1.1rem;
color: #4CAF50;
font-weight: 600;
margin-top: 15px;
text-align: center;
}
/* Error message styling */
#errorMessage {
font-size: 1.1rem;
color: #f44336;
font-weight: 600;
margin-top: 15px;
text-align: center;
}
/* Responsiveness */
@media (max-width: 600px) {
.upload-feedback {
padding: 20px;
}
.button-container {
flex-direction: column;
}
.submit-btn,
.back-btn {
width: 100%;
margin-bottom: 15px;
}
}
</style>
</head>
<body>
<div id="progressBar"></div>
<script>
window.onscroll = function () {
var winScroll = document.body.scrollTop || document.documentElement.scrollTop;
var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
var scrolled = (winScroll / height) * 100;
document.getElementById("progressBar").style.width = scrolled + "%";
};
</script>
<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 class="navbar-area">
<div class="container">
<div class="row">
<div class="col-lg-12">
<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" 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 class="active-link" 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>
<!-- Login Modal -->
<div id="myModal" class="modal">
<div class="modal-content">
<span
class="close"
style="display: flex; justify-content: right"
>×</span
>
<div class="mt-3">
<h3 class="join">Login to join us....</h3>
<form class="px-3 py-4">
<div class="form-group">
<label class="d-flex">Username</label>
<input
type="text"
placeholder="Username"
class="form-control"
/>
</div>
<div class="form-group">
<input
type="password"
placeholder="Password"
class="form-control"
/>
<button type="button" class="toggle-password-btn">
<i class="fa-solid fa-eye"></i>
</button>
</div>
<div class="form-check d-flex">
<input type="checkbox" class="form-check-input" />
<label class="form-check-label">Remember me</label>
</div>
</form>
<button class="main-btn mt-2 w-100 mb-3">
Sign in
</button>
<p class="text-center">
Don't have an account?
<a href="#" id="registerLink">Register</a>
</p>
</div>
</div>
</div>
<!-- Register Modal -->
<div id="registerModal" class="modal">
<div class="modal-content">
<span
class="close"
style="display: flex; justify-content: right"
>×</span
>
<div class="mt-3">
<h3 class="join">Register to join us....</h3>
<form class="px-3 py-4">
<div class="form-group">
<label class="d-flex">Email</label>
<input
type="email"
placeholder="Email"
class="form-control"
/>
</div>
<div class="form-group">
<label class="d-flex">Username</label>
<input
type="text"
placeholder="Username"
class="form-control"
/>
</div>
<div class="form-group">
<input
type="password"
placeholder="Password"
class="form-control"
required
/>
<button type="button" class="toggle-password-btn">
<i class="fa-solid fa-eye"></i>
</button>
</div>
</form>
<button class="main-btn mt-2 w-100 mb-3">
Register
</button>
<p class="text-center">
Already have an account?
<a href="#" id="loginLink">Login</a>
</p>
</div>
</div>
</div>
</div>
</nav>
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
<nav class="mobile-menu ">
<a class="page-scroll" 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 active-link" href="../blog.html">Blogs 📰</a>
<a class="page-scroll" href="../quiz.html">Quiz 🤔</a>
<a class="page-scroll main-btn" href="#" onclick="openModal()" onmouseout="this.style.color='white'">Login/Register 💻</a>
<div class="mobile-menu__trigger" onclick="toggleMobileMenu()">
<span></span>
</div>
</nav>
<link href="../navbar.css" rel="stylesheet">
<script type="text/javascript" src="../navbar.js"></script>
</div>
</div>
</div>
</div>
</header>
<img style="position: absolute;mix-blend-mode: multiply;left: 100px;height:300px;" src="assets/images/upload.png" alt="upload">
<div class="upload-feedback">
<h3 class="upload-title">Upload Your Blog Post</h3>
<form class="upload-form" id="uploadForm">
<div class="form-group">
<label for="blogTitle">Blog Title</label>
<input type="text" id="blogTitle" class="form-input" placeholder="Enter blog title" required>
</div>
<br>
<label for="blogContent">Blog Content</label>
<div class="form-group">
<textarea id="blogContent" class="form-input" rows="8" placeholder="Write your blog content here" required></textarea>
</div>
<br>
<div class="form-group">
<label for="blogImage">Upload Image</label>
<input type="file" id="blogImage" class="form-input" accept="image/*">
</div>
<br>
<br>
<div class="button-container">
<button type="submit" id="blog-submit-button" class="submit-btn">Post Blog</button>
<button type="button" class="back-btn" onclick="window.location.href='blog.html'">Back to blogs</button>
</div>
</form>
<div id="uploadMessage" aria-live="polite"></div>
</div>
<script>
document.getElementById('uploadForm').addEventListener('submit', function (e) {
e.preventDefault();
const title = document.getElementById('blogTitle').value;
const excerpt = document.getElementById('blogContent').value;
const featuredImage = document.getElementById('blogImage').files[0];
if (!title || !excerpt || !featuredImage) {
document.getElementById('uploadMessage').textContent = 'Please fill out all required fields.';
return;
}
// Create a URL for the uploaded image
const imageUrl = URL.createObjectURL(featuredImage);
// Prepare the blog post object
const newBlogPost = {
title,
excerpt,
imageUrl // Store the URL directly
};
const blogs = JSON.parse(localStorage.getItem('blogs')) || [];
// Add the new blog post to the array
blogs.push(newBlogPost);
// Save the updated array back to local storage
localStorage.setItem('blogs', JSON.stringify(blogs));
document.getElementById('uploadMessage').textContent = 'Blog post created successfully!';
document.getElementById('uploadForm').reset();
// Redirect after a short delay
setTimeout(() => {
window.location.href = 'blog.html';
}, 1500);
});
</script>
<footer id="footer" class="footer-area pt-120">
<div class="container">
<div class="subscribe-area wow fadeIn" data-wow-duration="1s" data-wow-delay="0.5s" style="height: 265px;">
<div class="row">
<div class="col-lg-6">
<div class="subscribe-content mt-45">
<h2 class="subscribe-title subscribe-map-title">
Subscribe Our Newsletter <span style="font-size: 28px;"> 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 />
<button class="unique-main-btn" id="unique-subscribe-btn" type="submit">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>
</div>
<div class="footer-widget pb-100">
<div class="row" id="footer">
<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>
<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>
</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>
<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">
<!-- Modified: Inline CSS to adjust logo size and sync with other pages -->
<i class="fa fa-location-dot d-sm-flex align-items-center white" style="font: 12px; width: 10%;"></i>
<div style="width: 80%;">
<a href="https://www.google.com/maps/place/Delhi/@28.6436846,76.7635778,10z/data=!3m1!4b1!4m6!3m5!1s0x390cfd5b347eb62d:0x37205b715389640!8m2!3d28.7040592!4d77.1024902!16zL20vMDlmMDc?entry=ttu"
style="color:#fff">
Delhi, India
</a>
</div>
</li>
<!-- Added: Social Media Redirects -->
<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>
</div>
</ul>
</div>
</div>
</div>
</div>
<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"
style="
display: flex;
justify-content: center;
text-align: center;
width: 100%;
height: 100%;
"
>
<div class="copyright-content" style="text-align: center; margin-bottom: -60px;">
<p class="text" style="text-align: center">
© <span id="copyright-year">2024</span> FinVeda. All rights are
reserved<br />
Made with ♥ in India
</p>
</div>
</div>
</div>
</div>
</div>
<div id="particles-2"></div>
</div>
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top" style="margin-left:95%; margin-bottom: 30px; border-radius: 50%; width: 60px; height: 60px;">↑</button>
</footer>
<script src="finance.js"></script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init({
duration: 2000
});
</script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});
window.addEventListener("mousemove", function (e) {
coords.x = e.pageX;
coords.y = e.pageY - window.scrollY; // Adjust for vertical scroll position
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = `${x - 12}px`;
circle.style.top = `${y - 12}px`;
circle.style.transform = `scale(${(circles.length - index) / circles.length})`;
const nextCircle = circles[index + 1] || circles[0];
circle.x = x;
circle.y = y;
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
});
</script>
</body>
</html>