-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
140 lines (139 loc) · 5.38 KB
/
index.html
File metadata and controls
140 lines (139 loc) · 5.38 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no"
/>
<meta name="keywords" content="Solar System, JavaScript, Three.js" />
<meta
name="description"
content="Demonstration of Three.js meshes and textures using planets"
/>
<title>Solar System Explorer</title>
<link rel="stylesheet" href="/src/styles/main.css" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three@0.161/build/three.module.js",
"jsm/": "https://cdn.jsdelivr.net/npm/three@0.161/examples/jsm/"
}
}
</script>
</head>
<body>
<h1>Explore The Solar System</h1>
<div class="planet-orbit">
<a href="/inner-planets/mercury.html" class="navbutton"
><img
src="/src/images/icons/mercury_8967209.png"
alt="planet icon"
/>
<p>Mercury</p></a
><a href="/inner-planets/venus.html" class="navbutton"
><img
src="/src/images/icons/venus_1086102.png"
alt="planet icon"
/>
<p>Venus</p></a
>
<a href="/inner-planets/earth.html" class="navbutton"
><img
src="/src/images/icons/earth_4393233.png"
alt="planet icon"
/>
<p>Earth</p></a
><a href="/inner-planets/mars.html" class="navbutton"
><img
src="/src/images/icons/mars_1751853.png"
alt="planet icon"
/>
<p>Mars</p></a
><a href="/outer-planets/jupiter.html" class="navbutton"
><img
src="/src/images/icons/jupiter_3590284.png"
alt="planet icon"
/>
<p>Jupiter</p></a
><a href="/outer-planets/saturn.html" class="navbutton"
><img
src="/src/images/icons/saturn_3336008.png"
alt="planet icon"
/>
<p>Saturn</p></a
><a href="/outer-planets/uranus.html" class="navbutton"
><img
src="/src/images/icons/uranus_1086101.png"
alt="planet icon"
/>
<p>Uranus</p></a
><a href="outer-planets/neptune.html" class="navbutton"
><img
src="/src/images/icons/neptune_3149263.png"
alt="planet icon"
/>
<p>Neptune</p></a
>
</div>
<div class="planet-select">
<a href="/inner-planets/mercury.html"
><img
src="/src/images/icons/mercury_8967209.png"
alt="planet icon" /></a
><a href="/inner-planets/venus.html"
><img
src="/src/images/icons/venus_1086102.png"
alt="planet icon"
/></a>
<a href="/inner-planets/earth.html"
><img
src="/src/images/icons/earth_4393233.png"
alt="planet icon" /></a
><a href="/inner-planets/mars.html"
><img
src="/src/images/icons/mars_1751853.png"
alt="planet icon" /></a
><a href="/outer-planets/jupiter.html"
><img
src="/src/images/icons/jupiter_3590284.png"
alt="planet icon" /></a
><a href="/outer-planets/saturn.html"
><img
src="/src/images/icons/saturn_3336008.png"
alt="planet icon" /></a
><a href="/outer-planets/uranus.html"
><img
src="/src/images/icons/uranus_1086101.png"
alt="planet icon" /></a
><a href="outer-planets/neptune.html"
><img
src="/src/images/icons/neptune_3149263.png"
alt="planet icon"
/></a>
</div>
<div
class="planet-button"
onclick="document.getElementById('planets').style.display='grid'"
>
<h1>Planets</h1>
</div>
<div id="planets">
<div><a href="/inner-planets/mercury.html">Mercury</a></div>
<div><a href="/inner-planets/venus.html">Venus</a></div>
<div><a href="/inner-planets/earth.html">Earth</a></div>
<div><a href="/inner-planets/mars.html">Mars</a></div>
<div><a href="/outer-planets/jupiter.html">Jupiter</a></div>
<div><a href="/outer-planets/saturn.html">Saturn</a></div>
<div><a href="/outer-planets/uranus.html">Uranus</a></div>
<div><a href="/outer-planets/neptune.html">Neptune</a></div>
<div
onclick="document.getElementById('planets').style.display='none'"
>
Close
</div>
</div>
<script type="module" src="src/js/index.js"></script>
</body>
</html>