-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
98 lines (75 loc) · 3.48 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
97
98
<html>
<head>
<title>Days since a Hear Me Code member landed a job in tech</title>
<meta name="description" content="How many days has it been since a Hear Me Code member landed a job in tech?">
<!-- Opengraph -->
<meta property="og:site_name" content="Hear Me Code">
<meta property="og:description" content="How many days has it been since a Hear Me Code member landed a job in tech?">
<meta property="og:image" content="https://shannonvturner.com/images/hearmecode_logo.png">
<meta property="og:title" content="Hear Me Code">
<meta property="og:url" content="https://hearmecode.com">
<meta property="og:type" content="website">
<!-- Twitter card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@hearmecode">
<meta name="twitter:creator" content="@svthmc">
<meta name="twitter:title" content="Hear Me Code">
<meta name="twitter:description" content="How many days has it been since a Hear Me Code member landed a job in tech?">
<meta name="twitter:image:src" content="https://shannonvturner.com/images/hearmecode.png">
<meta name="twitter:url" content="https://hearmecode.com">
<link rel="shortcut icon" href="https://shannonvturner.com/images/hearmecode.ico">
<link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<style>
.main
{
width: 80%;
color: #fff;
padding: 10%;
font-family: 'Oswald', sans-serif;
background-color: #00A99D;
text-align: center;
font-size: 2.25em;
}
#days-container {
font-size: 4.5em;
}
</style>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49936574-2', 'hearmecode.com');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="main">
<div>
It has been
</div>
<div id="days-container">
</div>
<div>
days since a Hear Me Code member has landed a job in tech.
</div>
<div style="margin-top: 1em;">
Since 2015, over a dozen women credit <a href="https://hearmecode.com" style="text-decoration: underline; color: #fff;">Hear Me Code</a> with providing them the skills and experience they needed to land a tech job.
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script type="text/javascript">
$( document ).ready(function() {
var oneDay = 24*60*60*1000; // hours*minutes*seconds*milliseconds
var jobAnnounced = new Date(2017,0,31); // 0 is January for some ungodly reason
var today = new Date();
// var diffDays = Math.round(Math.abs((jobAnnounced.getTime() - today.getTime())/(oneDay))) - 1;
jobAnnounced = moment(jobAnnounced);
today = moment(today);
diffDays = today.diff(jobAnnounced, 'days');
$("#days-container").text(diffDays);
});
</script>
</body>
</html>