-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
180 lines (177 loc) · 5.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no, viewport-fit=cover"
/>
<meta name="theme-color" content="#ececec" />
<!-- TITLE -->
<title>HandBook</title>
<!-- AUTHOR -->
<meta name="author" content="Nicola Pavoni" />
<!-- DESCRIPTION -->
<meta
name="description"
content="HandBook is a simple, good-looking website that helps users to discover books by typing a genre.
"
/>
<!-- KEYWORDS -->
<meta
name="keywords"
content="HandBook, books, search, genres, nikthewik, Nicola Pavoni"
/>
<!-- FAVICON -->
<link
rel="shortcut icon"
type="image/x-icon"
width="16px"
href="./assets/img/favicon.ico"
/>
<!-- OPEN GRAPH PROTOCOL -->
<!-- Facebook -->
<meta property="og:url" content="https://ntw-handbook.netlify.app/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="HandBook" />
<meta
property="og:description"
content="HandBook is a simple, good-looking website that helps users to discover books by typing a genre."
/>
<meta
property="og:image:secure_url"
content="/assets/img/preview-handbook.jpg"
/>
<meta
property="og:image:alt"
content="A website with a searchbar to find books"
/>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="ntw-handbook.netlify.app" />
<meta property="twitter:url" content="https://ntw-handbook.netlify.app/" />
<meta name="twitter:title" content="HandBook" />
<meta
name="twitter:description"
content="HandBook is a simple, good-looking website that helps users to discover books by typing a genre."
/>
<meta name="twitter:image" content="/assets/img/preview-handbook.jpg" />
<!-- FONTS -->
<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=Poppins:ital,wght@0,200;0,400;1,200&display=swap"
rel="stylesheet"
/>
<!-- SCSS -->
<link rel="stylesheet" href="/assets/scss/main.scss" />
<!-- JS -->
<script type="module" src="/assets/js/main.js"></script>
</head>
<body class="dark-text">
<div class="flex flex-col flex-cc">
<!-- HEADER -->
<header class="header-homepage w-100 flex flex-col flex-cc">
<!-- LOGO & BRAND -->
<div class="flex flex-cc">
<img class="logo" src="/assets/img/logo.png" alt="Logo of a book" />
<h1 class="large-text">HandBook</h1>
</div>
<!-- CAPTION -->
<div class="flex flex-col flex-cc">
<p class="caption medium-text">
Find the book that's right for you!<br />
Just type in the genre, <i>et voilà</i>.
</p>
</div>
<!-- SEARCH BAR -->
<div class="search-container rel flex flex-cc">
<input
class="search-input focus b-radius w-100 small-text"
type="text"
placeholder="e.g. Fantasy"
/>
<button class="search-button abs focus-v b-radius">
<img
class="search-icon"
src="/assets/img/icon-search.png"
alt="Search icon"
/>
</button>
</div>
</header>
<!-- SEARCH RESULTS -->
<div class="search-results flex flex-col flex-cc">
<!-- LOADER -->
<div class="loader hidden"></div>
</div>
<!-- PAGINATION BUTTONS -->
<div class="page-buttons hidden">
<button
class="page-button previous-button focus-v b-radius medium-text dark-text"
>
<
</button>
<div class="page-number medium-text dark-text">1</div>
<button
class="page-button next-button focus-v b-radius medium-text dark-text"
>
>
</button>
</div>
<!-- FOOTER -->
<footer class="footer-homepage flex flex-col flex-cc">
<!-- SOCIAL -->
<div class="flex flex-cc">
<a
class="focus-v b-radius"
href="https://github.com/nikthewik"
target="_blank"
>
<img
class="social-icon"
src="/assets/img/icon-social-github.png"
alt="GitHub icon"
/>
</a>
<a
class="focus-v b-radius"
href="https://www.linkedin.com/in/nikthewik"
target="_blank"
>
<img
class="social-icon"
src="/assets/img/icon-social-linkedin.png"
alt="LinkedIn icon"
/>
</a>
</div>
<!-- CREDITS -->
<p class="courtesy-link flex flex-cc x-small-text light-text dark-text">
Icons by
<a
class="focus-v b-radius dark-text"
href="https://icons8.com"
target="_blank"
>Icons8.</a
>
API by
<a
class="focus-v b-radius dark-text"
href="https://openlibrary.org/"
target="_blank"
>
Open Library.</a
>
</p>
<!-- COPYRIGHT -->
<p class="x-small-text light-text dark-text">
Copyright © 2024 Nicola Pavoni. All Rights Reserved.
</p>
</footer>
</div>
</body>
</html>