-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
484 lines (463 loc) · 17.4 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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Doniws Personal Galaxy</title>
<link rel="stylesheet" href="space.css" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<!-- ------------------------------------------------------------------------------------------- -->
<!-- description -->
<meta name="description" content="hello, this site is my personal website, let's see my website,Space Solar System " />
<meta name="robots" content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large" />
<link rel="canonical" href="https://doniws.netlify.app" />
<meta property="og:updated_time" content="2021-25-09 T9:0:09+00:00" />
<!-- -------------------------------------------------------------------------------- -->
<!-- link js font -->
<link rel="stylesheet" href="./fontawesome6/pro/css/all.css">
<!-- swiper -->
<link
rel="stylesheet"
href="swiper/swiper.min.css"
/>
</head>
<body>
<div id="preloader"></div>
<!-- -----------------------navbar ---------------------------- -->
<nav>
<div class="logo">PLANETSX</div>
<div class="nav-links">
<ul>
<li><a onclick="myspace()" id="space"> <i class="fa-duotone fa-user-astronaut fa-flash"></i></li></a>
<li><a onclick="mespace()" href="#section-rocket" ><i class="fa-duotone fa-rocket-launch fa-flash"></i></li></a>
<li><a href="#therocket" id="iconmusicplay" ><i onClick="return confirm('Tunggu beberapa detik untuk melihat shuttle space ')" class="fa-duotone fa-shuttle-space fa-beat"></i></li></a>
<li><a href="#sectiontwo" id="fullscr"><i class="fa-duotone fa-planet-ringed fa-beat"></i></li></a>
<li><a href="./solar-system.html"><i class="fa-duotone fa-galaxy fa-beat"></i></li></a>
</ul>
</div>
</nav>
<!-- --------------------------Halaman pertama-------------------------- -->
<section id="sectionone" class="screen">
<div id="scene">
<div data-depth="0.1" class="bg">
<img src="images/background.webp" alt="" />
</div>
<div data-depth="0.2" class="rock1">
<img src="images/rock.webp" alt="" />
</div>
<div data-depth="1.2" class="earth">
<img src="images/earth.webp" alt="" />
</div>
<div data-depth="0.1" class="text">
<h1>GALAXY</h1>
</div>
<div data-depth="0.4" class="mid">
<img src="images/mid.webp" alt="" />
</div>
<div data-depth="0.1" class="fore">
<img src="images/foreground.webp" alt="" />
</div>
</div>
<!-- star -->
<div class="stars">
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
</div>
</section>
<!-- ----------------------Halaman kedua----------------------------- -->
<section class="therocket" id="therocket">
<div >
<img class="rocketfly" src="images/rocket.png">
<img class="ufo" src="images/alienufo.gif">
<img class="astronaut" src="images/astronout.gif">
<img class="iss" src="images/spacestatiun.gif">
</div>
</div>
</section>
<div class="canvas">
<div class="rocketspacexheavy">
<img src="images/spacexheavy.png" alt="spacexrocketfalcon9blockmax"><span></span>
</div>
</div>
<!-- space x falco heavy b5 -->
<!-- ---------------Halaman ketiga------------------------ -->
<section id="sectiontwo" class="screen">
<div class="swiper-container">
<div class="swiper-wrapper">
<!-- SLIDE ONE -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Mercury</span></p>
</div>
<div class="slide-text">
<h4><span>01</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Mercury is the closest planet to the Sun but, perhaps
surprisingly, it does not have the highest temperatures. It is
the second densest planet of the Solar System, but also the
smallest planet.<a href="https://en.wikipedia.org/wiki/Mercury_(planet)" style="text-decoration: none;"> Wikpedia</a>
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD :
<span style="opacity: 0.8">87.97 Earth Days</span>
</h5>
<h5>KNOWN MOONS : <span style="opacity: 0.8">None</span></h5>
</div>
</div>
<div class="slide-img"><img src="images/mercury.webp"></div>
</div>
<!-- 02 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Venus</span></p>
</div>
<div class="slide-text">
<h4><span>02</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Venus is the second planet from the Sun and the
sixth-largest. Together with Mercury, they are the only
planets without a satellite, even though Mercury is closer to
the sun, Venus is the hottest planet.<a href="https://en.wikipedia.org/wiki/Venus" style="text-decoration: none;"> Wikpedia</a>
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD :
<span style="opacity: 0.8">224.70 Earth days</span>
</h5>
<h5>KNOWN MOONS : <span style="opacity: 0.8">None</span></h5>
</div>
</div>
<div class="slide-img"><img src="images/venus.webp"></div>
</div>
<!-- 03 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Earth</span></p>
</div>
<div class="slide-text">
<h4><span>03</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Earth is the third planet from the Sun and the fifth largest
planet in the Solar System with the highest density. It is
currently the only known location where life is present.<a href="https://en.wikipedia.org/wiki/Earth" style="text-decoration: none;"> Wikpedia</a>
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD :
<span style="opacity: 0.8">365.26 Earth days</span>
</h5>
<h5>KNOWN MOONS : <span style="opacity: 0.8">1</span></h5>
</div>
</div>
<div class="slide-img"><img src="images/earth1.webp"></div>
</div>
<!-- 04 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Mars</span></p>
</div>
<div class="slide-text">
<h4><span>04</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Mars is the fourth planet from the Sun and the
second-smallest planet with a thin atmosphere, having the
surface features reminiscent both of the impact craters of the
Moon, and the valleys, deserts and polar ice caps of Earth.<a href="https://en.wikipedia.org/wiki/Mars"> Wikpedia</a>
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD :
<span style="opacity: 0.8">686.98 Earth days</span>
</h5>
<h5>KNOWN MOONS : <span style="opacity: 0.8">2</span></h5>
</div>
</div>
<div class="slide-img"><img src="images/mars.webp"></div>
</div>
<!-- 05 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Jupiter</span></p>
</div>
<div class="slide-text">
<h4><span>05</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Jupiter is the fifth planet from the Sun and the largest
planet of the Solar System. It is the oldest planet of the
Solar System thus it was the first to take shape out of the
remains of the solar nebula.<a href="https://en.wikipedia.org/wiki/Jupiter"> Wikpedia</a>
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD :
<span style="opacity: 0.8">4,332.82 Earth days</span>
</h5>
<h5>KNOWN MOONS : <span style="opacity: 0.8">67</span></h5>
</div>
</div>
<div class="slide-img"><img src="images/jupiter.webp"></div>
</div>
<!-- 06 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Saturn</span></p>
</div>
<div class="slide-text">
<h4><span>06</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Saturn is the sixth planet from the Sun, with the largest
planetary rings in the Solar System. It is the second-largest
planet after Jupiter, and recently, with many other moons
being discovered, it surpassed the number of Jupiter’s moons.<a href="https://en.wikipedia.org/wiki/Saturn"> Wikipedia</a>
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD :
<span style="opacity: 0.8">10,755.70 Earth days</span>
</h5>
<h5>KNOWN MOONS : <span style="opacity: 0.8">62</span></h5>
</div>
</div>
<div class="slide-img"><img src="images/saturn.webp"></div>
</div>
<!-- 07 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Uranus</span></p>
</div>
<div class="slide-text">
<h4><span>07</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Uranus is the seventh planet discovered in the Solar System
that also led to the discovery of the last planet, Neptune
they are both referred to as ice giants.<a href="https://en.wikipedia.org/wiki/Uranus"> Wikipedia</a>
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD :
<span style="opacity: 0.8">30,687.15 Earth days</span>
</h5>
<h5>KNOWN MOONS : <span style="opacity: 0.8">27</span></h5>
</div>
</div>
<div class="slide-img"><img src="images/uranus.webp"></div>
</div>
<!-- 08 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Neptune</span></p>
</div>
<div class="slide-text">
<h4><span>08</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Neptune is the fourth largest and the farthest planet of the
Solar System with the most powerful wind speeds out of all the
planets. It is the smallest of the gas giants.<a href="https://en.wikipedia.org/wiki/Neptune"> Wikipedia</a>
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD :
<span style="opacity: 0.8">60,190.03 Earth days</span>
</h5>
<h5>KNOWN MOONS : <span style="opacity: 0.8">14</span></h5>
</div>
</div>
<div class="slide-img"><img src="images/neptune.webp"></div>
</div>
</div>
</div>
<!-- SLIDER LINKS -->
<div>
<div class="rockbg1">
<img src="images/rock.webp" alt="">
</div>
<div class="planet-links"></div>
</div>
</section>
<!---------------------------------- area javascript ---------------------------------------------------->
<!------- ini buat Fullscreen-------- -->
<script>
/* Fullscreen btn */
let fullscreen;
let fsEnter = document.getElementById('fullscr');
fsEnter.addEventListener('click', function (e) {
e.preventDefault();
if (!fullscreen) {
fullscreen = true;
document.documentElement.requestFullscreen();
}
else {
fullscreen = false;
document.exitFullscreen();
}
});
</script>
<!-- gsap ------------------------- -->
<script src="./gsap-public/minified/gsap.min.js" ></script>
<script src="./gsap-public/minified/ScrollTrigger.min.js"></script>
<script>
function myspace() {
var log_out = confirm;
var bx =
document.getElementById("space");
if (window.confirm("ID:Anda Mau Berangkat ke Mars?! ")) {
window.open('404.html', '_top');
}
}
function mespace() {
var log_out = confirm;
var bx =
document.getElementById("space");
if (window.confirm("ID:Menjelajah Tampa Batas?! ")) {
window.open("3drocket.html","_top");
}
}
</script>
<!----------------- buat background music ------------->
<audio loop id="Mysong">
<source src="songs/Space-Backsound.mp3" type="audio/mp3">
</audio>
<script>
// ini lagunya
var Mysong = document.getElementById("Mysong");
// ini buat icon nya
var icon = document.getElementById("iconmusicplay");
icon.onclick = function(){
if(Mysong.paused){
Mysong.play();
}
else{
Mysong.pause();
}
}
</script>
<!-- disini gsap -->
<script>
// gsap biasa
gsap.from('.canvas .rocketspacexheavy img',{duration:90, y:-5000,ease:'power4',delay:1,opacity:0});
gsap.to('.canvas .rocketspacexheavy img',{duration:90, y:3700,ease:"bounce"});
gsap.from('.astronaut',{duration:60, y:-1000,ease:'bounce'});
gsap.from('.iss',{duration:70, x:-1000,ease:'rough'});
gsap.from('#sectiontwo', 1 ,{y:2,repeat:-1,yoyo:true});
gsap.from('.therocket',1,{yoyo:true, y:-2,repeat:-1});
gsap.from('.slide-img',{yoyo:true, y:5,repeat:-1,delay:0});
gsap.from('.rocketfly',{duration:25, x:3000,ease:'expo',repeat:-1,delay:0});
gsap.from('.ufo',{duration:20, x:3000,ease:'power4',repeat:-1,delay:0});
gsap.from('nav',{duration:10, y:-80,ease:'bounce'});
gsap.from('.slide-number',{duration:10, y:100,ease:'elastic'});
gsap.from('.slide-number',{duration:10, x:-100,ease:'back'});
gsap.from('h5',{duration:10, x:-100,ease:'sine'});
gsap.from('.slide-detail p span',{duration:10, x:-100,ease:'power4' });
gsap.from('.logo',{duration:10, x:-100,ease:'slow' });
gsap.from('.nav-links',{duration:10, x:100,ease:'elastic' });
</script>
<script src="swiper/swiper.min.js"></script>
<script src="parallax/parallax.min.js"></script>
<script src="space.js" type="text/javascript"></script>
<!----------------------- untuk loading ----------------->
<script>
var loader = document.getElementById("preloader")
window.addEventListener("load",function(){
loader.style.display="none";
})
</script>
<!-- disini untuk js stars -->
<script>
function stars() {
let count = 50;
let canvas = document.querySelector('.canvas');
let i = 0;
while(i < count){
let star = document.createElement('i');
let x = Math.floor(Math.random() * window.innerWidth);
let duration = Math.random() * 1;
let h = Math.random() * 100;
star.style.left = x + 'px';
star.style.width = 1 + 'px'
star.style.height = h + 'px';
star.style.animationDuration = duration + 's';
canvas.appendChild(star);
i++;
}
}
stars();
</script>
</body>
</html>