-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
346 lines (309 loc) · 19.1 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <script src="https://cdn.tailwindcss.com"></script> -->
<link rel="stylesheet" href="./css/style.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link href="main.css" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<title>Fireball</title>
<style>
</style>
</head>
<body>
<nav class="navbar ">
<div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4">
<a href="#" class=" items-center flex align-middle ">
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">C</span>
<img src="./assets/logo.png" class="h-8 px-1" alt="Flowbite Logo" />
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">MET</span>
</a>
<a href="#" class="text-white bg-orange-600 py-1 px-6 rounded bg-gradient-to-r from-orange-600 to-orange-500">Get
Started</a>
</div>
</nav>
<main class="hero__section flex sm:w-auto items-center ">
<div class="hero__section__img md:w-full sm:w-full">
<div class="img">
<img src="./assets/hero img.png" alt="">
</div>
</div>
<div class="hero__section__text md:w-full">
<h2 class="text-6xl text-white font-semibold
">Get The Experience Of Exploring The Universe </h2>
<p class="text-white py-4">Learn more about galaxy world</p>
<a href="#" class="text-white bg-orange-600 py-2 px-6 rounded bg-gradient-to-r from-orange-600 to-orange-500">Get
Started</a>
<div class="hero__section__text__count flex items-center my-5">
<div class="flex ">
<div class="imgs mx-2">
<img src="./assets/icon.png" alt="">
</div>
<div class="items-center flex flex-col ">
<h3 class=" text-slate-100 text-lg font-semibold">1000+</h3>
<p class="text-neutral-400 ">Comet Data</p>
</div>
</div>
<div class="seperator mx-6">
<span class="text-neutral-200 font-medium ">|</span>
</div>
<div class="flex ">
<div class="imgs ">
<img src="./assets/daily_user.png" alt="">
</div>
<div class="items-center flex flex-col ">
<h3 class=" text-slate-100 text-lg font-semibold">100+</h3>
<p class="text-neutral-400 ">Daily User</p>
</div>
</div>
</div>
</div>
</main>
<section class="flex justify-center search py-6">
<div class="relative overflow-x-auto ">
<!-- top search -->
<div class="searchHeader flex justify-between my-4">
<div class="items-controller flex">
<h5 class="text-white ">Show</h5>
<select name="" id="itemPerPage" class="bg-red-100 p-2 mx-4 rounded">
<option value="4">4</option>
<option value="6" selected>6</option>
<option value="8">8</option>
<option value="10">10</option>
</select>
<h5 class="text-white ">Per Page</h5>
</div>
<div class="search">
<h5>Search</h5>
<form action="" id="inputSearchBar">
<input type="text" name="" id="search" placeholder="search"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
</form>
</div>
</div>
<!-- top search end -->
<table class=" text-sm text-left text-gray-500 dark:text-gray-400 ">
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
<tr>
<th scope="col" class="px-6 py-3">Name</th>
<th scope="col" class="px-6 py-3">id</th>
<!-- <th scope="col" class="px-6 py-3">Composition Type</th> -->
<th scope="col" class="px-6 py-3">Mass </th>
<th scope="col" class="px-6 py-3">Year</th>
<th scope="col" class="px-6 py-3">Rec Class</th>
<th scope="col" class="px-6 py-3">Latitude</th>
<th scope="col" class="px-6 py-3">Longitude</th>
<!-- <th scope="col" class="px-6 py-3">Total Strike</th>
<th scope="col" class="px-6 py-3">Country</th> -->
</tr>
</thead>
<tbody id="tbody">
</tbody>
</table>
<nav aria-label=" navigation w-full ">
<div class="flex justify-center my-4">
<!--pagination -->
<button id="prev-button"
class=" flex items-center justify-center px-4 h-10 ml-0 leading-tight text-gray-500 bg-white border border-gray-300 rounded-l-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white">Previous</button>
<div class="inline-flex -space-x-px text-base h-10 pagination">
<button id="pageNumber"
class="flex items-center justify-center px-4 h-10 text-blue-600 border border-gray-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white relative">1</button>
</div>
<button id="next-button"
class="flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 rounded-r-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white">Next</button>
</div>
</nav>
</div>
</section>
<!-- chart start -->
<!-- modal popup-->
<!-- Modal toggle -->
<section class="modal fl py-6 flex flex-col hidden">
<div class="flex justify-between py-2">
<div class=""></div>
<div class="">
<button class="btn-close ">⨉</button>
</div>
</div>
<div class="flex justify-between">
<div class="histogram w-1/2">
<div class="calculate">
<p>
Total strikes:
<span style="font-size: 25px" id="totalStrikes"></span>
</p>
<p>
Average strikes per year:
<span style="font-size: 25px" id="averageStrikes"></span>
</p>
</div>
<div class="chart" id="yearHistogramContainer">
<canvas id="yearHistogram"></canvas>
</div>
</div>
<!-- chart end -->
<!-- map start -->
<div id="mapWrapper" class="map w-1/2">
<div id="map" style="height: 300px; width: 100%; border-radius: 10px"></div>
<button id="switchButton">Table</button>
</div>
<!-- map end -->
</div>
</section>
<div class="overlay hidden"></div>
<!-- <button class="btn btn-open">Open Modal</button> -->
<!-- modal popup-->
<!-- team -->
<section class="bg-white dark:bg-gray-900">
<div class="py-8 px-4 mx-auto max-w-screen-xl text-center lg:py-16 lg:px-6">
<div class="mx-auto mb-8 max-w-screen-sm lg:mb-16">
<h2 class="mb-4 text-4xl tracking-tight font-extrabold text-gray-900 dark:text-white">Our team</h2>
<p class="font-light text-gray-500 sm:text-xl dark:text-gray-400">Explore the whole collection of open-source
web components and elements built with the utility classes from Tailwind</p>
</div>
<div class="grid gap-8 lg:gap-16 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4">
<div class="text-center text-gray-500 dark:text-gray-400">
<img class="mx-auto mb-4 w-36 h-36 rounded-full" src="./assets/65843935.jpg" alt="Bonnie Avatar">
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
<a href="#">Sadik Shaikh</a>
</h3>
<p>Designer/Developer</p>
<ul class="flex justify-center mt-4 space-x-4">
<li>
<a href="https://www.linkedin.com/in/shaikh-sadik/"
class="text-[#00acee] hover:text-gray-900 dark:hover:text-white">
<!-- <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
</svg> -->
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="currentColor" style="color: #0077b5"
viewBox="0 0 24 24">
<path
d="M4.98 3.5c0 1.381-1.11 2.5-2.48 2.5s-2.48-1.119-2.48-2.5c0-1.38 1.11-2.5 2.48-2.5s2.48 1.12 2.48 2.5zm.02 4.5h-5v16h5v-16zm7.982 0h-4.968v16h4.969v-8.399c0-4.67 6.029-5.052 6.029 0v8.399h4.988v-10.131c0-7.88-8.922-7.593-11.018-3.714v-2.155z" />
</svg>
</a>
</li>
<li>
<a href="https://github.com/abdullahsadik00"
class="text-gray-900 hover:text-gray-900 dark:hover:text-white dark:text-gray-300">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
fill="currentColor"
style="color: #333"
viewBox="0 0 24 24">
<path
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
</svg>
</a>
</li>
</ul>
</div>
<div class="text-center text-gray-500 dark:text-gray-400">
<img class="mx-auto mb-4 w-36 h-36 rounded-full"
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/helene-engels.png" alt="Helene Avatar">
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
<a href="#">Shivani</a>
</h3>
<p>UI/UX Designer</p>
<ul class="flex justify-center mt-4 space-x-4">
<li>
<a href="#" class="text-[#00acee] hover:text-gray-900 dark:hover:text-white">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
</svg>
</a>
</li>
<li>
<a href="#" class="text-gray-900 hover:text-gray-900 dark:hover:text-white dark:text-gray-300">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd"
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
clip-rule="evenodd" />
</svg>
</a>
</li>
</ul>
</div>
<div class="text-center text-gray-500 dark:text-gray-400">
<img class="mx-auto mb-4 w-36 h-36 rounded-full"
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png" alt="Jese Avatar">
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
<a href="#">Markist</a>
</h3>
<p>Project Guide</p>
<ul class="flex justify-center mt-4 space-x-4">
<li>
<a href="#" class="text-[#00acee] hover:text-gray-900 dark:hover:text-white">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
</svg>
</a>
</li>
<li>
<a href="#" class="text-gray-900 hover:text-gray-900 dark:hover:text-white dark:text-gray-300">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd"
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
clip-rule="evenodd" />
</svg>
</a>
</li>
</ul>
</div>
<div class="text-center text-gray-500 dark:text-gray-400">
<img class="mx-auto mb-4 w-36 h-36 rounded-full"
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/joseph-mcfall.png" alt="Joseph Avatar">
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
<a href="#">Joseph Mcfall</a>
</h3>
<p>Sales</p>
<ul class="flex justify-center mt-4 space-x-4">
<li>
<a href="#" class="text-[#00acee] hover:text-gray-900 dark:hover:text-white">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
</svg>
</a>
</li>
<li>
<a href="#" class="text-gray-900 hover:text-gray-900 dark:hover:text-white dark:text-gray-300">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd"
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
clip-rule="evenodd" />
</svg>
</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<!-- team end -->
<form action="" id="inputSearchBar">
search <input type="text" name="search" id="inputBox">
<button type="submit">Submit</button>
</form>
<!-- chart -->
<script src="./script/appp.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<script>
let data = [{ "name": "Aachen", "id": "1", "nametype": "Valid", "recclass": "L5", "mass": "21", "fall": "Fell", "year": "1880-01-01T00:00:00.000", "reclat": "50.775000", "reclong": "6.083330", "geolocation": { "latitude": "50.775", "longitude": "6.08333" } }
, { "name": "Aarhus", "id": "2", "nametype": "Valid", "recclass": "H6", "mass": "720", "fall": "Fell", "year": "1951-01-01T00:00:00.000", "reclat": "56.183330", "reclong": "10.233330", "geolocation": { "latitude": "56.18333", "longitude": "10.23333" } }
, { "name": "Abee", "id": "6", "nametype": "Valid", "recclass": "EH4", "mass": "107000", "fall": "Fell", "year": "1952-01-01T00:00:00.000", "reclat": "54.216670", "reclong": "-113.000000", "geolocation": { "latitude": "54.21667", "longitude": "-113.0" } }
, { "name": "Acapulco", "id": "10", "nametype": "Valid", "recclass": "Acapulcoite", "mass": "1914", "fall": "Fell", "year": "1976-01-01T00:00:00.000", "reclat": "16.883330", "reclong": "-99.900000", "geolocation": { "latitude": "16.88333", "longitude": "-99.9" } }
]
</script>
</body>
</html>