-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (67 loc) · 3.18 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
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>#CPBR11 - contagem regressiva</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/flipclock/0.7.8/flipclock.min.css" rel="stylesheet" />
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<audio autoplay loop> <source src="epic-sax-guy.mp3" type="audio/mp3" /> </audio>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<div class="text-center visible-xs">
<a href="http://campuseros.club" target="_blank">
<img src="https://i.imgur.com/au8IA6w.png" height="120px">
</a>
</div>
<div class="hidden-xs">
<a href="http://campuseros.club" target="_blank">
<img src="https://i.imgur.com/au8IA6w.png" height="120px">
</a>
</div>
</div>
<span align="center">
<h1>Contagem Regressiva<br><small>#CPBR11</small></h1>
</span>
</div>
</nav>
<div class="container">
<div class="countdown col-md-10 text-center">
<div class="clock"></div>
</div>
</div>
<footer class="navbar-fixed-bottom" style="padding: 15px 0px 10px;">
<div class="container">
<div class="row">
<div class="col-xs-4">
<i class="fa fa-code"></i> with <i class="fa fa-heart-o"></i>
</div>
<div class="col-xs-4 text-center">
<a href="http://campuseros.club" class="hidden-xs">CAMPUSEROS.CLUB</a>
</div>
<div class="col-xs-4 text-right">
<a href="https://facebook.com/CampuserosClub" target="_blank"> <i class="fa fa-facebook"></i> </a> |
<a href="https://twitter.com/CampuserosClub" target="_blank"> <i class="fa fa-twitter"></i> </a> |
<a href="https://github.com/CampuserosClub/countdown" target="_blank"> <i class="fa fa-github"></i> </a>
</div>
</div>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flipclock/0.7.8/flipclock.min.js"></script>
<script>
var currentDate = new Date();
var cpbr10Date = new Date('2018-01-30 12:00:00');
var diff = cpbr10Date.getTime() / 1000 - currentDate.getTime() / 1000;
var clock = $('.clock').FlipClock(diff, {
clockFace: 'DailyCounter',
countdown: true,
language: "pt-br"
});
</script>
</body>
</html>