This commit is contained in:
Tommy
2015-11-13 11:28:16 -05:00
commit dc15f5f1b9
2 changed files with 45 additions and 0 deletions

1
CNAME Normal file
View File

@@ -0,0 +1 @@
istommyonvistabreak.xyz

44
index.html Normal file
View File

@@ -0,0 +1,44 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Is Tommy On VistaBreak?</title>
<meta name="description" content="Is Tommy On Vistabreak?">
<style type="text/css">
html, body {height: 100%;}
body {text-align: center;}
#answer {
display: inline-block;
margin-top: 200px;
font-weight: bold;
font-size: 120pt;
font-family: Arial, sans-serif;
text-decoration: none;
color: black;
}
#answer>a {
display: inline-block;
font-weight: bold;
font-size: 120pt;
font-family: Arial, sans-serif;
text-decoration: none;
color: black;
}
</style>
</head>
<body>
<div id="answer" target="_blank"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"></script>
<script type="text/javascript">
var now = moment(),
start = moment("2016-08-01"),
end = moment("2016-08-31");
var answer = (now >= start && now <= end) ? "YES" : "NO";
var elem = document.getElementById('answer');
elem.innerHTML = answer;
</script>
</body>
</html>