forked from hugovk/year-progress-bar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (39 loc) · 1.49 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Year progress bar</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="css/dark-mode.css">
</head>
<body>
<div class="container d-flex p-3 mx-auto flex-column">
<header class="mb-auto">
<nav class="nav justify-content-center float-right">
<a class="nav-link active" href="https://coliff.github.io/dark-mode-switch/">Home</a>
<a class="nav-link" href="https://github.com/coliff/dark-mode-switch" target="_blank">GitHub</a>
<div class="nav-link">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="darkSwitch">
<label class="custom-control-label" for="darkSwitch">Dark Mode</label>
</div>
<script src="js/dark-mode-switch.min.js"></script>
</div>
</nav>
</header>
<main role="main">
<h1>🌓 Year Progress Bar</h1>
<p class="lead">Nowadays everything needs a progress bar</p>
<div class="progress" id="progress"></div>
<h1 id="percent"></h1>
</main>
<footer class="mt-auto">
<p>@ 2021</p>
</footer>
<script src="js/progressbar.min.js"></script>
<script src="js/main.js"></script>
</div>
</body>
</html>