-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
783 lines (656 loc) · 26.2 KB
/
Copy pathindex.html
File metadata and controls
783 lines (656 loc) · 26.2 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>ebook landing page template</title>
<!-- CSS FILES -->
<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=Unbounded:wght@300;400;600;700&display=swap"
rel="stylesheet"
/>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/bootstrap-icons.css" rel="stylesheet" />
<link href="css/templatemo-ebook-landing.css" rel="stylesheet" />
<!--
TemplateMo 588 ebook landing
https://templatemo.com/tm-588-ebook-landing
-->
</head>
<body>
<main>
<nav class="navbar navbar-expand-lg">
<div class="container">
<a class="navbar-brand" href="index.html">
<i class="navbar-brand-icon bi-book me-2"></i>
<span>Ebook</span>
</a>
<div class="d-lg-none ms-auto me-3">
<a
href="#"
class="btn custom-btn custom-border-btn btn-naira btn-inverted"
>
<i class="btn-icon bi-cloud-download"></i>
<span>Download</span
><!-- duplicated another one below for mobile -->
</a>
</div>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-lg-auto me-lg-4">
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_1">Home</a>
</li>
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_2">The Book</a>
</li>
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_3">Author</a>
</li>
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_4">Reviews</a>
</li>
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_5">Contact</a>
</li>
</ul>
<div class="d-none d-lg-block">
<a
href="#"
class="btn custom-btn custom-border-btn btn-naira btn-inverted"
>
<i class="btn-icon bi-cloud-download"></i>
<span>Download</span
><!-- duplicated above one for mobile -->
</a>
</div>
</div>
</div>
</nav>
<section
class="hero-section d-flex justify-content-center align-items-center"
id="section_1"
>
<div class="container">
<div class="row">
<div class="col-lg-6 col-12 mb-5 pb-5 pb-lg-0 mb-lg-0">
<h6>Introducing ebook</h6>
<h1 class="text-white mb-4">
ebook landing page for professionals
</h1>
<a href="#section_2" class="btn custom-btn smoothscroll me-3"
>Discover More</a
>
<a href="#section_3" class="link link--kale smoothscroll"
>Meet the Author</a
>
</div>
<div class="hero-image-wrap col-lg-6 col-12 mt-3 mt-lg-0">
<img
src="images/education-online-books.png"
class="hero-image img-fluid"
alt="education online books"
/>
</div>
</div>
</div>
</section>
<section class="featured-section">
<div class="container">
<div class="row">
<div class="col-lg-8 col-12">
<div class="avatar-group d-flex flex-wrap align-items-center">
<img
src="images/avatar/portrait-beautiful-young-woman-standing-grey-wall.jpg"
class="img-fluid avatar-image"
alt=""
/>
<img
src="images/avatar/portrait-young-redhead-bearded-male.jpg"
class="img-fluid avatar-image avatar-image-left"
alt=""
/>
<img
src="images/avatar/pretty-blonde-woman.jpg"
class="img-fluid avatar-image avatar-image-left"
alt=""
/>
<img
src="images/avatar/studio-portrait-emotional-happy-funny-smiling-boyfriend.jpg"
class="img-fluid avatar-image avatar-image-left"
alt=""
/>
<div class="reviews-group mt-3 mt-lg-0">
<strong>4.5</strong>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star"></i>
<small class="ms-3">2,564 reviews</small>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="py-lg-5"></section>
<section class="book-section section-padding" id="section_2">
<div class="container">
<div class="row">
<div class="col-lg-6 col-12">
<img
src="images/tablet-screen-contents.jpg"
class="img-fluid"
alt=""
/>
</div>
<div class="col-lg-6 col-12">
<div class="book-section-info">
<h6>Modern & Creative</h6>
<h2 class="mb-4">About The Book</h2>
<p>
Credit goes to
<a rel="nofollow" href="https://freepik.com" target="_blank"
>FreePik</a
>
for images used in this ebook landing page template. You may
browse FreePik to download more free images for your website.
</p>
<p>
TemplateMo is one of the best websites to download free CSS
templates for any purpose. This is an ebook landing page
template using Bootstrap 5 CSS layout.
</p>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="row">
<div class="col-lg-12 col-12 text-center">
<h6>What's inside?</h6>
<h2 class="mb-5">Preview at glance</h2>
</div>
<div class="col-lg-4 col-12">
<nav
id="navbar-example3"
class="h-100 flex-column align-items-stretch"
>
<nav class="nav nav-pills flex-column">
<a class="nav-link smoothscroll" href="#item-1"
>Introduction</a
>
<a class="nav-link smoothscroll" href="#item-2"
>Chapter 1: <strong>Win back your time</strong></a
>
<a class="nav-link smoothscroll" href="#item-3"
>Chapter 2: <strong>Work less, do more</strong></a
>
<a class="nav-link smoothscroll" href="#item-4"
>Chapter 3: <strong>Delegate</strong></a
>
<a class="nav-link smoothscroll" href="#item-5"
>Chapter 4: <strong>Habits</strong></a
>
</nav>
</nav>
</div>
<div class="col-lg-8 col-12">
<div
data-bs-spy="scroll"
data-bs-target="#navbar-example3"
data-bs-smooth-scroll="true"
class="scrollspy-example-2"
tabindex="0"
>
<div class="scrollspy-example-item" id="item-1">
<h5>Introducing ebook</h5>
<p>
This ebook landing page is good to use for any purpose. This
layout is based on Bootstrap 5 CSS framework.
</p>
<p>
<strong>What is Content Marketing?</strong> If you are
wondering what content marketing is all about, this is the
place to start.
</p>
<blockquote class="blockquote">
Lorem Ipsum dolor sit amet, consectetur adipsicing kengan
omeg kohm tokito
</blockquote>
<p>
When you need free HTML CSS templates, please visit
Templatemo website which provides a variety of templates.
</p>
</div>
<div class="scrollspy-example-item" id="item-2">
<h5>Win back your time</h5>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
<p>
Sed leo nisl, posuere at molestie ac, suscipit auctor
mauris. Etiam quis metus elementum, tempor risus vel,
condimentum orci.
</p>
<p>
You are not allowed to redistribute this template ZIP file
on any other template collection website. Please contact
TemplateMo for more information.
</p>
<div class="row">
<div class="col-lg-6 col-12 mb-3">
<img
src="images/portrait-mature-smiling-authoress-sitting-desk.jpg"
class="scrollspy-example-item-image img-fluid"
alt=""
/>
</div>
<div class="col-lg-6 col-12 mb-3">
<img
src="images/businessman-sitting-by-table-cafe.jpg"
class="scrollspy-example-item-image img-fluid"
alt=""
/>
</div>
</div>
<p>
If you need some specific CSS templates, you can Google with
keywords such as templatemo gallery, templatemo digital
marketing, etc.
</p>
</div>
<div class="scrollspy-example-item" id="item-3">
<h5>Work less, do more</h5>
<p>
Credit goes to
<a rel="nofollow" href="https://freepik.com" target="_blank"
>FreePik</a
>
for images used in this ebook landing page template. You may
browse FreePik to download more free images for your
website.
</p>
<p>
This is a second paragraph. Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor
incididunt.
</p>
<p>
Lorem ipsum dolor sit amet, consive adipisicing elit, sed do
eiusmod. tempor incididunt ut labore.
</p>
<div class="row align-items-center">
<div class="col-lg-6 col-12">
<img
src="images/tablet-screen-contents.jpg"
class="img-fluid"
alt=""
/>
</div>
<div class="col-lg-6 col-12">
<p>Modern ebook ever</p>
<p>
<strong
>Lorem ipsum dolor sit amet, consive adipisicing elit,
sed do eiusmod. tempor incididunt.</strong
>
</p>
</div>
</div>
</div>
<div class="scrollspy-example-item" id="item-4">
<h5>Delegate</h5>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
<p>
Lorem ipsum dolor sit amet, consive adipisicing elit, sed do
eiusmod. tempor incididunt ut labore.
</p>
<p>
You are not allowed to redistribute this template ZIP file
on any other template collection website. Please contact
TemplateMo for more information.
</p>
<img
src="images/portrait-mature-smiling-authoress-sitting-desk.jpg"
class="scrollspy-example-item-image img-fluid mb-3"
alt=""
/>
<p>
You may want to contact us for more information about this
template.
</p>
</div>
<div class="scrollspy-example-item" id="item-5">
<h5>Habits</h5>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
<p>
You are not allowed to redistribute this template ZIP file
on any other template collection website. Please contact
TemplateMo for more information.
</p>
<p>
<strong>What is Free CSS Templates?</strong> Free CSS
Templates are a variety of ready-made web pages designed for
different kinds of websites.
</p>
<blockquote class="blockquote">
Lorem Ipsum dolor sit amet, consectetur adipsicing kengan
omeg kohm tokito
</blockquote>
<p>
You may browse TemplateMo website for more CSS templates.
Thank you for visiting our website.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="author-section section-padding" id="section_3">
<div class="container">
<div class="row">
<div class="col-lg-6 col-12">
<img
src="images/portrait-mature-smiling-authoress-sitting-desk.jpg"
class="author-image img-fluid"
alt=""
/>
</div>
<div class="col-lg-6 col-12 mt-5 mt-lg-0">
<h6>Meet Author</h6>
<h2 class="mb-4">Prof. Sophia</h2>
<p>
This is an ebook landing page template with Bootstrap 5 CSS
framework. It is easy to customize with the use of Bootstrap CSS
classes.
</p>
<p>
Lorem ipsum dolor sit amet, consive adipisicing elit, sed do
eiusmod. tempor incididunt ut labore.
</p>
</div>
</div>
</div>
</section>
<section class="reviews-section section-padding" id="section_4">
<div class="container">
<div class="row">
<div class="col-lg-12 col-12 text-center mb-5">
<h6>Reviews</h6>
<h2>What people saying...</h2>
</div>
<div class="col-lg-4 col-12">
<div class="custom-block d-flex flex-wrap">
<div class="custom-block-image-wrap d-flex flex-column">
<img
src="images/avatar/portrait-beautiful-young-woman-standing-grey-wall.jpg"
class="img-fluid avatar-image"
alt=""
/>
<div class="text-center mt-3">
<span class="text-white">Sandy</span>
<strong class="d-block text-white">Artist</strong>
</div>
</div>
<div class="custom-block-info">
<div class="reviews-group mb-3">
<strong>4.5</strong>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star"></i>
</div>
<p class="mb-0">
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
</div>
</div>
</div>
<div class="col-lg-4 col-12 my-5 my-lg-0">
<div class="custom-block d-flex flex-wrap">
<div class="custom-block-image-wrap d-flex flex-column">
<img
src="images/avatar/portrait-young-redhead-bearded-male.jpg"
class="img-fluid avatar-image avatar-image-left"
alt=""
/>
<div class="text-center mt-3">
<span class="text-white">John</span>
<strong class="d-block text-white">Producer</strong>
</div>
</div>
<div class="custom-block-info">
<div class="reviews-group mb-3">
<strong>3.5</strong>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star"></i>
<i class="bi-star"></i>
</div>
<p class="mb-0">
If you need some specific CSS templates, you can Google with
keywords such as templatemo one-page, templatemo portfolio,
etc.
</p>
</div>
</div>
</div>
<div class="col-lg-4 col-12">
<div class="custom-block d-flex flex-wrap">
<div class="custom-block-image-wrap d-flex flex-column">
<img
src="images/avatar/pretty-blonde-woman.jpg"
class="img-fluid avatar-image"
alt=""
/>
<div class="text-center mt-3">
<span class="text-white">Candy</span>
<strong class="d-block text-white">VP, Design</strong>
</div>
</div>
<div class="custom-block-info">
<div class="reviews-group mb-3">
<strong>5</strong>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
<i class="bi-star-fill"></i>
</div>
<p class="mb-0">
Please tell your friends about our website that we provide
100% free CSS templates for everyone. Thank you for using
our templates.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="contact-section section-padding" id="section_5">
<div class="container">
<div class="row">
<div class="col-lg-5 col-12 mx-auto">
<form
id="contact-form"
class="custom-form ebook-download-form bg-white shadow"
role="form"
>
<div class="text-center mb-5">
<h2 class="mb-1">Get your free ebook</h2>
</div>
<div class="ebook-download-form-body">
<div class="input-group mb-4">
<input
type="text"
name="ebook-form-name"
id="ebook-form-name"
class="form-control"
aria-label="ebook-form-name"
aria-describedby="basic-addon1"
placeholder="Your Name"
required
/>
<span class="input-group-text" id="basic-addon1">
<i class="custom-form-icon bi-person"></i>
</span>
</div>
<div class="input-group mb-4">
<input
type="email"
name="ebook-email"
id="ebook-email"
pattern="[^ @]*@[^ @]*"
class="form-control"
placeholder="your@company.com"
aria-label="ebook-form-email"
aria-describedby="basic-addon2"
required=""
/>
<span class="input-group-text" id="basic-addon2">
<i class="custom-form-icon bi-envelope"></i>
</span>
</div>
<div class="col-lg-8 col-md-10 col-8 mx-auto">
<button type="submit" class="form-control">
Download ebook
</button>
</div>
</div>
</form>
</div>
<div class="col-lg-6 col-12">
<h6 class="mt-5">Say hi and talk to us</h6>
<h2 class="mb-4">Contact</h2>
<p class="mb-3">
<i class="bi-geo-alt me-2"></i>
London, United Kingdom
</p>
<p class="mb-2">
<a href="tel: 010-020-0340" class="contact-link">
010-020-0340
</a>
</p>
<p>
<a href="mailto:info@company.com" class="contact-link">
info@company.com
</a>
</p>
<h6 class="site-footer-title mt-5 mb-3">Social</h6>
<ul class="social-icon mb-4">
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-instagram"></a>
</li>
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-twitter"></a>
</li>
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-facebook"></a>
</li>
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-whatsapp"></a>
</li>
</ul>
<p class="copyright-text">
Copyright © 2048 ebook company <br /><br /><a
rel="nofollow"
href="https://templatemo.com"
target="_blank"
>designed by templatemo</a
>
</p>
</div>
</div>
</div>
</section>
</main>
<!-- JAVASCRIPT FILES -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/jquery.sticky.js"></script>
<script src="js/click-scroll.js"></script>
<script src="js/custom.js"></script>
<script>
(function () {
const URL =
"https://bzuirr2vwb.execute-api.us-east-1.amazonaws.com/dev/epicreads_resource";
const form = document.getElementById("contact-form");
if (!form) {
console.error("contact-form not found in DOM");
return;
}
form.addEventListener("submit", async function (e) {
e.preventDefault();
const name = document.getElementById("ebook-form-name")?.value || "";
const email = document.getElementById("ebook-email")?.value || "";
const messageEl = document.getElementById("ebook-message"); // optional field
const message = messageEl ? messageEl.value : "";
try {
const resp = await fetch(URL, {
method: "POST",
headers: {
"Content-Type": "application/json",
Accept: "application/json",
},
body: JSON.stringify({ name, email, message }),
// mode: 'cors' // not required, but harmless if you want to make it explicit
});
const contentType = resp.headers.get("content-type") || "";
let bodyText = "";
try {
bodyText = await resp.text();
} catch {}
console.log("API status:", resp.status);
console.log(
"API headers:",
Object.fromEntries(resp.headers.entries())
);
console.log("API body:", bodyText);
if (!resp.ok) {
throw new Error(`HTTP ${resp.status} - ${bodyText || "No body"}`);
}
alert("✅ Thanks for contacting us, we will get back to you soon!");
this.reset();
} catch (err) {
console.error("Request failed:", err);
alert("❌ Something went wrong. Please try again.");
}
});
})();
</script>
</body>
</html>