forked from anuragverma108/SwapReads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
books.html
1687 lines (1450 loc) · 54.5 KB
/
books.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">
<title>SwapReads</title>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<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/MenuClick.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<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>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/tailwind.min.css" />
<link href="https://fonts.googleapis.com/css?family=Work+Sans:200,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="./assets/css/styles.css">
<script src="./assets/js/rateUsModal.js" defer></script>
<script src="https://cdn.lordicon.com/lordicon.js"></script>
<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;
}
.nav-toggle-btn {
position: absolute;
left: 0;
top: 25%;
}
#book-search {
border: 4px solid white;
border-radius: 70px;
color: black;
padding: 20px;
font-size: 20px;
color: rgb(0, 0, 0);
box-shadow: 4px 4px 14px rgba(185, 182, 182, 0.892);
background-color: white;
font-size: 2rem;
}
#book-search::placeholder {
color: black;
}
#text {
position: relative;
}
#store {
display: flex;
direction: row;
justify-content: flex-end;
align-items: center;
}
#book-search:hover {
box-shadow: 4px 4px 14px #A30F17;
}
</style>
</head>
<script src="https://unpkg.com/scrollreveal"></script>
<script src="./assets/js/faq.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<!-- Swiper CSS -->
<link rel="stylesheet" href="assets/css/swiper-bundle.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/test-style.css">
<body>
<style>
.error-message{
font-size: 20px;
text-align: center;
margin-top: 10%;
width: 100%;
height: 300px;
}
.action {
position: fixed;
top: 20px;
right: 30px;
}
.action .profile {
position: relative;
width: 60px;
top: -40px;
right: 180px;
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: 6px;
}
.navbar-list {
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 only screen and (max-width:600px) {
.logopic {
display: none;
}
}
.navbar-item {
margin-top: 10px;
/* Increase the top margin of each item */
}
/* For large screens (desktops) */
@media (min-width: 1024px) {
.navbar-list {
justify-content: center;
}
.logopic {
width: 12rem; /* Decrease the logo size */
margin: 0 1.2rem;
}
.navbar-item {
margin: 0 0.5rem;
}
}
/* For tablets and medium screens */
@media (max-width: 1024px) {
.navbar-list {
flex-wrap: wrap;
justify-content: center;
}
.logopic {
width: 10rem; /* Adjust the logo size for smaller screens */
margin: 0 1rem;
}
.navbar-item {
margin: 0 0.8rem; /* Adjust the margin for tablet size */
font-size: 0.9rem;
}
.header {
height: 70px;
margin-top: 6vh;
}
}
/* For small screens (mobiles) */
@media (max-width: 768px) {
.header {
position: relative; /* Change from absolute to relative */
left: 0; /* Remove the left offset */
transform: none; /* Remove the translate */
margin-top: 0; /* Adjust margin to fit better */
height: 60px; /* Adjust height for smaller screens */
}
.navbar-list {
flex-direction: column; /* Stack the navbar items vertically */
align-items: center;
padding: 10px;
}
.logopic {
width: 8rem; /* Reduce logo size for mobile */
margin: 0;
}
.navbar-item {
margin: 5px 0; /* Reduce margin between items */
font-size: 0.8rem; /* Smaller font size for mobile */
}
}
/* For very small screens */
@media (max-width: 480px) {
.header {
position: relative; /* Ensure proper positioning */
left: 0;
transform: none;
margin-top: 0; /* Remove vertical margin */
height: 50px; /* Adjust height */
}
.navbar-list {
flex-direction: column; /* Keep items stacked */
align-items: center;
}
.logopic {
width: 6rem;
}
.navbar-item {
margin: 5px 0;
font-size: 0.75rem;
}
}
body.dark-mode {
background-color: #121212;
color: #ffffff;
background-image: url('./assets/images/darkmode_bg.png'); /* Add your dark mode image */
background-size: cover; /* Ensures the image covers the entire background */
background-position: center; /* Centers the background image */
background-repeat: no-repeat; /* Prevents the image from repeating */
}
.logoo {
display: flex;
align-items: center;
justify-content: center;
font-size: 2em;
color: maroon; /* Black text color */
font-weight: bold;
margin-top: 30px;
text-decoration: none;
}
</style>
<header class="header header-anim" data-header style="height: 80px; margin-top: 8vh; position: absolute; left: 50%; transform: translate(-50%, -50%); width: 100%; z-index: 1000;">
<!-- 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>
<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="container" style="padding-left: 0; width: 100%; text-align: center;">
<div style="width: 100%;">
<nav class="navbar nav_activated" data-navbar style="width: 100%;">
<a href="#home" onclick="lenis.scrollTo('#home');" class="logo" style="display:flex; justify-content: center;">
<img src="./assets/images/final.png" alt="" class="logopic"
style="width:0.1px;opacity: 0;" />
</a>
<ul class="navbar-list" style="width: 100%; display: flex; justify-content: center;">
<a href="index.html" onclick="lenis.scrollTo('index.html');" class="logo" style="display:flex; justify-content: center;">
<img src="./assets/images/final.png" class="logopic" style="width: 15rem; margin:0px 0px 0px 1.8rem;">
</a>
<li class="navbar-item" style="list-style: none; margin: 0 1rem;">
<a href="index.html#home" onclick="lenis.scrollTo('#home')" class="navbar-link" data-nav-link>
<lord-icon
src="https://cdn.lordicon.com/qeltvbrs.json"
trigger="hover"
colors="primary:#e88c30,secondary:#a30f17"
style="width:25px;height:25px">
</lord-icon> Home</a>
</li>
<li class="navbar-item" style="list-style: none; margin: 0 1rem;">
<a href="index.html#benefits" onclick="lenis.scrollTo('#benefits')" class="navbar-link"
data-nav-link><lord-icon
src="https://cdn.lordicon.com/jibxifeu.json"
trigger="hover"
state="hover-up"
colors="primary:#a30f17,secondary:#e88c30"
style="width:25px;height:25px">
</lord-icon>Benefits</a>
</li>
<li class="navbar-item" style="list-style: none; margin: 0 1rem;">
<a href="index.html#genre" onclick="lenis.scrollTo('#genre')" class="navbar-link"
data-nav-link> <lord-icon
src="https://cdn.lordicon.com/bhmovrlt.json"
trigger="hover"
state="morph-open"
colors="primary:#a30f17,secondary:#e88c30"
style="width:25px;height:25px">
</lord-icon> Genre</a>
</li>
<li class="navbar-item" style="list-style: none; margin: 0 1rem;">
<a href="#" onclick="openRateUsModal(); return false;" class="navbar-link"> <lord-icon
src="https://cdn.lordicon.com/jxjfjyri.json"
trigger="morph"
stroke="bold"
state="morph-select"
colors="primary:#eeaa66,secondary:#e88c30"
style="width:25px;height:25px">
</lord-icon>Rate Us</a>
</li>
<li class="navbar-item" style="list-style: none; margin: 0 1rem;">
<a href="index.html#contact" onclick="lenis.scrollTo('#contact')" class="navbar-link"
data-nav-link><i class="ri-customer-service-2-fill"></i> <img src="./assets/images/telephone.png" height="25px" width="25px"/> Contact</a>
</li>
<li class="navbar-item" id="login-signup-link" style="list-style: none; margin: 0 1rem;">
<a href="./assets/html/login.html" class="navbar-link"> <lord-icon
src="https://cdn.lordicon.com/xfzuyvam.json"
trigger="morph"
state="morph-group"
colors="primary:#a30f17,secondary:#e88c30"
style="width:25px;height:25px">
</lord-icon>Login/Signup</a>
</li>
<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>
</ul>
</nav>
</div>
</header>
<script src="http://translate.google.com/translate_a/element.js?cb=loadGoogleTranslate"></script>
<script>
document.getElementById("more-link").addEventListener("click", function (event) {
event.preventDefault(); // Prevent the default behavior of the link
const dropdownMenu = document.getElementById("dropdown-menu");
dropdownMenu.classList.toggle("active"); // Toggle the visibility of the dropdown menu
});
</script>
<!-- <script>
function loadGoogleTranslate() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_element');
}
</script> -->
</div>
</header>
</div>
<main>
<style>
.work-sans {
font-family: 'Work Sans', sans-serif;
}
#menu-toggle:checked+#menu {
display: block;
}
.hover\:grow {
transition: all 0.3s;
transform: scale(1);
}
.hover\:grow:hover {
transform: scale(1.02);
}
</style>
<script>
document.addEventListener('DOMContentLoaded', function() {
const searchInput = document.getElementById('book-search');
const allBooks = document.querySelectorAll('.flex.flex-col');
const parentElement = document.getElementById('books-container');
let noBooksMessage;
searchInput.addEventListener('input', function() {
const searchTerm = searchInput.value.toLowerCase();
var count = 0;
allBooks.forEach(book => {
const title = book.querySelector('p').textContent.toLowerCase();
if (title.includes(searchTerm)) {
count++;
book.style.display = 'block'; // Show matching book
} else {
book.style.display = 'none'; // Hide non-matching book
}
});
// Showing No books found if none of the books match
if(count == 0){
if(!noBooksMessage){
noBooksMessage = document.createElement("p");
noBooksMessage.classList.add("error-message")
noBooksMessage.textContent = "No books Found ";
parentElement.appendChild(noBooksMessage);
}
}
else if(noBooksMessage){
noBooksMessage.remove();
noBooksMessage = null;
}
});
});
</script>
<style>
#chaps {
margin-top: 150px; /* Adjust the margin-top value as needed */
}
</style>
<section class="section chapters" id="chapters">
<div class="container w-full mx-auto flex flex-col" id="chaps">
<!-- <p class="section-subtitle"></p> -->
<h2 class="h2 section-title has-underline" style="margin-bottom: 50px;">
Explore New Worlds
<span class="span has-before"></span>
</h2>
<ul class="grid grid-cols-3 justify-center">
<li>
<div class="chapter-card" style="height: 550px;">
<h3 class="h3 card-title"> "Fall in love on every page"</h3>
<p class="card-subtitle mt-20 italic">Love, One Page at a Time</p>
<p class="card-text mt-12">
Discover stories that tug at your heartstrings and immerse yourself in a world where every page whispers
romance. Whether it's a classic love story or a modern-day fairytale, each book opens a door to
unforgettable emotions. Swap and find your next literary soulmate today!
<br><br>
As you turn the pages, you’ll find pieces of yourself in these stories, reminding you that love isn’t just found—it’s lived.
</p>
</div>
</li>
<li>
<div class="chapter-card" style="height: 550px;">
<h3 class="h3 card-title">"Escape Reality, Embrace Stories"</h3>
<p class="card-subtitle italic">Leave the Ordinary Behind</p>
<p class="card-text mt-10">
Take a break from the ordinary and step into the extraordinary. Let books transport you into realms
where magic is real, heroes rise, and challenges are overcome. Explore our collection, swap your
favorites, and find stories that make your imagination soar.
<br><br>
Books are a soothing retreat when reality becomes too demanding.
</p>
</div>
</li>
<li>
<div class="chapter-card" style="height: 550px;">
<h3 class="h3 card-title">"Unlock New Worlds, One Chapter at a Time"</h3>
<p class="card-subtitle italic">Adventure Awaits in Every Chapter</p>
<p class="card-text mt-10">
Books are portals to adventures waiting to be explored—journey through ancient kingdoms, futuristic
landscapes, or distant galaxies. With each turn of the page, you’ll uncover new cultures, ideas, and
perspectives. Dive in and experience the thrill of discovery, one book at a time!
<br><br>
Adventure is waiting just one page away, and the best part is that your next thrill lies in a book swap
</p>
</div>
</li>
</ul>
</div>
</section>
<!--THE BOOKS-->
<div class="container mx-auto flex items-center flex-wrap pt-4 pb-12" id="books-container">
<nav id="store" class="w-full z-30 top-0 px-6 py-1">
<input type="text" id="book-search" placeholder="Search books..." class="px-20 py-2 border border-gray-300 rounded-md mb-4 outline-none mt-[20px] border-b-gray-400 border-b-[1px] ">
<div class="w-full container mx-auto flex flex-wrap items-center justify-between mt-0 px-2 py-3" style="width:24px; height: 24px;">
<div class="flex items-center justify-end" id="store-nav-content" style="position: absolute; right: 20%">
<a class="pl-3 inline-block no-underline hover:text-black" href="#">
<svg class="fill-current hover:text-black" xmlns="http://www.w3.org/2000/svg" width="26" height="26"
viewBox="0 0 24 24">
<path d="M7 11H17V13H7zM4 7H20V9H4zM10 15H14V17H10z" />
</svg>
</a>
<a class="pl-3 inline-block no-underline hover:text-black" href="#">
<svg class="fill-current hover:text-black" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24">
<path
d="M10,18c1.846,0,3.543-0.635,4.897-1.688l4.396,4.396l1.414-1.414l-4.396-4.396C17.365,13.543,18,11.846,18,10 c0-4.411-3.589-8-8-8s-8,3.589-8,8S5.589,18,10,18z M10,4c3.309,0,6,2.691,6,6s-2.691,6-6,6s-6-2.691-6-6S6.691,4,10,4z" />
</svg>
</a>
</div>
</div>
</nav>
<!--books start here-->
<div class="w-full md:w-1/3 xl:w-1/4 p-6 flex flex-col">
<a href="#">
<img class="hover:grow hover:shadow-lg" src="assets\images\genres\1.jpg">
<div class="pt-3 flex items-center justify-between">
<p class="">The RomCom Agenda</p>
<svg class="heart-icon h-6 w-6 fill-current text-white-500 hover:text-black"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
</div>
<p class="pt-1 text-gray-900">£9.99</p>
</a>
</div>
<div class="w-full md:w-1/3 xl:w-1/4 p-6 flex flex-col">
<a href="#">
<img class="hover:grow hover:shadow-lg" src="assets\images\genres\9.jpg">
<div class="pt-3 flex items-center justify-between">
<p class="">The Big Four</p>
<svg class="heart-icon h-6 w-6 fill-current text-white-500 hover:text-black"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
</div>
<p class="pt-1 text-gray-900">£9.99</p>
</a>
</div>
<div class="w-full md:w-1/3 xl:w-1/4 p-6 flex flex-col">
<a href="#">
<img class="hover:grow hover:shadow-lg" src="assets\images\genres\10.jpg">
<div class="pt-3 flex items-center justify-between">
<p class="">Atomic Habits</p>
<svg class="heart-icon h-6 w-6 fill-current text-white-500 hover:text-black"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
</div>
<p class="pt-1 text-gray-900">£9.99</p>
</a>
</div>
<div class="w-full md:w-1/3 xl:w-1/4 p-6 flex flex-col">
<a href="#">
<img class="hover:grow hover:shadow-lg" src="assets\images\genres\4.jpg">
<div class="pt-3 flex items-center justify-between">
<p class="">The Forty Rules of Love</p>
<svg class="heart-icon h-6 w-6 fill-current text-white-500 hover:text-black"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
</div>
<p class="pt-1 text-gray-900">£9.99</p>
</a>
</div>
<div class="w-full md:w-1/3 xl:w-1/4 p-6 flex flex-col">
<a href="#">
<img class="hover:grow hover:shadow-lg" src="assets\images\genres\5.jpeg">
<div class="pt-3 flex items-center justify-between">
<p class="">Silver Linings Playbook</p>
<svg class="heart-icon h-6 w-6 fill-current text-white-500 hover:text-black"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
</div>
<p class="pt-1 text-gray-900">£9.99</p>
</a>
</div>
<div class="w-full md:w-1/3 xl:w-1/4 p-6 flex flex-col">
<a href="#">
<img class="hover:grow hover:shadow-lg" src="assets\images\genres\6.jpg">
<div class="pt-3 flex items-center justify-between">
<p class="">2 States</p>
<svg class="heart-icon h-6 w-6 fill-current text-white-500 hover:text-black"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
</div>
<p class="pt-1 text-gray-900">£9.99</p>
</a>
</div>
<div class="w-full md:w-1/3 xl:w-1/4 p-6 flex flex-col">
<a href="#">
<img class="hover:grow hover:shadow-lg" src="assets\images\genres\7.jpg">
<div class="pt-3 flex items-center justify-between">
<p class="">A Man Called Ove</p>
<svg class="heart-icon h-6 w-6 fill-current text-white-500 hover:text-black"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
</div>
<p class="pt-1 text-gray-900">£9.99</p>
</a>
</div>
<div class="w-full md:w-1/3 xl:w-1/4 p-6 flex flex-col">
<a href="#">
<img class="hover:grow hover:shadow-lg" src="assets\images\genres\8.jpg">
<div class="pt-3 flex items-center justify-between">
<p class="">The Fault In Our Stars</p>
<svg class="heart-icon h-6 w-6 fill-current text-white-500 hover:text-black"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
</div>
<p class="pt-1 text-gray-900">£9.99</p>
</a>
</div>
</div>
</ul>
</li>
</ul>
</div>
</div>
</section>
</article>
</main>
</br>
<footer class="ff" style="font-size: 18px;">
<div class="foot-top">
<div class="foot-left">
<div class="desc">
<div class="SwapReads"><a href="#" class="logoo">SwapReads</a></div>
<div>
<p style="text-align: justify; color: black; font-size: 16px;" class="description">
SwapReads.com is the ultimate destination for book lovers seeking to swap and discover new literary gems.
Connect with fellow enthusiasts, exchange your favorite reads, and embark on exciting new adventures in
the world of literature—all on one convenient platform. Join us and dive into a universe of endless possibilities!
</p>
<style>
.dark-mode .logo{
color: maroon !important;
}
.dark-mode .description{
color: white !important;
}
</style>
</div>
</div>
</div>
<div class="foot-middle">
<h2 style="margin-left: 2rem; margin-top: 2.75rem; font-size: 28px; font-weight: 700;" id="quicklinks-color">Quick Links</h2>
<style>
.dark-mode #quicklinks-color{
color: maroon !important;
}
.dark-mode #quicklinks ul li a{
color: white !important;
}
</style>
<div id="quicklinks" style="display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1rem; ">
<div class="linkscolor">
<ul style="list-style: none; padding: 0;">
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem; ">
<i class="fas fa-home" style="color: #374151; margin-right: 4px;"></i>
<a href="./index.html#home" style="color: #374151; text-decoration: none;">Home</a>
</li>
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-book" style="color: #374151; margin-right: 4px;"></i>
<a href="./index.html#benefits" style="color: #374151; text-decoration: none;">Benefits</a>
</li>
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-globe" style="color: #374151; margin-right: 4px;"></i>
<a href="./index.html#chapters" style="color: #374151; text-decoration: none;">Literary</a>
</li>
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-dollar-sign" style="color: #374151; margin-right: 4px;"></i>
<a href="./index.html#pricing" style="color: #374151; text-decoration: none;">Pricing</a>
</li>
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-bookmark" style="color: #374151; margin-right: 4px;"></i>
<a href="./assets/html/book_recommend.html" style="color: #374151; text-decoration: none;">Recommend</a>
</li>
</ul>
</div>
<div>
<ul style="list-style: none; padding: 0;">
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-exchange-alt" style="color: #374151; margin-right: 4px;"></i>
<a href="./assets/html/booklistswap.html" style="color: #374151; text-decoration: none;">Swap</a>
</li>
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-file-pdf" style="color: #374151; margin-right: 4px;"></i>
<a href="./assets/html/freeBooks.html" style="color: #374151; text-decoration: none;">E-Book</a>
</li>
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-info-circle" style="color: #374151; margin-right: 4px;"></i>
<a href="./assets/html/about.html" style="color: #374151; text-decoration: none;">About</a>
</li>
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-envelope" style="color: #374151; margin-right: 4px;"></i>
<a href="./index.html#contact" style="color: #374151; text-decoration: none;">Contact</a>
</li>
<li class="foot-quick" style="color: #374151; display: flex; align-items: center; margin-bottom: 0.75rem;">
<i class="fas fa-question-circle" style="color: #374151; margin-right: 4px;"></i>
<a href="./index.html#faqq" style="color: #374151; text-decoration: none;">FAQ</a>
</li>
</ul>
</div>
</div>
</div>
<style>
.social-icons input[type="email"]
{
border: 0.2rem solid #ccc; /* Gray border */
border-radius: 0.4rem; /* Rounded corners */
padding: 1rem; /* Inner padding */
font-size: 1.6rem; /* Font size */
}
#confirmationMessage
{
margin-left: 5rem;
font-size: 2.3rem;
color: green;
}
/* for small screen */
@media (max-width: 768px)
{
#confirmationMessage
{
margin-left: 0;
text-align: center;
font-size: 1.8rem;