This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
111 lines (103 loc) · 4.7 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
<html>
<!-- Created by MrTron. If you see this POG? -->
<!--
╭━━━━╮╱╱╱╱╱╱╭━╮╭━┳━━━╮
┃╭╮╭╮┃╱╱╱╱╱╱┃┃╰╯┃┃╭━╮┃
╰╯┃┃┣┻┳━━┳━╮┃╭╮╭╮┃┃╱╰╯
╱╱┃┃┃╭┫╭╮┃╭╮┫┃┃┃┃┃┃╱╭╮
╱╱┃┃┃┃┃╰╯┃┃┃┃┃┃┃┃┃╰━╯┃
╱╱╰╯╰╯╰━━┻╯╰┻╯╰╯╰┻━━━╯
-->
<head>
<title>Giveaway! | TronMC</title>
<meta name="description" content="TronMC is hosting a giveaway! View here to check it out!">
<meta property="og:title" content="Giveaway! | TronMC">
<meta property="og:logo" content="https://tronmc.com/img/newlogo.png"
<meta property="og:site_name" content="Tron, Inc.">
<meta property="og:description" content="TronMC is hosting a giveaway! View here to check it out!">
<meta property="og:image" content="https://tronmc.com/img/festivelobby.png">
<meta property="og:url" content="giveaway.tronmc.com">
<meta name="twitter:card" content="summary_large_image">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, minimum-scale=1">
<meta charset="utf-8">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/stylesheet.css">
<link rel="stylesheet" href="https://cdn.rawgit.com/moqmar/weather.css/master/weather.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap" rel="stylesheet">
</head>
<body class="weather clear">
<center>
<div class="container">
<div class="logo">
<br>
<h1 style="display: none;">TronMC Christmas Giveaway!</h1>
<img id="tronmclogo" src="https://tronmc.com/img/christmaslogo.png">
<h1 id="counter">Countdown Loading...</h1>
<p><a href="/terms-and-conditions/giveaway-rules/"><strong>Click here to visit how to enter!</strong></a></p>
</div>
<br>
<div class="giveaway-grid">
<div class="giveaway-item">
<p>December 22nd, 2023</p>
<hr>
<img id="winner" src="https://media.tronmc.com/img/netherite_ingots.png" width="200px">
<p><strong>Netherite Ingot!</strong><p>
<hr>
<p id="winnername">Get yourself started with a netherite ingot to get a jumpstart on the new TronMC!</p>
</div>
<div class="giveaway-item">
<p>December 23rd, 2023</p>
<hr>
<img id="winner" src="https://media.tronmc.com/img/nitro_christmas.png" width="200px">
<p><strong>Nitro (Premium)</strong><p>
<hr>
<p id="winnername">Get Nitro! (this does include server boosting and all premium features.)</p>
</div>
<div class="giveaway-item">
<p>December 24th, 2023</p>
<hr>
<img id="winner" src="https://media.tronmc.com/img/steam-giftcard.jpg" width="200px">
<p><strong>Steam Gift Card!</strong><p>
<hr>
<p id="winnername">Get a Steam Gift Card! YOO!</p>
</div>
</div>
</center>
<footer>
<center>
<p id="copyrightboi" class="copyright">© TronMC 2023. All Rights Reserved.</p>
<p id="copyrightboi" class="copyrightaff">TronMC is not in any way affiliated with Mojang Studios or Microsoft.</p>
</center>
</footer>
<script src="https://code.jquery.com/jquery-1.11.2.min.js" type="text/javascript"></script>
<script src="js/snow.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
<script>
//Taken from TronMC's Maintenance Countdown
// Set the date we're counting down to
var countDownDate = new Date("Dec 22, 2023 13:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Output the result in an element with id="counter"
document.getElementById("counter").innerHTML = days + "d " + hours + "h " + minutes + "m " + seconds + "s ";
// If the count down is over, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("counter").innerHTML = "Giveaway has ended!";
}
}, 1000);
</script>
</body>
</html>