-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (57 loc) · 2.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/TextPlugin.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/PixiPlugin.min.js"></script>
<script src="script.js" type="module"></script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="theme-color" content="#2a2a2a" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Indonesia Emas 2024</title>
</head>
<body>
<div class="container">
<div class="footer"> #mininxd </div>
<video id="videoEl" autoplay loop muted playsinline class="background-clip">
<source id="sourceEl" src="assets/opening.mp4" type="video/mp4">
</video>
<div style="display:none; opacity:0;" id="content">
<div id="logo" class="logo">
<img src="https://upload.wikimedia.org/wikipedia/commons/a/a2/Logo_of_Ministry_of_Communication_and_Information_Technology_of_the_Republic_of_Indonesia.svg">
<img src="https://dpmesdm.boalemokab.go.id/src/logo-PU.png">
<img src="https://d22gwcrfo2de51.cloudfront.net/wp-content/uploads/2022/06/Logo-Pertamina-resize-2-1.png">
<img src="https://jasalogocepat.com/wp-content/uploads/2023/09/logo-bumn-tanpa-background-1-jasalogocepat-768x253.png">
</div>
<div id="title">
<h1 id='titleEl'></h1>
</div>
<span id="scrambleTitleEl"></span>
</div>
<div id="footerScramble"></div>
<div id="footerScramble2"></div>
</div>
<script type="module">
import {gsapEl, scrambleTitle, scrambleInfinite} from './script.js';
var audioEl = new Audio('./assets/wait.mp3');
audioEl.play();
setTimeout( function() {
content.style.display = "block";
}, 300)
setTimeout( function() {
videoEl.pause();
sourceEl.setAttribute("src","./assets/idle.mp4");
videoEl.load();
videoEl.play();
content.style.opacity = "1";
content.style.userSelect = "all";
gsapEl();
scrambleInfinite();
scrambleTitle();
}, 24799);
//24700
</script>
</body>
</html>