-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
139 lines (131 loc) · 4.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="icon" type="image/x-icon" href="img/favicon.ico" />
<link rel="stylesheet" href="style.css" />
<meta name="theme-color" content="#E9E9E9" />
<!-- Primary Meta Tags -->
<title>Rakbuku</title>
<meta name="title" content="Rakbuku" />
<meta name="description" content="Atur buku yang kamu baca sekarang" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://nnivxix.github.io/bookshelf/" />
<meta property="og:title" content="Rakbuku" />
<meta
property="og:description"
content="Atur buku yang kamu baca sekarang"
/>
<meta
property="og:image"
content="https://i.ibb.co/1rfDL5J/Dribbble-Mockup-Shot-01-1.png"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta
property="twitter:url"
content="https://nnivxix.github.io/bookshelf/"
/>
<meta property="twitter:title" content="Rakbuku" />
<meta
property="twitter:description"
content="Atur buku yang kamu baca sekarang"
/>
<meta
property="twitter:image"
content="https://i.ibb.co/1rfDL5J/Dribbble-Mockup-Shot-01-1.png"
/>
</head>
<body>
<header class="head_bar">
<h1 class="head_bar__title">Rakbuku</h1>
<form id="searchBook" onsubmit="event.preventDefault();">
<span id="clearSearch">✖</span>
<input
id="searchBookTitle"
type="text"
placeholder="(Ctrl + K) untuk mencari Buku"
/>
</form>
</header>
<main class="container">
<div class="input_section flex" id="input_section">
<form id="inputBook">
<div class="input">
<label for="inputBookTitle"
>Judul Buku<span class="important">*</span></label
>
<input
id="inputBookTitle"
autofocus
type="text"
required
placeholder="Menjadi Koki Handal"
title="Ctrl + Alt + N: untuk menambah Buku baru."
/>
</div>
<div class="input">
<label for="inputBookAuthor"
>Penulis Buku <span class="important">*</span></label
>
<input
id="inputBookAuthor"
type="text"
required
placeholder="Junaedi"
/>
</div>
<div class="input">
<label for="inputBookYear"
>Tahun Terbit <span class="important">*</span></label
>
<input
id="inputBookYear"
type="number"
required
placeholder="2019"
/>
</div>
<div class="input_inline">
<input
id="inputBookIsComplete"
type="checkbox"
style="padding-right: 10px"
/>
<label for="inputBookIsComplete">Selesai dibaca</label>
</div>
<button id="bookSubmit" type="submit"></button>
</form>
</div>
<div class="book_shelf">
<h2>Sedang dibaca 📖</h2>
<div id="incompleteBookshelfList" class="book_list">
<!-- konten buku berada di sini -->
</div>
</div>
<div class="book_shelf">
<h2>Sudah dibaca 📚</h2>
<div id="completeBookshelfList" class="book_list">
<!-- konten buku berada di sini -->
</div>
</div>
<footer>
<p>
Dibangun dengan 💛 oleh
<a target="_blank" href="https://github.com/nnivxix">Hanasa</a> di 🇮🇩.
</p>
</footer>
</main>
<script src="main.js"></script>
</body>
</html>