add licanse tag :3

This commit is contained in:
Ashley 2023-12-25 15:58:21 +00:00
parent 7f04604646
commit 9750981012

View file

@ -6,7 +6,7 @@
<title>Poke Rewind</title> <title>Poke Rewind</title>
<link href="/css/yt-ukraine.svg?v=6" rel=icon> <link href="/css/yt-ukraine.svg?v=6" rel=icon>
<meta content="website" property="og:type"> <meta content="website" property="og:type">
<meta content="Poke Rewind 2024" property="twitter:description"> <meta content="Poke Rewind 2023! - see the year 2023 in poke1" property="twitter:description">
<meta content="Poke Rewind!" property="og:title"> <meta content="Poke Rewind!" property="og:title">
<meta content="https://cdn.glitch.global/d68d17bb-f2c0-4bc3-993f-50902734f652/aa70111e-5bcd-4379-8b23-332a33012b78.image.png?v=1701898829884" property="og:image" /> <meta content="https://cdn.glitch.global/d68d17bb-f2c0-4bc3-993f-50902734f652/aa70111e-5bcd-4379-8b23-332a33012b78.image.png?v=1701898829884" property="og:image" />
<meta content="summary_large_image" name="twitter:card"> <meta content="summary_large_image" name="twitter:card">
@ -49,32 +49,29 @@
</div> </div>
<script> <script>
// Set the date we're counting down to // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
const countDownDate = new Date("December 27, 2023 00:00:00 UTC").getTime();
const countDownDate = new Date("December 28, 2023 00:00:00 UTC").getTime();
// Update the countdown every 1 second
const x = setInterval(function() { const x = setInterval(function() {
// Get the current date and time
const now = new Date().getTime(); const now = new Date().getTime();
// Calculate the remaining time in milliseconds
const distance = countDownDate - now; const distance = countDownDate - now;
// Calculate days, hours, minutes, and seconds
const days = Math.floor(distance / (1000 * 60 * 60 * 24)); const days = Math.floor(distance / (1000 * 60 * 60 * 24));
const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((distance % (1000 * 60)) / 1000); const seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Display the countdown in the "countdown" div
document.getElementById("countdown").innerHTML = `${days}d ${hours}h ${minutes}m ${seconds}s`; document.getElementById("countdown").innerHTML = `${days}d ${hours}h ${minutes}m ${seconds}s`;
// If the countdown is over, display a message // If the countdown is over, display a message
if (distance < 0) { if (distance < 0) {
clearInterval(x); clearInterval(x);
document.getElementById("countdown").innerHTML = "EXPIRED"; document.getElementById("countdown").innerHTML = "poke~ Rewind";
} }
}, 1000); // Update every 1000 milliseconds (1 second) }, 1000); // Update every 1000 milliseconds
// @license-end
</script> </script>
</body> </body>