forked from anuragverma108/SwapReads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1557 lines (1175 loc) · 53.4 KB
/
index.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/style.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>
<script src="./assets/js/rateUsModal.js" defer></script>
</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">
<!-- Preloader CSS-->
<link rel="stylesheet" href="assets/css/preloader.css">
<script src="./assets/js/preloader.js" defer></script>
<body >
<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 id="preloader">
<div id="loader"></div>
</div>
<header class="header header-anim" data-header>
<div class="container">
<a href="#home" onclick="lenis.scrollTo('#home');" class="logo" style="display:flex;">
<img src="./assets/images/LogoPicLight.png" alt="" class="logopic" style=" width:0.1px;opacity: 0;"/>
</a>
<nav class="navbar" data-navbar>
<ul class="navbar-list">
<img src="assets/images/logo_whitebg.png" class="logopic" style=" width: 150px;">
<li class="navbar-item">
<a href="#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="#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="#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="#chapters" onclick="lenis.scrollTo('#chapters')" class="navbar-link" data-nav-link><i
class="ri-medal-fill"></i> Literary Realms</a>
</li>
<li class="navbar-item">
<a href="#pricing" onclick="lenis.scrollTo('#pricing')" class="navbar-link" data-nav-link><i
class="ri-price-tag-3-fill"></i> Pricing</a>
</li>
<li class="navbar-item">
<a href="#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">
<a href="#" onclick="openRateUsModal(); return false;" class="navbar-link">Rate Us</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" id="login-signup-link">
<a href="./assets/html/addremovebook.html" class="navbar-link">Booklist for Swapping</a>
</li>
<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>
</li>
</ul>
</nav>
<button class="nav-toggle-btn" aria-label="toggle menu" data-nav-toggler>
<ion-icon name="menu-outline" aria-hidden="true" class="open"></ion-icon>
<ion-icon name="close-outline" aria-hidden="true" class="close"></ion-icon>
</button>
</div>
</header>
<main>
<!-- Rate Us Modal Pop up -->
<div class="rate-us-modal-wrapper">
<div class="rate-us-modal">
<a onclick="closeRateUsModal()" class="home_button"></a>
<h1 class="rating_heading">Rate Us</h1>
<div class="star_rating">
<p>How was your experience?</p>
<button class="star">☆</button>
<button class="star">☆</button>
<button class="star">☆</button>
<button class="star">☆</button>
<button class="star">☆</button>
<p class="current_rating"> 0 of 5</p>
</div>
<button id="submit_rating" class="submit_button">Submit Rating</button>
</div>
</div>
<article>
<!-- Book Exchange Hub -->
<section class="section hero" id="home" aria-label="home">
<div class="container">
<div class="hero-content">
<p class="section-subtitle"> Let's Exchange Old Books and Discover New Stories Together!</p>
<h1 class="h1 hero-title">SwapReads.com - Where Books Find New Adventures!</h1>
<p class="section-text">
Join SwapReads.com, the ultimate online community for book enthusiasts! Create your profile, list your
favorite reads, and embark on literary journeys by swapping books with fellow passionate readers. Discover
a world where books find new adventures and readers connect through the joy of sharing stories.
</p>
</div>
<div class="hero-banner has-before" data-tilt="">
<img src="./assets/images/hero-banner.png" width="431" height="596"
alt="things i never said, a novel by claudia wilson" class="w-100">
<button class="play-btn" aria-label="play video" onclick="window.location.href='#'">
<ion-icon name="play-outline" aria-hidden="true"></ion-icon>
</button>
</div>
</div>
</section>
<!--
- #BENEFITS
-->
<section class="section benefits" id="benefits" aria-label="benefits">
<div class="container">
<div class="grid-list">
<li class="benefits-content">
<h2 class="h2 section-title">Unleash the Magic of Book Swapping!</h2>
<p class="section-text">"SwapReads.com - Where Every Book is a Portal to a New Adventure!"</p>
</li>
<li>
<div class="benefits-card has-before has-after">
<div class="card-icon">
<img src="./assets/images/benefits-1.svg" width="40" height="40" loading="lazy" alt="Experience">
</div>
<h3 class="h3 card-title">Diverse Literary Adventures</h3>
<p class="card-text">
Explore a vast array of genres and titles by exchanging books with our diverse community, opening
doors to new and exciting literary adventures.
</p>
<a href="#" class="btn-link">
<span class="span readmore-anim">Read more</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</div>
</li>
<li>
<div class="benefits-card has-before has-after">
<div class="card-icon">
<img src="./assets/images/benefits-2.svg" width="40" height="40" loading="lazy" alt="Motivation">
</div>
<h3 class="h3 card-title">Cost-Efficient Reading</h3>
<p class="card-text">
Save money on your reading habit by swapping books instead of purchasing new ones, making your reading
journey more economical and sustainable.
</p>
<br>
<a href="#" class="btn-link">
<span class="span readmore-anim">Read more</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</div>
</li>
<li>
<div class="benefits-card has-before has-after">
<div class="card-icon">
<img src="./assets/images/benefits-3.svg" width="40" height="40" loading="lazy" alt="Goals">
</div>
<h3 class="h3 card-title">Connect with Like-Minded Readers</h3>
<p class="card-text">
Build meaningful connections with fellow book enthusiasts, sharing recommendations, insights, and
forming a community bonded by a love for literature.
</p>
<a href="#" class="btn-link">
<span class="span readmore-anim">Read more</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</div>
</li>
<li>
<div class="benefits-card has-before has-after">
<div class="card-icon">
<img src="./assets/images/benefits-4.svg" width="40" height="40" loading="lazy" alt="Vision">
</div>
<h3 class="h3 card-title">Revitalize Your Bookshelf</h3>
<p class="card-text">
Keep your home library fresh and dynamic by constantly swapping books, ensuring a rotating collection
that reflects your evolving tastes and interests.
</p>
<br>
<a href="#" class="btn-link">
<span class="span readmore-anim">Read more</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</div>
</li>
<li>
<div class="benefits-card has-before has-after">
<div class="card-icon">
<img src="./assets/images/benefits-5.svg" width="40" height="40" loading="lazy" alt="Mission">
</div>
<h3 class="h3 card-title">Environmental Impact</h3>
<p class="card-text">
Contribute to eco-friendly practices by participating in book swaps, reducing the demand for new
prints and promoting a greener approach to reading.
</p>
<br>
<a href="#" class="btn-link">
<span class="span readmore-anim">Read more</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</div>
</li>
<li>
<div class="benefits-card has-before has-after">
<div class="card-icon">
<img src="./assets/images/benefits-6.svg" width="40" height="40" loading="lazy" alt="Strategy">
</div>
<h3 class="h3 card-title">Personalized Reading Experience</h3>
<p class="card-text">
Tailor your reading list to your preferences by selecting books from other users' collections,
creating a personalized and curated reading experience that suits you.
</p>
<a href="#" class="btn-link">
<span class="span readmore-anim">Read more</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</div>
</li>
</div>
</div>
</section>
<!-- Genre -->
<section class="genre" id="genre">
<div class="container">
<p class="section-subtitle">Genre</p>
<h2 class="h2 section-title has-underline">
Explore Different Genres
<span class="span has-before"></span>
</h2>
<ul class="grid-list">
<li>
<div class="chapter-card">
<p class="card-subtitle">01</p>
<h3 class="h3 card-title">Classic Literature</h3>
<p class="card-text">
The category of classic literature contains literature that is worthy of being read through the ages. Classic literature is timeless and well-written. Sophocles,Charles Dickens, Jane Austen and Virgil are all writers whose works are considered classical literature.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">02</p>
<h3 class="h3 card-title">Romance</h3>
<p class="card-text">
A romance is understood to be a love story that is primarily focused on the relationship between the main characters of the story.The biggest defining characteristic of the romance genre is that a happy ending is always guaranteed, perhaps living "happily ever after".
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">03</p>
<h3 class="h3 card-title">Suspense Thriller</h3>
<p class="card-text">
Readers are taken on a rollercoaster ride of tension and intrigue. These gripping tales are filled with twists and turns, keeping readers guessing until the very last page as protagonists navigate dangerous situations.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">04</p>
<h3 class="h3 card-title">Science Fiction</h3>
<p class="card-text">
Embarking on voyages across the cosmos and exploring the possibilities of future technology, science fiction books ignite the imagination with visions of advanced civilizations, space exploration, and speculative science.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">05</p>
<h3 class="h3 card-title">Fantasy</h3>
<p class="card-text">
Immersed in magical realms and mythical creatures, fantasy books transport readers to worlds where anything is possible, weaving tales of epic quests, ancient prophecies, and battles between good and evil.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">06</p>
<h3 class="h3 card-title">Horror</h3>
<p class="card-text">
Sending shivers down readers' spines, horror books delve into the macabre and the supernatural, exploring fear, dread, and the unknown through chilling tales of monsters, ghosts, and psychological terror.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">07</p>
<h3 class="h3 card-title">Biography</h3>
<p class="card-text">
Providing insight into real lives and experiences, biography books recount the journeys, triumphs, and struggles of notable individuals, offering inspiration and understanding through their personal stories and achievements.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">08</p>
<h3 class="h3 card-title">Self Help</h3>
<p class="card-text">
Empowering readers to improve their lives and well-being, self-help books offer practical advice, strategies, and insights for personal growth, happiness, and success, covering topics such as relationships, productivity, and mental health.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">09</p>
<h3 class="h3 card-title">Historical Fiction</h3>
<p class="card-text">
Offering a glimpse into the past, historical fiction books blend real events with fictional narratives, transporting readers to different eras and cultures, bringing history to life through vivid characters and immersive storytelling.
</p>
</div>
</li>
</ul>
</div>
</section>
<!--
- #CHAPTERS
-->
<section class="section chapters" id="chapters">
<div class="container">
<p class="section-subtitle">Literary Realms</p>
<h2 class="h2 section-title has-underline">
Literary Realms we've covered
<span class="span has-before"></span>
</h2>
<ul class="grid-list">
<li>
<div class="chapter-card">
<p class="card-subtitle">01</p>
<h3 class="h3 card-title">Romantic Escapes</h3>
<p class="card-text">
Immerse yourself in the enchanting world of love and passion with our curated selection of romance
fiction.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">02</p>
<h3 class="h3 card-title">Thrilling Adventures</h3>
<p class="card-text">
Dive into heart-pounding tales and gripping narratives that will keep you on the edge of your seat.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">03</p>
<h3 class="h3 card-title">Mindful Living</h3>
<p class="card-text">
Discover the secrets to a fulfilling life with our collection of insightful and empowering self-help
books.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">04</p>
<h3 class="h3 card-title">Mystical Fantasies</h3>
<p class="card-text">
Embark on fantastical journeys to magical realms with our captivating fantasy fiction picks.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">05</p>
<h3 class="h3 card-title">Historical Chronicles</h3>
<p class="card-text">
Travel back in time and explore the rich tapestry of history through our curated historical fiction
selection.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">06</p>
<h3 class="h3 card-title">Science Fiction Wonders</h3>
<p class="card-text">
Ignite your imagination with mind-bending concepts and futuristic worlds in our science fiction.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">07</p>
<h3 class="h3 card-title">Laugh Out Loud Comedy</h3>
<p class="card-text">
Find joy and laughter in our comedy section, featuring witty and humorous tales that will brighten
your day.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">08</p>
<h3 class="h3 card-title">Intriguing Mysteries</h3>
<p class="card-text">
Unravel gripping mysteries and suspenseful plots that will keep you guessing until the last page.
</p>
</div>
</li>
<li>
<div class="chapter-card">
<p class="card-subtitle">09</p>
<h3 class="h3 card-title">Inspiring Biographies</h3>
<p class="card-text">
Gain insights into the lives of remarkable individuals through our collection of inspiring biographies
and memoirs.
</p>
</div>
</li>
</ul>
</div>
</section>
<!-- Exchange Exchnage Exchange -->
<section class="section preview" aria-label="preview">
<div class="container1">
<h2 class="h2 section-title has-underline">
Book Exchange Hub
<span class="span has-before"></span>
</h2>
<p class="section-text">
Connect with fellow readers in our Book Exchange Hub. Sell your old books at half price and give your
favorite reads a new home. Fill out the form below to get started!
</p>
<div class="exchange-form">
<div class="form-fields">
<div class="form-fields">
<label class="form-label" for="bookTitle">Book Title:</label>
<label class="form-label" for="bookTitle">Book Title:</label>
<input type="text" id="bookTitle" name="bookTitle" placeholder="Enter the title of your book" required
class="input-field">
<label class="formform-label" for="bookAuthor">Author:</label>
<input type="text" id="bookAuthor" name="bookAuthor" placeholder="Enter the author's name" required
class="input-field">
<label class="form-label" for="yourPrice">Your Price (50% Off):</label>
<div class="currency-container">
<label class="currency-label" for="currency">Currency: </label>
<select id="currency" name="currency" class="input-field currency-select">
<option value="INR">INR</option>
<option value="USD">USD</option>
<option value="EUR">EUR</option>
<option value="GBP">GBP</option>
</select>
</div>
<input type="number" min="0" id="yourPrice" name="yourPrice" placeholder="Enter your desired selling price" required class="input-field">
<!-- Error message container -->
<span id="yourPrice-error" class="error"></span>
</div>
<button type="button" class="btn btn-primary" onclick="validateAndConnect()">Connect with a Reader</button>
</div>
<script>
// Function to validate the price input
function validatePriceInput() {
var yourPriceInput = document.getElementById('yourPrice');
var yourPriceValue = yourPriceInput.value.trim();
// Check if the price is a valid number
if (isNaN(yourPriceValue) || yourPriceValue === "" || parseFloat(yourPriceValue) < 0) {
// If not, display error message
document.getElementById('yourPrice-error').textContent = "Please enter a valid number";
// Change border color to red to indicate error
yourPriceInput.style.borderColor = 'red';
} else {
// If price is valid, clear error message and reset border color
document.getElementById('yourPrice-error').textContent = "";
yourPriceInput.style.borderColor = '';
}
}
// Add event listener to validate price input on every input change
document.getElementById('yourPrice').addEventListener('input', validatePriceInput);
// Function to validate and connect when the form is submitted
function validateAndConnect() {
// Trigger input validation before submitting the form
validatePriceInput();
// Proceed with form submission only if price is valid
var errorElement = document.getElementById('yourPrice-error');
if (errorElement.textContent === "") {
// If no error, proceed with further actions, such as form submission
// Example: document.getElementById('yourForm').submit();
alert("Form submitted successfully!");
}
}
</script>
</div>
</section>
<!--
- #PRICING
-->
<section class="section pricing" id="pricing" aria-label="pricing">
<div class="container">
<p class="section-subtitle">Pricing</p>
<h2 class="h2 section-title has-underline">
Pricing based on their version
<span class="span has-before"></span>
</h2>
<ul class="grid-list">
<li>
<div class="pricing-card">
<h3 class="h3 card-title">Fresh Pages - New Releases</h3>
<data class="price" value="5">75% Off</data>
<ul class="pricing-card-list">
<li class="card-item">
<p class="card-text">Exchange any recently released or gently used books, less than a year old, at
75% of the original cost (Limited Offer)</p>
</li>
</ul>
<button class="btn btn-secondary">BUY NOW</button>
</div>
</li>
<li>
<div class="pricing-card">
<h3 class="h3 card-title">Timeless Classics - Aged Wonders</h3>
<data class="price" value="15">50% Off</data>
<ul class="pricing-card-list">
<li class="card-item">
<p class="card-text">Swap beloved classics or books aged 1 to 5 years at 50% of the original cost,
preserving the magic of timeless stories.</p>
</li>
</ul>
<button class="btn btn-secondary">BUY NOW</button>
</div>
</li>
<li>
<div class="pricing-card">
<h3 class="h3 card-title">Hidden Treasures - Vintage Editions</h3>
<data class="price" value="10">25% Off</data>
<ul class="pricing-card-list">
<li class="card-item">
<p class="card-text">Dive into the past with vintage editions or books over 5 years old, available
for exchange at 25% of their original cost.</p>
</li>
</ul>
<button class="btn btn-secondary">BUY NOW</button>
</div>
</li>
</ul>
</div>
</section>
<!--
- #CONTACT
-->
<section class="section contact" id="contact" aria-label="contact">
<div class="container">
<p class="section-subtitle">Contact</p>
<h2 class="h2 section-title has-underline">
Write me anything
<span class="span has-before"></span>
</h2>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3686.5834653201455!2d88.40974607348684!3d22.482281936278092!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3a0273c5411d60d7%3A0x5d6e57763593194b!2sSouthern%20Cleve%20Housing%2C%2012%2C%20Bhagat%20Singh%20Nagar%2C%20Nayabad%2C%20Kolkata%2C%20West%20Bengal%20700150!5e0!3m2!1sen!2sin!4v1716043813992!5m2!1sen!2sin" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
<div class="wrapper">
<div class="contact-card">
<form action="" id="contact-form ">
<input type="text" name="name" id="name" placeholder="Your Name" required class="input-field" size="60px">
<input type="email" name="email_address" id="email" placeholder="Your Email" required class="input-field">
<input type="text" name="subject" id="subject" placeholder="Subject" required class="input-field">
<div id="subject-count" class="character-count">0/100</div>
<!-- Element to display character count for subject -->
<textarea name="message" id="message" placeholder="Your Message" class="input-field"></textarea>
<div id="message-count" class="character-count">0/250</div>
<!-- Element to display character count for message -->
<button type="submit1" id="sendMessageBtn" class="btn btn-primary">Send Now</button>
</div>
<ul class="contact-card ">
<li>
<p class="card-title">Address:</p>
<address class="address">
12, Nayabad <br>
Kolkata, India 700054
</address>
</li>
<li>
<p class="card-title">Phone:</p>
<a href="tel:1234567890" class="card-link">+91 9124421980</a>
</li>
<li>
<p class="card-title">Email:</p>
<a href="mailto:[email protected]" class="card-link">[email protected]</a>
</li>
<!-- <li>
<p class="social-list-title h3">Connect SwapReads socials</p>
<ul class="social-list">
<li>
<a href="https://www.facebook.com/" class="social-link">
<ion-icon name="logo-facebook"></ion-icon>
</a>
</li>
<li>
<a href="https://twitter.com/?lang=en" class="social-link">
<ion-icon name="logo-twitter"></ion-icon>
</a>
</li>
<li>
<a href="https://www.linkedin.com/" class="social-link">
<ion-icon name="logo-linkedin"></ion-icon>
</a>
</li>
<li>
<a href="https://www.youtube.com/" class="social-link">
<ion-icon name="logo-youtube"></ion-icon>
</a>
</li> -->
<!-- <li>
<a href="tel:+1234567890" class="social-link">
<ion-icon name="logo-whatsapp"></ion-icon>
</a>
</li> -->
</ul>
</li>
</ul>
</div>
</div>
</section>
</article>
</main>
<!-- --Testimonials -->
<h2 class="h2 section-title has-underline" style="margin-top: 15px;">
Testimonials
<span class="span has-before"></span>
</h2>
<p class="section-subtitle">Know what our customers say</p>
<div class="slide-container swiper" style="margin-bottom: 15px;">
<div class="slide-content">
<div class="card-wrapper swiper-wrapper">
<div class="card swiper-slide">
<div class="fronts" style="align-items: center; justify-content: center; display: flex; flex-direction: column; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="image-content" >
<div class="card-image">
<img src="assets/images/testimonials-1.jpg" alt="" class="card-img">
</div>
<h2 style="font-size: 20px;">B.Sharmila</h2>
</div>
<div class="rating" >
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;">
SwapReads has completely transformed my reading experience! Not only have I discovered new books I never would have picked up otherwise, but I've also connected with fellow book lovers who share my passion. It's like having a personalized library with endless possibilities. Highly recommend! </div>
</div>
<div class="card swiper-slide">
<div class="fronts" style="align-items: center; justify-content: center; display: flex; flex-direction: column; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">