-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
148 lines (148 loc) · 5.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg" href="/logo.svg" />
<link
href="https://unpkg.com/ionicons@4.5.10-0/dist/css/ionicons.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="/sim.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Loading...</title>
</head>
<body>
<div id="root"></div>
<div id="con-sim" style="display: none">
<div class="loading">
<div class="loader">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
</div>
<div class="loading__bar"></div>
<div id="sidepanel">
<div class="sidepanel-item" id="sun">
<p>Sun</p>
<button class="cta" id="sunLocate">
<span>Find Sun</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
<div class="divider"></div>
<div class="sidepanel-item" id="mercury">
<p>Mercury</p>
<button class="cta" id="mercuryLocate">
<span>Find Mercury</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
<div class="divider"></div>
<div class="sidepanel-item" id="venus">
<p>Venus</p>
<button class="cta" id="venusLocate">
<span>Find Venus</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
<div class="divider"></div>
<div class="sidepanel-item" id="earth">
<p>Earth</p>
<button class="cta" id="earthLocate">
<span>Find Earth</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
<div class="divider"></div>
<div class="sidepanel-item" id="mars">
<p>Mars</p>
<button class="cta" id="marsLocate">
<span>Find Mars</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
<div class="divider"></div>
<div class="sidepanel-item" id="jupiter">
<p>Jupiter</p>
<button class="cta" id="jupiterLocate">
<span>Find Jupiter</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
<div class="divider"></div>
<div class="sidepanel-item" id="saturn">
<p>Saturn</p>
<button class="cta" id="saturnLocate">
<span>Find Saturn</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
<div class="divider"></div>
<div class="sidepanel-item" id="uranus">
<p>Uranus</p>
<button class="cta" id="uranusLocate">
<span>Find Uranus</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
<div class="divider"></div>
<div class="sidepanel-item" id="neptune">
<p>Neptune</p>
<button class="cta" id="neptuneLocate">
<span>Find Neptune</span>
<svg viewBox="0 0 13 10" height="10px" width="15px">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</button>
</div>
</div>
<div id="info">
<h3>Name</h3>
<p id="name"></p>
<h3>Mass</h3>
<p id="mass"></p>
<h3>Diameter</h3>
<p id="diameter"></p>
<h3>Gravity</h3>
<p id="gravity"></p>
<h3>Length of Year</h3>
<p id="lengthOfYear"></p>
<h3>Length of day</h3>
<p id="lengthOfDay"></p>
<h3>Description</h3>
<p id="desc"></p>
</div>
<canvas class="webgl"></canvas>
<script type="module" src="./simulations/index.js"></script>
</div>
<script type="module" src="sim.js"></script>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>