forked from wasimreja/book-finder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (97 loc) · 3.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Book Finder</title>
<link rel="shortcut icon" href="img/reading.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous" />
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
</head>
<body class="bg">
<script>
// this script need to in body but before html content to avoid flickering
const localTheme = localStorage?.getItem("theme");
if (localTheme === "dark") {
document.body.classList.add("dark-theme");
} else {
document.body.classList.remove("dark-theme");
}
</script>
<nav id="nav">
<div class="container-fluid align-items-center">
<a class="navbar-brand" href="index.html">
<span class="text">Book</span><span class="find">Finder</span>
</a>
<div class="mode d-flex align-items-center">
<ul class="nav-menu">
<li class="nav-item">
<a class="nav-link" href="index.html"> <span class="find">Home</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html"> <span class="find">About Us</span></a>
</li>
</ul>
<img class="logo" id="icon" src="img/moon.png" />
<div class="hamburger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</div>
</div>
</nav>
<header class="header" id="header">
<img src="img/Man-Reading-a-Book-Vector-Illustration.svg" alt="Man Reading a Book" class="illustration" />
<h1 class="title">
Book
<p class="finder" style="display: inline-block">Finder</p>
</h1>
</header>
<main>
<div class="search" id="search-bar">
<form class="search-form">
<div class="p-1 rounded rounded-pill shadow-sm mb-5">
<div class="input-group">
<input type="search" id="input" placeholder="Find the book you want to read next!"
aria-describedby="button-addon1" class="form-control border-0 " />
<div class="input-group-append">
<button id="button-addon1" type="submit" class="btn btn-link text-primary">
<i class="fa fa-search"></i>
</button>
</div>
</div>
</div>
</form>
</div>
</main>
<section>
<div class="whirly-loader" style="display: none;"></div>
<div id="results" class="results container">
</div>
</section>
<a href="#" id="return-to-top" class="special1" >
<i class="fa fa-arrow-up" ></i>
</a>
<footer>
<div class="foot">
Made with ❤️ by <a href="https://github.com/wasimreja">Wasim Reja</a>
</div>
</footer>
</body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init({
offset: 200,
duration: 1000
});
</script>
<script src="main.js"></script>
</body>
</html>