-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
152 lines (151 loc) · 4.98 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
<!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" />
<meta
name="description"
content="Animated web page that shows the current position of the International Space Station"
/>
<!-- Fav-icon -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="./assets/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./assets/favicon-16x16.png"
/>
<!-- CSS & Fonts -->
<link rel="stylesheet" href="./styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=Exo:wght@400;500;600&display=swap""
rel="stylesheet" crossorigin="anonymous" />
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin="anonymous"
/>
<!-- Scripts -->
<script
src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin="anonymous"
defer
></script>
<script
crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"
defer
></script>
<script type="text/javascript" src="./JS/app.js" defer></script>
<script type="text/javascript" src="./JS/particles.min.js" defer></script>
<script type="text/javascript" src="./JS/particlesJS.js" defer></script>
<title>Where is the International Space Station?</title>
</head>
<body>
<div class="particles-container" id="particles-js">
<header>
<h1 class="logo">
Where is the <br />
<a
href="https://www.nasa.gov/mission_pages/station/main/index.html"
target="_blank"
rel="noopener noreferrer"
><span>International Space Station</span></a
>
now?
</h1>
<nav>
<ul>
<li>
<a
href="https://www.nasa.gov/mission_pages/station/main/index.html"
target="_blank"
rel="noopener noreferrer"
>ABOUT ISS</a
>
</li>
<li>
<a
href="https://www.esa.int/Science_Exploration/Human_and_Robotic_Exploration/International_Space_Station/Where_is_the_International_Space_Station"
target="_blank"
rel="noopener noreferrer"
>OFFICIAL ISS TRACKER</a
>
</li>
</ul>
</nav>
</header>
<div role="main" class="main">
<div class="container">
<div id="map" class="map"></div>
<div class="info-container">
<h2>ISS Information</h2>
<ul class="info-list">
<li class="info">Latitude: <span id="latitude"></span></li>
<li class="info">Longitude: <span id="longitude"></span></li>
<li class="info">Altitude: <span id="altitude"></span></li>
<li class="info">Velocity: <span id="velocity"></span></li>
<li class="info">Visibility: <span id="visibility"></span></li>
</ul>
<div class="center">
<button class="btn">
<svg
id="svg-btn"
width="180px"
height="50px"
viewBox="0 0 180 50"
class="border"
>
<polyline
points="179,1 179,59 1,59 1,1 179,1"
class="bg-line"
/>
<polyline
points="179,1 179,59 1,59 1,1 179,1"
class="hl-line"
/>
</svg>
<span>REFRESH</span>
</button>
</div>
</div>
</div>
</div>
<svg
viewBox="0 0 1749 1241"
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
fill-rule="evenodd"
clip-rule="evenodd"
stroke-linejoin="round"
stroke-miterlimit="2"
>
<path
id="star"
d="m530 565 118-91-113 96c-2 3-2 2-6 3-3 0-5-2-3-4 2-3 0-2 4-4Z"
fill="#fff"
/>
</svg>
</div>
</body>
</html>