-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (73 loc) · 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Darkout</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="The superfluous webapp that tells you if it's dark out.">
<!-- CSS -->
<link id="pagestyle" rel="stylesheet" href="/darkout/css/main.css">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700" rel="stylesheet" type="text/css">
<!-- Font Awesome -->
<script src="https://use.fontawesome.com/1864fc5375.js"></script>
</head>
<body>
<div class="wrapper">
<div class="container">
<div class="row">
<div class="col col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 page-header">
<h1>Darkout</h1>
<h2>The superfluous webapp that tells you if it's dark out.</h2>
</div>
</div>
<!-- <div class="row">
<div class="col col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2">
<p class="lead">
Click the button below to get started.
</p>
</div>
</div> -->
<div class="row button-row">
<div class="col col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-3 text-center">
<div class="btn-transition-wrapper">
<a class="btn btn-lg btn-primary" id="start-button" href="javascript:void(0)"><span class="button-text">Is it dark out?</span></a>
</div>
</div>
</div>
<div class="row">
<div class="col col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2">
<p class="lead">
This simple webapp uses your local time, your browser's location API, and <a href="https://github.com/mourner/suncalc" target="_blank">SunCalc.js</a>, to determine if it's dark outside.
</p>
<p class="lead">
<a href="https://github.com/slobatch/darkout" target="_blank">See the source code on <i class="fa fa-github fa-inline" aria-hidden="true"></i> Github.</a>
</p>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="row text-muted">
<div class="col col-xs-5 col-xs-offset-1 col-sm-4 col-sm-offset-2">
<p class="">
Copyright © <script type="text/javascript" src="/darkout/js/current-year.js"></script> <a href="http://hireserge.com">Serge Lobatch</a>
</p>
</div>
<div class="col col-xs-5 col-sm-4 text-right">
<p>
Hosted on
<a href="https://pages.github.com/">
Github Pages
</a>
</p>
</div>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="/darkout/js/vendor/suncalc.js"></script>
<script type="text/javascript" src="/darkout/js/getdark.js"></script>
</body>
</html>