-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 2.3 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
<!doctype html>
<html>
<head>
<title>Ile zostało do 30. Pol'and'Rock Festival?</title>
<link rel="icon" type="image/png" href="https://polandrockfestival.pl/icons/favicon-32x32.png" sizes="32x32">
<meta charset="utf-8">
<meta name="Description" content="Licznik który wskazuje ile musimy jeszcze czekać do festiwalu PolAndRock (dawniej Przystanek Woodstock) czyli najpiękniejszego festiwalu na Świecie!">
<meta name="Keywords" content="woodstock, licznik, ile, do, woodstocku, zostało, odliczanie, przystanek woodstock, przystanek, polandrock, polandrockfestival, PolAndRock, festiwal, festival">
<meta name="robots" content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, shrink-to-fit=no">
<link href="assets/style.css" rel="stylesheet">
</head>
<body>
<header>
<h1>do <i id="festival-name">30. Pol'<strong>and</strong>'Rock</i> zostało:<br>
<i id="countdown"></i></h1>
</header>
<footer>
<a href="https://github.com/rafalmasiarek/iledopolandrockfestival.pl"><i class="fa-brands fa-github"></i>rafalmasiarek/iledopolandrockfestival.pl</a>
<span id='version' class="branch"><i class="fas fa-code-branch"></i></span>
<span id='version' class="build"><i class="fas fa-cogs"></i></span>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/cc759ba0dc.js" crossorigin="anonymous"></script>
<script src="assets/script.js"></script>
<script>
$.getJSON("project.json", function (data) {
$('#version.branch').append(data.branch);
$('#version.build').append("<a href=\"" + data.build_url + "\">"+ data.build + "</a>");
});
</script>
<script>var countDownDate = new Date("Aug 01, 2024 15:00:00").getTime();var x=setInterval(HowMuchDoIHaveToWait,1e3);function HowMuchDoIHaveToWait(){var e=(new Date).getTime(),o=countDownDate-e,t=Math.floor(o/864e5),a=Math.floor(o%864e5/36e5),n=Math.floor(o%36e5/6e4),r=Math.floor(o%6e4/1e3);document.getElementById("countdown").innerHTML=t+"d "+a+"h "+n+"m "+r+"s "}</script>
</body>
</html>