forked from anuragverma108/SwapReads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.html
721 lines (624 loc) · 19.3 KB
/
help.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/assets/favicon_package_v0.16/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/assets/favicon_package_v0.16/favicon-16x16.png"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
/>
<link
href="https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Poppins:wght@400;500;600&display=swap"
rel="stylesheet"
/>
<title>Help Center</title>
<style>
body {
background-color: #ffb2a8;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23ffb9b0' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23ffc1b7' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23ffc8bf' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23ffcfc6' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23FFD6CE' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23ffdcd4' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23ffe1d9' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23ffe6df' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23ffebe4' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23FFF0EA' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
background-attachment: fixed;
background-size: cover;
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background: rgba(225, 223, 225, 0.3);
padding: 40px;
margin-top: 20px;
margin-bottom: 20px;
border-radius: 15px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
max-width: 800px;
width: 90%;
}
h1,
h2,
p,
.btn-custom,
.card-link {
opacity: 0;
transform: translateX(-100%);
animation: slideIn 1.3s forwards;
}
h1 {
text-align: center;
color: #333;
font-family: "Philosopher", sans-serif;
font-weight: 700;
margin-bottom: 30px;
}
p {
color: #666;
line-height: 1.6;
}
.btn-home {
background-color: #aeadad;
color: rgb(250, 246, 249);
border: none;
border-radius: 5px;
padding: 15px 20px;
font-weight: 700;
transition: all 0.3s ease;
font-size: 0.9em;
position: absolute;
top: 20px;
left: 20px;
}
.btn-home:hover {
background-color: #f5baf1;
color: rgb(18, 17, 17);
transform: translateY(-2px);
border: 1px solid black;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
.btn-custom {
background-color: #f3acd0;
color: white;
border: none;
border: 2px solid rgb(253, 13, 193);
border-radius: 25px;
padding: 10px 25px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-custom:hover {
background: linear-gradient(
to top left,
rgb(246, 128, 148),
rgb(250, 219, 249)
);
transform: translateY(-2px);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
.contact-card {
list-style-type: none;
padding: 0;
margin-top: 30px;
background: transparent;
}
.contact-card li {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.contact-card .card-title {
margin-right: 10px;
}
.card-title {
font-weight: 600;
margin-bottom: 5px;
}
.address {
font-style: normal;
}
.card-link {
color: #ff69b4;
text-decoration: none;
}
.card-link:hover {
color: #ff1493;
}
@keyframes slideIn {
to {
opacity: 1;
transform: translateX(0);
}
}
.section-1 h2 {
animation-delay: 0.2s;
}
.section-1 p,
.section-1 .btn-custom {
animation-delay: 0.4s;
}
.section-2 h2 {
animation-delay: 0.6s;
}
.section-2 p,
.section-2 .btn-custom {
animation-delay: 0.8s;
}
.section-3 h2 {
animation-delay: 1s;
}
.section-3 ul {
animation-delay: 1.2s;
}
.section-4 h2 {
animation-delay: 1.4s;
}
.section-4 p,
.section-4 .btn-custom {
animation-delay: 1.6s;
}
@media (max-width: 768px) {
.btn-home {
margin-top: 17px;
margin-left: 10px;
font-size: 0.8em;
padding: 6px 12px;
}
.btn-custom {
padding: 8px 20px;
font-size: 0.85em;
}
}
.faq-section {
display: none; /* Hidden by default */
margin-top: 20px;
}
.faq-question {
font-weight: 600;
cursor: pointer;
}
.faq-answer {
display: none; /* Hidden by default */
margin-top: 5px;
padding-left: 20px;
}
*, *:before, *:after {
box-sizing: border-box;
}
html {
font-size: 100%;
}
/* body {
font-family: acumin-pro, system-ui, sans-serif;
margin: 0;
display: grid;
grid-template-rows: auto 1fr auto;
font-size: 14px;
background-color: #f4f4f4;
align-items: start;
min-height: 100vh;
} */
.footer {
position: absolute;
top: 130%;
width: 100%;
display: flex;
flex-flow: row wrap;
padding: 30px 30px 20px 30px;
color: #2f2f2f;
background-color: pink;
border-top: 1px solid #e5e5e5;
}
.footer > * {
flex: 1 100%;
}
.footer__addr {
margin-right: 1.25em;
margin-bottom: 2em;
}
.footer__logo {
font-family: 'Pacifico', cursive;
font-weight: 400;
text-transform: lowercase;
font-size: 1.5rem;
}
.footer__addr h2 {
margin-top: 1.3em;
font-size: 15px;
font-weight: 400;
}
.nav__title {
font-weight: 400;
font-size: 15px;
}
.footer address {
font-style: normal;
color: #999;
}
.footer__btn {
display: flex;
align-items: center;
justify-content: center;
height: 36px;
max-width: max-content;
background-color: rgb(33, 33, 33, 0.07);
border-radius: 100px;
color: #2f2f2f;
line-height: 0;
margin: 0.6em 0;
font-size: 1rem;
padding: 0 1.3em;
}
.footer ul {
list-style: none;
padding-left: 0;
}
.footer li {
line-height: 2em;
}
.footer a {
text-decoration: none;
}
.footer__nav {
display: flex;
flex-flow: row wrap;
}
.footer__nav > * {
flex: 1 50%;
margin-right: 1.25em;
}
.nav__ul a {
color: #999;
}
.nav__ul--extra {
column-count: 2;
column-gap: 1.25em;
}
.legal {
display: flex;
flex-wrap: wrap;
color: #999;
}
.legal__links {
display: flex;
align-items: center;
}
.heart {
color: #2f2f2f;
}
@media screen and (min-width: 24.375em) {
.legal .legal__links {
margin-left: auto;
}
}
@media screen and (min-width: 40.375em) {
.footer__nav > * {
flex: 1;
}
.nav__item--extra {
flex-grow: 2;
}
.footer__addr {
flex: 1 0px;
}
.footer__nav {
flex: 2 0px;
}
}
</style>
<style>
/* Circle styles */
.circle {
height: 24px;
width: 24px;
border-radius: 50%;
background-color: black;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999;
transition: transform 0.1s ease-out;
}
</style>
</head>
<body>
<!-- Circles -->
<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>
<a href="/index.html" class="btn btn-home">
<i class="fas fa-home mr-2"></i>Home
</a>
<div class="container">
<h1>Help Center</h1>
<p>
Welcome to our Help Center. Here you can find quick links to our FAQ
section or contact our support team for further assistance.
</p>
<div class="mt-5 section-1">
<h2 class="mb-4">Frequently Asked Questions</h2>
<p>For answers to common questions, please visit our FAQ section:</p>
<div class="text-center">
<button id="faqButton" class="btn btn-custom">View FAQ</button>
</div>
</div>
<div class="faq-section" id="faqSection">
<h2 class="mb-4">FAQs</h2>
<div class="faq-question" onclick="toggleAnswer('faq1')">
What is SwapReads.com?
</div>
<div class="faq-answer" id="faq1">
SwapReads.com is a platform that connects users globally to exchange books, making reading more accessible and sustainable.
</div>
<div class="faq-question" onclick="toggleAnswer('faq2')">
How does the book swapping process work?
</div>
<div class="faq-answer" id="faq2">
Users can list their books and browse other users' books. They can then initiate swaps directly through the platform.
</div>
<div class="faq-question" onclick="toggleAnswer('faq3')">
Is there a fee to use SwapReads.com?
</div>
<div class="faq-answer" id="faq3">
No, using SwapReads.com for swapping books is free. Users only need to cover shipping costs if applicable.
</div>
<div class="faq-question" onclick="toggleAnswer('faq4')">
How do I create an account?
</div>
<div class="faq-answer" id="faq4">
You can create an account by clicking on the "Sign Up" button on the homepage and filling out the registration form.
</div>
<div class="faq-question" onclick="toggleAnswer('faq5')">
What types of books can I swap?
</div>
<div class="faq-answer" id="faq5">
You can swap any book, including novels, textbooks, and children's books, as long as they are in good condition.
</div>
<div class="faq-question" onclick="toggleAnswer('faq6')">
How do I find books to swap?
</div>
<div class="faq-answer" id="faq6">
Use the search feature on the platform to find specific titles or browse categories to discover new books.
</div>
<div class="faq-question" onclick="toggleAnswer('faq7')">
What if the book I receive is damaged?
</div>
<div class="faq-answer" id="faq7">
If you receive a damaged book, you can report the issue through our support team, and we will assist you in resolving it.
</div>
<div class="faq-question" onclick="toggleAnswer('faq8')">
Can I swap e-books?
</div>
<div class="faq-answer" id="faq8">
Currently, SwapReads.com focuses on physical books. E-book swapping is not supported at this time.
</div>
<div class="faq-question" onclick="toggleAnswer('faq9')">
How do I communicate with other users?
</div>
<div class="faq-answer" id="faq9">
You can send private messages to other users through the platform to discuss swaps or ask questions.
</div>
<div class="faq-question" onclick="toggleAnswer('faq10')">
What should I do if I forget my password?
</div>
<div class="faq-answer" id="faq10">
Click on the "Forgot Password?" link on the login page, and follow the instructions to reset your password.
</div>
</div>
<div class="mt-5 section-2">
<h2 class="mb-4">Need More Help?</h2>
<p>
If you couldn't find the answer to your question in our FAQ, please
don't hesitate to contact our support team.
</p>
<div class="text-center">
<a href="/index.html#contact" class="btn btn-custom"
>Contact Support</a
>
</div>
</div>
<div class="mt-5 section-3">
<h2 class="mb-4">You Can Also Contact:</h2>
<ul class="contact-card">
<li>
<p class="card-title phone-title">
<lord-icon
class="invert-col"
src="https://cdn.lordicon.com/srsgifqc.json"
trigger="hover"
style="width: 20px; height: 20px"
></lord-icon>
Phone:
</p>
<br />
<a href="tel:1234567890" class="card-link">+91 9124421980</a>
</li>
<li>
<p class="card-title email-title">
<lord-icon
class="invert-col"
src="https://cdn.lordicon.com/xtzvywzp.json"
trigger="hover"
style="width: 20px; height: 20px"
></lord-icon>
Email:
</p>
<br />
<a href="mailto:support@support.com" class="card-link"
>support@swapreads.com</a
>
</li>
</ul>
</div>
<div class="mt-5 section-4">
<h2 class="mb-4">If Your Issue is Resolved</h2>
<p>Let us know your feedback.</p>
<div class="text-center">
<a href="/index.html#rate-us" class="btn btn-custom">Feedback</a>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__addr">
<h1 class="footer__logo"><img src="https://swapreadsconnect.netlify.app/assets/images/final.png" alt="" style="height: 180px;"></h1>
<h2>Contact</h2>
<address>
5684569445 SwapReads<br>
<a class="footer__btn" href="mailto:example@gmail.com">Email Us</a>
</address>
</div>
<ul class="footer__nav">
<li class="nav__item">
<h2 class="nav__title">Other</h2>
<ul class="nav__ul">
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#">About</a>
</li>
<li>
<a href="#">Contact US</a>
</li>
</ul>
</li>
<li class="nav__item nav__item--extra">
<h2 class="nav__title">Explore</h2>
<ul class="nav__ul nav__ul--extra">
<li>
<a href="#">Inspiring Biography</a>
</li>
<li>
<a href="#">Laugh Out Loud Comedy</a>
</li>
<li>
<a href="#">Intriguing Mysteries </a>
</li>
<li>
<a href="#">Romance</a>
</li>
<li>
<a href="#">Horror</a>
</li>
<li>
<a href="#">Classic Literature</a>
</li>
</ul>
</li>
<li class="nav__item">
<h2 class="nav__title">Legal</h2>
<ul class="nav__ul">
<li>
<a href="#">Privacy Policy</a>
</li>
<li>
<a href="#">Terms of Use</a>
</li>
<li>
<a href="#"></a>
</li>
</ul>
</li>
</ul>
<div class="legal">
<p>© 2024 Pranjal. All rights reserved.</p>
<div class="legal__links">
<span>Made with <span class="heart">♥</span> SwapReads</span>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://cdn.lordicon.com/libs/mssddfmo/lord-icon-2.1.0.js"></script>
<script>
$(document).ready(function () {
$("#helpButton").click(function () {
alert(
"Our support team has been notified. We will contact you shortly!"
);
});
});
$(document).ready(function () {
$("#faqButton").click(function () {
$("#faqSection").toggle(); // Show or hide the FAQ section
});
});
function toggleAnswer(faqId) {
$("#" + faqId).toggle(); // Toggle visibility of the specific answer
}
</script>
<script>
// Coordinates for the cursor
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
// Colors for the circles
const colors = [
"#ffb56b", "#fdaf69", "#f89d63", "#f59761", "#ef865e", "#ec805d",
"#e36e5c", "#df685c", "#d5585c", "#d1525c", "#c5415d", "#c03b5d",
"#b22c5e", "#ac265e", "#9c155f", "#950f5f", "#830060", "#7c0060",
"#680060", "#60005f", "#48005f", "#3d005e"
];
// Assign colors and initial position to each circle
circles.forEach(function (circle, index) {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
// Update the coordinates when the mouse moves
window.addEventListener("mousemove", function (e) {
coords.x = e.clientX;
coords.y = e.clientY;
});
// Animation function to move the circles
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
// Update the position and scale of each circle
circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;
circle.x = x;
circle.y = y;
// Get the next circle in the sequence
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
// Repeat the animation
requestAnimationFrame(animateCircles);
}
// Start the animation
animateCircles();
</script>
</body>
</html>