forked from anuragverma108/SwapReads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
revitalize.html
1632 lines (1413 loc) · 55.7 KB
/
revitalize.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
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Cost Efficient - SwapReads</title>
<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicon_package_v0.16/apple-touch-icon.png">
<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="manifest" href="./assets/favicon_package_v0.16/site.webmanifest">
<link rel="mask-icon" href="./assets/favicon_package_v0.16/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="./assets/css/litrary_realms.css">
<link rel="stylesheet" href="./assets/font-6/css/all.css">
<link rel="stylesheet" href="header.css">
<link rel="stylesheet" href="./assets/css/MenuClick.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Poppins:wght@400;500;600&display=swap"
rel="stylesheet">
<link rel="preload" as="image" href="./assets/images/hero-banner.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdn.jsdelivr.net/gh/studio-freight/[email protected]/bundled/lenis.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="./assets/js/rateUsModal.js" defer></script>
<script src="https://unpkg.com/scrollreveal"></script>
<script src="./assets/js/faq.js"></script>
<script src="./assets/js/tilt.js"></script>
<script src="./assets/js/scroll.js"></script>
<link rel="stylesheet" href="./scrollbar.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="modals(privacy policy).css">
<!-- Swiper CSS -->
<link rel="stylesheet" href="assets/css/swiper-bundle.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/test-style.css">
<!-- Preloader CSS-->
<link rel="stylesheet" href="assets/css/preloader.css">
<script src="https://cdn.lordicon.com/lordicon.js"></script>
<script src="./assets/js/preloader.js" defer></script>
<script src="./script.js"></script>
<style>
swiper-container {
width: 100%;
height: 75%;
}
/* Theme Change Button Style */
@media (max-width: 990px) {
.switch-container {
margin-top: 3.2rem;
margin-right: -0.5rem;
}
}
@media (max-width: 575px) {
.switch-container {
margin-top: 2.4rem;
margin-right: -0.5rem;
}
/* Navbar Toggle Button placed in center */
.nav-toggle-btn{
margin-top: -2rem;
margin-left: 2.2rem;
}
}
/* testimonal card fix by harshcodesit */
swiper-slide {
text-align: center;
font-size: 15;
background: transparent;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
}
/* ########### */
swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
color: hsl(357, 37%, 62%);
}
swiper-container {
margin: auto;
}
.flip-card {
background-color: transparent;
width: 400px;
height: 370px;
/* margin: 2px; */
/* border: 1px solid #f1f1f1; */
perspective: 1000px;
/* Remove this if you don't want the 3D effect */
}
/* This container is needed to position the front and back side */
.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.7s;
transform-style: preserve-3d;
padding: 10px;
}
/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
/* Position the front and back side */
.flip-card-front,
.flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
/* Safari */
backface-visibility: hidden;
}
/* Style the front side (fallback if image is missing) */
.flip-card-front {
background-color: white;
color: black;
}
/* Style the back side */
.flip-card-back {
background-color: white;
color: black;
transform: rotateY(180deg);
}
/* Light mode styles */
.light-mode .readmore-anim {
font-size: 18px;
letter-spacing: 0;
color: hsl(357, 37%, 62%);
}
.light-mode .readmore-anim:hover {
color: red;
letter-spacing: 1px;
transition: ease-in-out;
}
.cta1{
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
margin: auto;
padding: 20px 24px;
color: hsl(357, 37%, 62%);
font-family: Avenir, sans-serif;
text-decoration: none;
transition: all 0.2s ease;
&:before {
content: "";
position: absolute;
top: 27px;
left: 0;
display: block;
border-radius: 28px;
background: rgba(255, 171, 157, 0.5);
width: 56px;
height: 56px;
transition: all 0.3s ease;
}
span {
position: relative;
font-size: 8px;
line-height: 18px;
font-weight: 900;
letter-spacing: 0.25em;
text-transform: uppercase;
vertical-align: middle;
color: var(--charcoal);
}
svg {
position: relative;
top: 27px;
margin-left: 5px;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
stroke: hsl(357, 37%, 62%);
stroke-width: 2;
transform: translateX(-5px);
transition: all 0.3s ease;
}
&:hover {
&:before {
width: 9%;
background: #ffab9d;
}
svg {
transform: translateX(0);
}
.active {
transform: scale(0.96);
}
}
}
.cta {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
margin: auto;
padding: 20px 24px;
color: hsl(357, 37%, 62%);
font-family: Avenir, sans-serif;
text-decoration: none;
transition: all 0.2s ease;
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
display: block;
border-radius: 28px;
background: rgba(255, 171, 157, 0.5);
width: 56px;
height: 56px;
transition: all 0.3s ease;
}
span {
position: relative;
font-size: 8px;
line-height: 18px;
font-weight: 900;
letter-spacing: 0.25em;
text-transform: uppercase;
vertical-align: middle;
color: var(--charcoal);
}
svg {
position: relative;
top: 0;
margin-left: 5px;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
stroke: hsl(357, 37%, 62%);
stroke-width: 2;
transform: translateX(-5px);
transition: all 0.3s ease;
}
&:hover {
&:before {
width: 9%;
background: #ffab9d;
}
svg {
transform: translateX(0);
}
.active {
transform: scale(0.96);
}
}
}
/* Dark Mode Styles */
.dark-mode .readmore-anim {
font-size: 18px;
letter-spacing: 0;
color: hsl(357, 37%, 62%);
}
.readmore-anim .icon:hover {
color: red;
}
.dark-mode .readmore-anim:hover {
color: red;
letter-spacing: 1px;
transition: ease-in-out;
}
.dark-mode .header.scrolled {
background-color: #232222; /* Change to a darker color when scrolled */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
}
#cookie-consent {
position: fixed;
bottom: 10px;
left: 10px;
background-color: #f1f1f1;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 300px;
height: fit-content;
z-index: 100;
border-radius: 10px;
margin-bottom: 5px;
margin: 20px;
border-right: 4px solid transparent;
border-bottom: 4px solid transparent;
transition: border-color 0.3s;
}
#cookie-consent:hover {
border-right-color: #A30F17;
border-bottom-color: #A30F17;
}
#cookie-consent p {
color: black; /* Make the text black for better visibility */
text-align: center; /* Center align the text */
}
.menu {
display: none;
position: absolute;
top: 80px;
right: 0;
background-color: white;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
width: 200px;
z-index: 1000;
margin-right:10px;
}
.menu.active {
display: block;
}
.menu h3 {
padding: 10px;
text-align: center;
}
.menu ul {
list-style: none;
padding: 10px 0;
}
.menu ul li {
padding: 10px;
display: flex;
align-items: center;
}
.menu ul li img {
width: 20px;
height: 20px;
margin-right: 10px;
}
.profile img {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #fff;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.accept-cookies,
.reject-cookies {
width: 260px; /* Decrease the button width */
height: 35px; /* Decrease the button height */
color: white;
background-color: #A30F17;
border: none;
border-radius: 5px; /* Add rounded corners */
cursor: pointer;
transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, color 0.3s; /* Smooth transition for effects */
}
.reject-cookies {
margin-top: 10px;
}
.accept-cookies:hover,
.reject-cookies:hover {
transform: scale(0.95);
box-shadow: 0 0 15px rgb(249, 212, 212); /* Reduce the shadow size */
}
.accept-cookies:hover {
background-color: rgb(245, 202, 202);
color: #A30F17;
}
.reject-cookies:hover {
background-color: rgb(250, 192, 192);
color: #A30F17;
}
#learn-more-link,
#show-less-link {
color: #A30F17;
text-decoration: none;
cursor: pointer;
font-size: 20px;
}
#learn-more-link:hover,
#show-less-link:hover {
text-decoration: underline;
}
#cookie-content {
display: none;
margin-top: 10px;
}
#back-to-top-container {
position: fixed;
}
/* Basic navbar styling */
.header {
position: fixed;
width: 100%;
top: 10;
z-index: 1000;
transition: top 0.3s;
}
/* Hide the navbar */
.header.hidden {
top: -93px; /* Adjust according to your header height */
}
/* Navbar styling when scrolled */
.header.scrolled {
background-color: #efefef; /* Change to a darker color when scrolled */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
}
* {
margin: 0;
padding: 0;
font-family: "Poppins", sans-serif;
}
body {
background: #ffccbc;
}
.action {
position: fixed;
top: 43px;
right: 83px;
}
.action .profile {
position: relative;
width: 60px;
height: 60px;
border-radius: 50%;
overflow: hidden;
cursor: pointer;
}
.action .profile img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.action .menu {
position: absolute;
top: 120px;
right: -10px;
padding: 10px 20px;
background: #fff;
width: 200px;
box-sizing: 0 5px 25px rgba(0, 0, 0, 0.1);
border-radius: 15px;
transition: 0.5s;
visibility: hidden;
opacity: 0;
}
.action .menu.active {
top: 80px;
visibility: visible;
opacity: 1;
}
.action .menu::before {
content: "";
position: absolute;
top: -5px;
right: 28px;
width: 20px;
height: 20px;
background: #fff;
transform: rotate(45deg);
}
.action .menu h3 {
width: 100%;
text-align: center;
font-size: 18px;
padding: 20px 0;
font-weight: 500;
color: #555;
line-height: 1.5em;
}
.action .menu h3 span {
font-size: 14px;
color: #cecece;
font-weight: 300;
}
.action .menu ul li {
list-style: none;
padding: 16px 0;
border-top: 1px solid rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
}
.action .menu ul li img {
max-width: 20px;
margin-right: 10px;
opacity: 0.5;
transition: 0.5s;
}
.action .menu ul li:hover img {
opacity: 1;
}
.action .menu ul li a {
display: inline-flex;
text-align: center;
padding-left: 5%;
font-weight: 300;
font-size: 19px;
text-decoration: none;
color: #555;
font-weight: 500;
transition: 0.5s;
}
.action .menu ul li:hover a {
color: #ff5d94;
font-size: 21px;
}
.hamburger{
display: none;
cursor: pointer;
position: absolute;
top: 24px;
left: 1.5%;
}
.line{
width: 36px;
height: 5px;
margin: 4px 4px;
background-color: rgb(240, 15, 15);
}
@media only screen and (max-width:1063px){
.nav{
flex-direction: column;
}
.header{
flex-direction: column;
height: 53.8rem;
transition: 0.55s all ease-out;
padding-top: 5px;
}
.navbar-item{
margin-right: 40px;
}
.navbar-list{
position: relative;
top: 200px;
}
.hamburger{
display: block;
}
.nav-h{
height: 78px;
width: 100vw;
}
.vis-h{
opacity: 0;
}
.logo img{
position: relative;
top: 17px;
left: 350px;
}
}
@media only screen and (max-width:990px){
.header{
height: 0;
}
.navbar-list{
top: 0;
}
.logo img{
top: -9px;
left: 50px;
}
}
@media (min-width: 990px){
.grid-list {
grid-template-columns: repeat(2, 1fr);
}
}
.chapter-card{
width: 30vw;
height: 400px;
}
.genre{
margin-top: 200px;
}
.light-mode .switch-container {
right: 140px;
top: 10px;
}
.switch-checkbox:checked + .switch-label .switch-button {
transform: translateX(13px);
/* background-color: #34495e; */
}
.ben {
color: var(--sonic-silver);
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
text-align: center;
}
.chapter-card:hover .ben{
color: #d26d6d;
}
</style>
</head>
<body>
<script>
document.addEventListener('DOMContentLoaded', function() {
const learnMoreLink = document.getElementById('learn-more-link');
const learnMoreContent = document.getElementById('learn-more-content');
// Add event listener to "Learn More" link
learnMoreLink.addEventListener('click', function(event) {
event.preventDefault();
learnMoreContent.style.display = 'block';
learnMoreLink.style.display = 'none';
});
});
</script>
<header class="header header-anim" data-header>
<div class="container" style="padding-left: 0;">
<div>
<nav class="navbar nav_activated" data-navbar>
<a href="#home" onclick="lenis.scrollTo('#home');" class="logo" style="display:flex;">
<img src="./assets/images/new_logo_banner_dark.png" alt="" class="logopic"
style=" width:0.1px;opacity: 0;" />
</a>
<ul class="navbar-list">
<img src="./assets/images/new_logo_banner_dark.png" class="logopic" style=" width: 200px;">
<li class="navbar-item">
<a href="index.html#home" onclick="lenis.scrollTo('#home')" class="navbar-link" data-nav-link><i
class="ri-home-fill"></i> Home</a>
</li>
<li class="navbar-item">
<a href="index.html#benefits" onclick="lenis.scrollTo('#benefits')" class="navbar-link"
data-nav-link><i class="ri-bar-chart-fill"></i> Benefits</a>
</li>
<li class="navbar-item">
<a href="index.html#genre" onclick="lenis.scrollTo('#genre')" class="navbar-link"
data-nav-link><i class="ri-bar-chart-fill"></i> Genre</a>
</li>
<li class="navbar-item">
<a href="#" onclick="openRateUsModal(); return false;" class="navbar-link">Rate Us</a>
</li>
<li class="navbar-item">
<a href="index.html#contact" onclick="lenis.scrollTo('#contact')" class="navbar-link"
data-nav-link><i class="ri-customer-service-2-fill"></i> Contact</a>
</li>
<li class="navbar-item" id="login-signup-link">
<a href="./assets/html/login.html" class="navbar-link">Login/Signup</a>
</li>
<li class="navbar-item dropdown" id="more-dropdown">
<a href="#" class="navbar-link" id="more-link">More
<svg class="dropdown-arrow" xmlns="http://www.w3.org/2000/svg" width="1.3em" height="1.3em"
viewBox="0 0 24 24">
<path fill="currentcolor"
d="m12 13.171l4.95-4.95l1.414 1.415L12 16L5.636 9.636L7.05 8.222z" />
</svg></a>
<div class="dropdown-menu" id="dropdown-menu">
<ul class="dropdown-menu-list">
<li class="dropdown-menu-item">
<a href="index.html#chapters" onclick="lenis.scrollTo('#chapters')"
class="navbar-link" data-nav-link><i class="ri-medal-fill"></i> Literary
Realms</a>
</li>
<li class="dropdown-menu-item">
<a href="index.html#pricing" onclick="lenis.scrollTo('#pricing')"
class="navbar-link" data-nav-link><i class="ri-price-tag-3-fill"></i>
Pricing</a>
</li>
<li class="dropdown-menu-item">
<a href="./assets/html/addremovebook.html" class="navbar-link">Booklist for
Swapping</a>
</li>
<li class="dropdown-menu-item">
<a href="./assets/html/book_recommend.html" class="navbar-link" data-nav-link>
<i class="ri-customer-service-2-fill"></i> Book Recommendation
</a>
</li>
<li class="dropdown-menu-item">
<a href="./assets/html/freeBooks.html" onclick="lenis.scrollTo('#E-books')"
class="navbar-link" data-nav-link><i class="ri-price-tag-3-fill"></i>Free
E-books</a>
</li>
<li class="dropdown-menu-item">
<a href="././read_later.html" class="navbar-link">Booklist for Swapping</a>
</li>
<li class="dropdown-menu-item">
<a href="./assets/html/about.html" class="navbar-link">About</a>
</li>
</ul>
</div>
</li>
<div class="action">
<div class="profile" onclick="menuToggle();">
<img id="profile-avatar" src="./assets/images/avatar1.jpg" />
</div>
<div class="menu">
<h3>XYZ<br /><span>Book Lover</span></h3>
<ul>
<li><img src="./assets/images/user.jpg" /><a href="/profile.html">My profile</a></li>
<li><img src="./assets/images/edit profile.jpg" /><a href="./assets/html/profileedit.html">Edit profile</a></li>
<li><img src="./assets/images/inbox.png" /><a href="#">Inbox</a></li>
<li><img src="./assets/images/settings.png" /><a href="#">Settings</a></li>
<li><img src="./assets/images/help.png" /><a href="/help.html">Help</a></li>
<li><img src="./assets/images/logout.png" /><a id="logout-btn">Logout</a></li>
</ul>
</div>
</div>
<script>
document.addEventListener("DOMContentLoaded", () => {
const savedAvatar = localStorage.getItem("selectedAvatar");
if (savedAvatar) {
document.getElementById("profile-avatar").src = `./assets/images/${savedAvatar}`;
}
});
function menuToggle() {
const toggleMenu = document.querySelector(".menu");
toggleMenu.classList.toggle("active");
}
document.addEventListener("click", function(event) {
const profile = document.querySelector(".profile");
const menu = document.querySelector(".menu");
if (!profile.contains(event.target) && !menu.contains(event.target)) {
menu.classList.remove("active");
}
});
let lastScrollTop = 0;
const header = document.querySelector('.header');
window.addEventListener('scroll', function() {
let scrollTop = window.pageYOffset || document.documentElement.scrollTop;
if (scrollTop > lastScrollTop) {
// Downscroll
header.style.transform = 'translateY(-120%)';
} else {
// Upscroll
header.style.transform = 'translateY(0)';
}
lastScrollTop = scrollTop;
});
</script>
</ul>
</nav>
</div>
<script src="http://translate.google.com/translate_a/element.js?cb=loadGoogleTranslate"></script>
<script>
function loadGoogleTranslate() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_element');
}
</script>
<div class="switch-container">
<input type="checkbox" id="switch" class="switch-checkbox">
<label for="switch" class="switch-label">
<div class="switch-button">
<span class="material-icons sun-icon">wb_sunny</span>
<span class="material-icons moon-icon">brightness_2</span>
</div>
</label>
</div>
</div>
</header>
<section class="genre" id="genre">
<h2 class="h2 section-title has-underline" style="margin-top: 15px;">
Revitalize Your Bookshelf
<span class="span has-before"></span>
</h2>
<div class="container">
<h2 class="h2 section-title has-underline" id="section-title1">
Swap reads
<span class="span has-before"></span>
</h2>
<ul class="grid-list">
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text">
<div class="ben">Curate a Rotating Collection</div>
Keep your collection fresh by curating a constantly rotating shelf of books. As you swap books on SwapReads, ensure your home library reflects your evolving tastes and interests.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text">
<div class="ben">Stay Engaged with New Genres</div>
Regularly swap out books that no longer pique your interest and explore new genres through swaps. This habit helps keep your reading experience diverse and exciting, ensuring you always have something new to enjoy.
</p>
</div>
</li>
</ul>
</div>
<div class="container">
<h2 class="h2 section-title has-underline" id="section-title1">
Maximizing Book Swapping on SwapReads
<span class="span has-before"></span>
</h2>
<ul class="grid-list">
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text">
<div class="ben">Create a Personalized Library</div>
Over time, tailor your personal library to reflect your unique preferences. By continuously swapping books, you'll build a collection that is personalized to your tastes, while keeping it fresh and varied.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text" >
<div class="ben">Building Your Book Collection
</div>
Explore SwapReads' extensive library to discover new titles and classics alike. Add books to your virtual shelf to showcase your collection and attract swap offers. Keep your wishlist updated with books you're eager to read, signaling to others what you're looking for and increasing your chances of successful swaps.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text" >
<div class="ben">Initiating Swaps</div>
Initiating swaps on SwapReads is simple and interactive. Browse through other users' collections or search for specific titles. When you find a book of interest, send a swap request detailing what you're offering in return. Engage in friendly communication to finalize the swap and expand your reading options.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text" >
<div class="ben">Rating and Reviewing</div>
After completing a swap, contribute to the community by rating and reviewing the books you've received. Your insights help others make informed decisions and build trust within the SwapReads community. Share your thoughts on the book's plot, characters, and overall reading experience. Participate in discussions and book reviews to foster connections and enrich the swapping experience for everyone involved.
</p>
</div>
</li>
</ul>
</div>
<div class="container">
<h2 class="h2 section-title has-underline" id="section-title1">
Budget-Friendly Reading Habits
<span class="span has-before"></span>
</h2>
<ul class="grid-list">
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text">
<div class="ben">Connecting Avid Readers Worldwide</div>
SwapReads is a platform that fosters a global community of book lovers. It enables users to exchange books, share reading experiences, and engage in literary discussions. Whether you’re into fiction, non-fiction, or niche genres, there’s a book swap waiting for you.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text" >
<div class="ben">Participating in Book Sales and Discounts</div>
Stay informed about book sales and discounts from retailers and online platforms. Follow publishers on social media, subscribe to newsletters, and join loyalty programs for exclusive offers. Utilize discount codes and seasonal promotions to maximize savings on your book purchases.
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text" >
<div class="ben">Exploring E-books</div>
Discover affordable reading options through e-books . Many platforms offer free or discounted titles, especially classics and indie publications. Subscribe to newsletters and follow platforms like Kindle and Audible for promotional offers.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle"></p>
<p class="card-text" >
<div class="ben">Secondhand Bookstores and Online Markets</div>
Find budget-friendly reads at secondhand bookstores and online marketplaces. Explore diverse selections and uncover hidden gems at discounted prices. Consider selling or trading books you've finished to refresh your collection economically.
</p>
</div>
</li>
</ul>
</div>