forked from ayush-that/FinVeda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Testimonials.html
517 lines (453 loc) · 15.1 KB
/
Testimonials.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Finveda Testimonials</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
:root {
--primary-blue: #1e3d59;
--secondary-blue: #2c5282;
--primary-orange: #ff6b6b;
--secondary-orange: #ff8c42;
--light-bg: #f7fafc;
}
body {
background: var(--light-bg);
color: var(--primary-blue);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 3rem 2rem;
}
.header {
text-align: center;
margin-bottom: 4rem;
position: relative;
}
.header::after {
content: '';
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: var(--primary-orange);
border-radius: 2px;
}
.header h1 {
color: var(--primary-blue);
font-size: 2.8rem;
margin-bottom: 1rem;
font-weight: 700;
}
.header p {
color: var(--secondary-blue);
font-size: 1.2rem;
}
.testimonials-carousel {
position: relative;
overflow: hidden;
padding: 2rem 0;
}
.testimonial-slide {
display: none;
animation: fadeIn 0.5s;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.testimonial-card {
background: white;
border-radius: 20px;
padding: 2.5rem;
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
margin: 0 auto;
max-width: 800px;
border: 1px solid rgba(0,0,0,0.05);
transition: transform 0.3s ease;
}
.testimonial-card:hover {
transform: translateY(-5px);
}
.user-profile {
display: flex;
align-items: center;
margin-bottom: 1.8rem;
}
.user-avatar {
width: 70px;
height: 70px;
border-radius: 50%;
background: var(--light-bg);
margin-right: 1.5rem;
overflow: hidden;
border: 3px solid var(--primary-orange);
}
.user-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.user-info h3 {
color: var(--primary-blue);
margin-bottom: 0.4rem;
font-size: 1.3rem;
}
.user-info p {
color: var(--secondary-orange);
font-size: 0.95rem;
font-weight: 500;
}
.star-rating {
color: var(--secondary-orange);
margin-bottom: 1.5rem;
font-size: 1.2rem;
}
.testimonial-content {
color: #4a5568;
font-size: 1.15rem;
line-height: 1.7;
margin-bottom: 1.5rem;
font-style: italic;
}
.carousel-controls {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 2.5rem;
}
.carousel-btn {
background: var(--primary-blue);
color: white;
border: none;
padding: 0.8rem 1.8rem;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 600;
font-size: 0.95rem;
}
.carousel-btn:hover {
background: var(--primary-orange);
transform: translateY(-2px);
}
.comments-section {
margin-top: 4rem;
background: white;
padding: 2.5rem;
border-radius: 20px;
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.comments-section h2 {
color: var(--primary-blue);
margin-bottom: 1.5rem;
font-size: 1.8rem;
}
.comment-form textarea {
width: 100%;
padding: 1.2rem;
border: 2px solid #e2e8f0;
border-radius: 12px;
margin-bottom: 1rem;
resize: vertical;
font-size: 1rem;
transition: border-color 0.3s ease;
}
.comment-form textarea:focus {
outline: none;
border-color: var(--secondary-orange);
}
.comment-form button {
background: var(--primary-orange);
color: white;
border: none;
padding: 1rem 2rem;
border-radius: 25px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease;
}
.comment-form button:hover {
background: var(--secondary-orange);
transform: translateY(-2px);
}
.comments-list {
max-height: 400px;
overflow-y: auto;
padding: 1rem;
}
.comment {
padding: 1.5rem;
border-bottom: 1px solid #e2e8f0;
transition: background-color 0.3s ease;
}
.comment:hover {
background-color: var(--light-bg);
}
.reactions {
display: flex;
gap: 1.5rem;
margin-top: 1rem;
}
.reaction-btn {
background: none;
border: none;
cursor: pointer;
font-size: 1.1rem;
display: flex;
align-items: center;
gap: 0.5rem;
transition: transform 0.3s ease;
}
.reaction-btn:hover {
transform: scale(1.1);
}
.cta-section {
text-align: center;
margin-top: 4rem;
padding: 3rem;
background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
border-radius: 20px;
color: white;
}
.cta-section h2 {
margin-bottom: 1.5rem;
font-size: 2rem;
}
.cta-section p {
margin-bottom: 2rem;
font-size: 1.1rem;
opacity: 0.9;
}
.cta-btn {
display: inline-block;
background: var(--primary-orange);
color: white;
padding: 1.2rem 2.5rem;
border-radius: 30px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
font-size: 1.1rem;
}
.cta-btn:hover {
background: var(--secondary-orange);
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
.container {
padding: 1.5rem;
}
.header h1 {
font-size: 2.2rem;
}
.testimonial-card {
margin: 0.5rem;
padding: 1.8rem;
}
.cta-section {
padding: 2rem;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
:root {
--primary-blue: #1e3d59;
--secondary-blue: #2c5282;
--primary-orange: #ff6b6b;
--secondary-orange: #ff8c42;
--light-bg: #f7fafc;
}
.home-button {
position: fixed;
top: 20px;
left: 20px;
background: var(--primary-blue);
color: white;
padding: 0.8rem 1.5rem;
border-radius: 25px;
text-decoration: none;
font-weight: 600;
display: flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s ease;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.home-button:hover {
background: var(--primary-orange);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.home-button i {
font-size: 1.1rem;
}
body {
background: var(--light-bg);
color: var(--primary-blue);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 3rem 2rem;
}
}
</style>
</head>
<body>
<a href="index.html" class="home-button">
<i class="fas fa-home"></i>
Home
</a>
<div class="container">
<div class="header">
<h1>What Our Users Say About Finveda</h1>
<p>Real experiences from our community of investors and crypto enthusiasts</p>
</div>
<div class="testimonials-carousel">
<div class="testimonial-slide">
<div class="testimonial-card">
<div class="user-profile">
<div class="user-avatar">
<img src="/api/placeholder/70/70" alt="Sarah Johnson">
</div>
<div class="user-info">
<h3>Sarah Johnson</h3>
<p>Cryptocurrency Trader | 2 years with Finveda</p>
</div>
</div>
<div class="star-rating">
★★★★★
</div>
<p class="testimonial-content">
"Finveda has transformed the way I approach crypto trading. Their intuitive platform and real-time analytics have helped me make more informed decisions. The community support is incredible!"
</p>
</div>
</div>
<div class="testimonial-slide">
<div class="testimonial-card">
<div class="user-profile">
<div class="user-avatar">
<img src="/api/placeholder/70/70" alt="Michael Chen">
</div>
<div class="user-info">
<h3>Michael Chen</h3>
<p>Investment Analyst | 1.5 years with Finveda</p>
</div>
</div>
<div class="star-rating">
★★★★★
</div>
<p class="testimonial-content">
"The educational resources and market insights provided by Finveda are unmatched. I've grown my portfolio significantly since joining the platform."
</p>
</div>
</div>
<div class="testimonial-slide">
<div class="testimonial-card">
<div class="user-profile">
<div class="user-avatar">
<img src="/api/placeholder/70/70" alt="Emma Williams">
</div>
<div class="user-info">
<h3>Emma Williams</h3>
<p>Retail Investor | 1 year with Finveda</p>
</div>
</div>
<div class="star-rating">
★★★★½
</div>
<p class="testimonial-content">
"As a beginner in crypto, Finveda's user-friendly interface and comprehensive tutorials made it easy for me to get started. Their customer support is exceptional!"
</p>
</div>
</div>
<div class="carousel-controls">
<button class="carousel-btn" onclick="previousSlide()">Previous</button>
<button class="carousel-btn" onclick="nextSlide()">Next</button>
</div>
</div>
<div class="comments-section">
<h2>Share Your Experience</h2>
<div class="comment-form">
<textarea placeholder="Write your comment here..." rows="4"></textarea>
<button onclick="addComment()">Post Comment</button>
</div>
<div class="comments-list" id="commentsList">
<!-- Comments will be dynamically added here -->
</div>
</div>
<div class="cta-section">
<h2>Ready to Start Your Financial Journey?</h2>
<p>Join thousands of satisfied users who trust Finveda for their financial needs</p>
<a href="loginPage.html" class="cta-btn">Get Started Now</a>
</div>
</div>
<script>
let currentSlide = 0;
const slides = document.getElementsByClassName('testimonial-slide');
function showSlides() {
for (let i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
slides[currentSlide].style.display = "block";
}
function nextSlide() {
currentSlide = (currentSlide + 1) % slides.length;
showSlides();
}
function previousSlide() {
currentSlide = (currentSlide - 1 + slides.length) % slides.length;
showSlides();
}
function addComment() {
const commentText = document.querySelector('.comment-form textarea').value;
if (commentText.trim() === '') return;
const comment = document.createElement('div');
comment.className = 'comment';
comment.innerHTML = `
<p>${commentText}</p>
<div class="reactions">
<button class="reaction-btn" onclick="react(this)">
<span>👍</span>
<span class="count">0</span>
</button>
<button class="reaction-btn" onclick="react(this)">
<span>❤️</span>
<span class="count">0</span>
</button>
<button class="reaction-btn" onclick="react(this)">
<span>🎉</span>
<span class="count">0</span>
</button>
</div>
`;
document.getElementById('commentsList').prepend(comment);
document.querySelector('.comment-form textarea').value = '';
}
function react(button) {
const countSpan = button.querySelector('.count');
let count = parseInt(countSpan.textContent);
countSpan.textContent = count + 1;
}
showSlides();
setInterval(nextSlide, 5000);
</script>
</body>
</html>