-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (70 loc) · 3.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>built w/ care</title>
<link rel="shortcut icon" href="img/m.png"/>
<script src="https://kit.fontawesome.com/222493b4df.js" crossorigin="anonymous"></script>
<!-- For other browser behavior -->
<link rel="stylesheet" href="https://cdns.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css">
<!-- Google fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<!-- Source Code Pro -->
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:400,900|Source+Sans+Pro:300,900&display=swap" rel="stylesheet">
<!-- Noto Sans HK -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+HK&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@900&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="center">
<img class="logo" src="img/minimal_logo.png">
</a>
<div class="sub">
<nav class="nav" id="topnavbar">
<a href="./mission_statement.html">m1ss10n</a>
<br>
<!-- <a href="./img/flyer.pdf">flyer</a>
<br> -->
<a href="./parts.html">h4rdw4r3</a>
<br>
<a href="./gallery.html">p1cs</a>
<br>
<a href="./about.html">4b0ut</a>
<br>
</nav>
<p class="l">---</br></p>
<!-- <p class="coming-soon" id="clock"></p> -->
<script>
// Set the date we're counting down to
var countDownDate = new Date("May 14, 2022 9: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="demo"
document.getElementById("clock").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("clock").innerHTML = "EXPIRED";
}
}, 1000);
</script>
<a class="link" href="https://github.com/builtwithcare" target="_blank"><i class="fab fa-github"></i></a>
<a class="link" href="https://twitter.com/builtwithcare" target="_blank"><i class="fab fa-twitter"></i></a>
</div>
</div>
</body>
</html>