-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (48 loc) · 1.55 KB
/
Copy pathindex.html
File metadata and controls
48 lines (48 loc) · 1.55 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=320, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>Plane Tracker</title>
<link rel="stylesheet" href="style.css" />
<!-- Optional: Apple-style favicon -->
<link
rel="icon"
type="image/svg+xml"
href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23007aff'/><text x='16' y='22' font-size='16' text-anchor='middle' fill='white' font-family='Inter,Arial,sans-serif'>✈️</text></svg>"
/>
</head>
<body>
<main>
<section class="card" role="region" aria-label="Nearest Plane">
<div id="arrow-container">
<div id="arrow" aria-label="Direction Arrow">
<svg
viewBox="0 0 24 24"
fill="currentColor"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
<path d="M2 12l19-7-7 7 7 7-19-7z" />
</svg>
</div>
</div>
<div id="distance" aria-live="polite"></div>
<div class="divider"></div>
<div id="details" aria-live="polite">
<span class="details-empty">Loading...</span>
</div>
</section>
</main>
<script type="module">
import { startTracking } from "./plane-tracker.js";
startTracking();
</script>
</body>
</html>