-
Notifications
You must be signed in to change notification settings - Fork 0
/
HPNY.html
171 lines (149 loc) Β· 5.56 KB
/
HPNY.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
<!DOCTYPE html>
<html lang="th">
<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" />
<meta name="theme-color" content="#000000" />
<meta name="TNI Cybersec" content="π Happy New Year!!!" />
<title>TNI Cybersec | π Happy New Year!!!</title>
<meta name="description" content="π Happy New Year!!!" />
<!-- stylesheet -->
<link rel="stylesheet" href="css/style.css" />
<!-- bootstrap cdns -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"
integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous" />
<!-- fontawesome cdns -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.5.2/css/all.css" />
<!-- google fonts -->
<link href="https://fonts.googleapis.com/css?family=Athiti:100,100i,300,300i,400,400i,500,500i,700,700i"
rel="stylesheet" />
<link
href="https://fonts.googleapis.com/css?family=Mitr:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i"
rel="stylesheet" />
<!-- favicon -->
<link rel="shortcut icon" href="img/TNICyberWebIcon.ico" />
<link rel="apple-touch-icon" href="img/TNICyberWebIcon.ico">
<link rel="manifest" href="common/manifest.json" />
<!-- terminal effect -->
<script src="js/t.min.js"></script>
<!-- for on scroll animations -->
<link rel="stylesheet" href="css/animate.min.css" />
<script src="js/wow.min.js"></script>
<style>
#ChristmasEve {
position: fixed;
right: 0;
bottom: 0;
min-width: 50%;
min-height: 50%;
transform: translateX(calc((100% - 100vw) / 2));
}
centered {
position: absolute;
top: 50%;
left: 50%;
min-width: 80%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
}
.container {
margin: 50px auto 40px auto;
text-align: center;
}
.shadows {
text-shadow: rgb(0, 0, 0) 2px 0 10px;
}
.hpny {
background-image: url("https://i.pinimg.com/originals/d4/e4/2f/d4e42f1b817a4a4fae7417155103b1f1.gif");
background-position: center;
background-size: cover;
min-height: 100%;
}
</style>
</head>
<body>
<!-- loader -->
<div id="loader"></div>
<div class="wrapper">
<!--------------- navbar starts here --------------->
<nav>
<span id="brand" class="circleScaleBtn2 logo user-select-none wow bounceIn" data-wow-delay="0.6s"
onclick="location.href='index.html'">
<img rel="preload" as="image" width="auto" height="55" src="img/TNICyberWeb.png" />
</span>
</nav>
<!--------------- navbar ends here --------------->
<div class="snowflakes" aria-hidden="true">
<div class="snowflake">β
</div>
<div class="snowflake">β</div>
<div class="snowflake">β
</div>
<div class="snowflake">β</div>
<div class="snowflake">β
</div>
<div class="snowflake">β</div>
<div class="snowflake">β
</div>
<div class="snowflake">β</div>
<div class="snowflake">β
</div>
<div class="snowflake">β</div>
<div class="snowflake">β
</div>
<div class="snowflake">β</div>
<div class="snowflake">β
</div>
<div class="snowflake">β</div>
<div class="snowflake">β
</div>
</div>
<!--------------- hero section starts here --------------->
<audio autoplay loop id="ChristmasEve">
<source src="video/ChristmasEve.mp4" type="video/mp4" />
Your browser does not support HTML5 video.
</audio>
<div rel="preload" as="image" class="hpny wow bounceIn">
<div class="hero user-select-none">
<div class="header">
<div class="wow bounceIn">
<h1>πππππ</h1>
<h1 class="rainbowText">Happy New Year</h1>
<h1 class="rainbowText">οΌΌ\ <span id="hpny"></span> /οΌ</h1>
<h3 class="wow bounceIn" data-wow-delay="0.2s">
<i class="fa-solid fa-hand-pointer"></i> Tap to
<span id="control-icon"><i class="fa-solid fa-play"></i> &
<i class="fa-solid fa-pause"></i></span>
</h3>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct"
crossorigin="anonymous"></script>
<!-- javascript -->
<script src="js/script.js"></script>
<script src="js/hero.js"></script>
<!-- greensock cdn -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/TweenMax.min.js"></script> -->
<script type="text/javascript">
// Year
var YEAR = new Date().getFullYear();
var HPNY = YEAR + 1;
document.getElementById("hpny").textContent = HPNY;
// Click anywhere to play the audio
controlIcon = document.getElementById("control-icon");
video = document.getElementById("ChristmasEve");
document.addEventListener("click", function () {
// Toggle play/pause
if (video.paused) {
video.play();
controlIcon.innerHTML = '<i class="fa-solid fa-pause"></i>';
} else {
video.pause();
controlIcon.innerHTML = '<i class="fa-solid fa-play"></i>';
}
});
new WOW().init();
</script>
</body>
</html>