-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
200 lines (198 loc) · 7.51 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
<!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" />
<title>Awesome Books | Davon & Michael</title>
<!-- CSS needed for fonts used by Tailwind -->
<link rel="stylesheet" type="text/css" href="index.css" />
<link
href="https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="https://fonts.cdnfonts.com/css/cocogoose" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/tw-elements/dist/css/index.min.css"
/>
<!-- Favicon -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="icons/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="icons/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="icons/favicon/favicon-16x16.png"
/>
<link rel="manifest" href="icons/favicon/site.webmanifest" />
<script type="module" src="index.js"></script>
<!-- Script for running Tailwind -->
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/tw-elements/dist/js/index.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Montserrat', 'sans-serif'],
nunito: ['nunito', 'sans-serif'],
montserrat: ['Montserrat', 'sans-serif'],
},
zIndex: {
1: '1',
2: '2',
3: '3',
},
maxWidth: {
'2xl': '43.75rem',
},
},
},
};
</script>
</head>
<body>
<header class="header items-center z-10 absolute top-0 left-0 right-0">
<img src="images/book-logo.png" alt="book-logo" />
<nav class="pr-24">
<ul class="navbar flex space-x-4 text-white">
<li class="nav-link whitespace-nowrap list">
<a class="listBook topic-active" href="#BookList">Book list</a>
</li>
<li class="nav-link whitespace-nowrap newBook">
<a class="addBook" href="#AddToCollection">Add new</a>
</li>
<li class="nav-link whitespace-nowrap contactForm">
<a class="contact" href="#ContactUs">Contact us</a>
</li>
</ul>
</nav>
<div class="date-time fixed flex z-3 space-x-4 text-slate-50 right-20 top-36">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
/>
</svg>
<p class="w-64">
</p>
</div>
</header>
<main
class="fixed overflow-hidden flex flex-col justify-center items-center w-full h-screen"
>
<video
class="fixed top-0 min-w-full min-h-full max-w-fit object-cover"
src="https://user-images.githubusercontent.com/84629565/182200473-a6535c98-cb26-46b8-aa6c-654f4e4f9d97.mp4"
loop
muted
autoplay
></video>
<div
class="overlay fixed top-0 right-0 bottom-0 left-0 w-full h-full overflow-hidden bg-fixed z-2 bg-gradient-to-r from-cyan-500/40 to-blue-500/60"
></div>
<section
class="books-display absolute inset-auto flex flex-col justify-self-start max-w-24 border-b-4 border-solid border-blue-100 pt-0 pr-1 pb-1 pl-1 my-0 mx-1 max-w-2xl w-11/12 space-y-4 z-3"
>
<h2 class="dummy-heading">All awesome books</h2>
</section>
<section
class="books-action hide-section absolute inset-auto max-w-lg flex flex-col pt-0 pr-1 pb-1 pl-1 my-0 mx-1 w-11/12 space-y-4 z-3"
>
<h2 class="text-slate-50 text-center self-center font-bold text-3xl">
Add a new book
</h2>
<div class="form-floating mb-3 xl:w-full">
<input
type="text"
class="form-control block w-full px-3 py-1.5 text-base font-normal text-sky-700 bg-white bg-clip-padding border border-solid border-gray-800 rounded transition ease-in-out m-0 focus:text-gray-700 focus:bg-slate-200 focus:border-blue-400 focus:outline-none"
id="title"
placeholder="Title"
/>
<label for="title" class="text-gray-500">Title</label>
</div>
<div class="form-floating mb-3 xl:w-full">
<input
type="text"
class="form-control block w-full px-3 py-1.5 text-base font-normal text-sky-700 bg-white bg-clip-padding border border-solid border-gray-800 rounded transition ease-in-out m-0 focus:text-gray-700 focus:bg-slate-200 focus:border-blue-400 focus:outline-none"
id="author"
placeholder="Author"
/>
<label for="author" class="text-gray-500">Author</label>
</div>
<div class="flex self-end items-center space-x-4">
<span class="alert-tooltip p-2 text-white rounded block" aria-live="polite"></span>
<button
type="button"
data-mdb-ripple="true"
data-mdb-ripple-color="light"
class="add-btn flex flex-row w-max items-center gap-1 self-end hover:shadow-blue-500/50 inline-block px-6 py-2.5 bg-blue-400 text-white font-medium text-md leading-tight capitalize rounded hover:bg-blue-500 hover:shadow-lg active:bg-blue-600 active:shadow-lg transition duration-150 ease-in-out"
>
add
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12 6v6m0 0v6m0-6h6m-6 0H6"
/>
</svg>
</button>
</div>
</section>
<section
class="contact-us hide-section absolute inset-auto flex flex-col justify-self-start max-w-24 border-b-4 border-solid border-blue-100 pt-0 pr-1 pb-1 pl-1 my-0 mx-1 max-w-2xl w-11/12 space-y-4 z-3"
>
<h2 class="text-slate-50 text-center self-center font-bold text-3xl">
Contact Us
</h2>
<h3 class="text-slate-50 font-bold text-lg">
Do you have any questions or you just want to say Hello? You can reach
out to us!
</h3>
<ul class="text-slate-50 ml-16 font-bold list-disc">
<li><p>Our e-mail: [email protected]</p></li>
<li><p>Our phone number: +251(929)287463 / +2347018669454</p></li>
<li><p>Our address: Streetname 22, 123456 City, Country</p></li>
</ul>
</section>
</main>
<footer
class="fixed left-4 bottom-4 text-slate-50 flex justify-between rounded justify-start w-11/12 mx-auto py-4 px-8 z-3 bg-gradient-to-r from-slate-50/50"
>
<p>Copyright © All rights reserved, 2022 Makoji D. and Michael M.</p>
</footer>
</body>
</html>