-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
143 lines (132 loc) · 6.28 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<html>
<head>
<title>Download the Stanford Daily App</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel=stylesheet href="https://marvelapp.github.io/devices.css/assets/devices.min.css" />
<link rel=stylesheet href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-5773957-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-5773957-5');
gtag('config', 'AW-761286398');
</script>
<!-- Event snippet for App install click conversion page
In your html page, add the snippet and call gtag_report_conversion when someone clicks on the chosen link or button. -->
<script>
function gtag_report_conversion_ios_click(url) {
var callback = function () {
if (typeof(url) != 'undefined') {
window.location = url;
}
};
gtag('event', 'conversion', {
'send_to': 'AW-761286398/LXbCCLm-sZgBEP6dgesC',
'event_callback': callback
});
return false;
}
</script>
<!-- Event snippet for Android App install click conversion page
In your html page, add the snippet and call gtag_report_conversion when someone clicks on the chosen link or button. -->
<script>
function gtag_report_conversion_android_click(url) {
var callback = function () {
if (typeof(url) != 'undefined') {
window.location = url;
}
};
gtag('event', 'conversion', {
'send_to': 'AW-761286398/s0V5CPWGqJgBEP6dgesC',
'event_callback': callback
});
return false;
}
</script>
<!-- Event snippet for Page View conversion page -->
<script>
gtag('event', 'conversion', {'send_to': 'AW-761286398/ly_kCPiGqJgBEP6dgesC'});
</script>
<script>
function android_click(e) {
e.preventDefault();
return gtag_report_conversion_android_click("https://play.google.com/store/apps/details?id=com.Stanford.Daily.App&hl=en_US");
}
function ios_click(e) {
e.preventDefault();
return gtag_report_conversion_ios_click("https://itunes.apple.com/app/stanford-daily/id1341270063");
}
</script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12 col-sm-6">
<div class="marvel-device ipad silver">
<div class="camera"></div>
<div class="screen">
<img id="mainImage" onclick="nextImage">
</div>
<div class="home"></div>
</div>
</div>
<div class="col-12 col-sm-6 tsd-info mt-4">
<div style="flex: 1">
<h1 class="display-3">Don't wait.</h2>
<h2 class="display-4 mt-4 mb-4">Download the Stanford Daily App today.</h2>
<div class="container tsd-btn-container mt-4">
<div class="row">
<div class="col-12 col-sm-6">
<a
onclick="ios_click(event)" href="https://itunes.apple.com/app/stanford-daily/id1341270063">
<img class="img-fluid" src="images/appstore.png" />
</a>
</div>
<div class="col-12 col-sm-6">
<a
onclick="android_click(event)" href="https://play.google.com/store/apps/details?id=com.Stanford.Daily.App&hl=en_US">
<img class="img-fluid" src="images/play.png" />
</a>
</div>
</div>
</div>
<div class="tsd-blurb mt-4">
<h2>What is the Stanford Daily?</h2>
We're a student-run organization committed to providing hands-on experience in journalism,
digital media and business for the next generation of reporters.<br /><br />
Learn more about the Daily at <a
href="https://www.stanforddaily.com/">www.stanforddaily.com</a>
</div>
<div class="text-center">
<a href="https://www.stanforddaily.com/email-digests/">
<button class="mt-4 btn tsd-button">Subscribe to our Email Digest</button>
</a><br>
<a href="https://www.stanforddaily.com/donate/">
<button class="mt-4 btn tsd-button">Donate</button>
</a>
</div>
</div>
</div>
</div>
</div>
<script>
var srcs = ["images/poster 1.png", "images/poster 2.png", "images/poster 3.png", "images/poster 4.png"]
var src = srcs[Math.floor(Math.random() * srcs.length)];
var image = document.getElementById("mainImage");
image.src = src;
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
</body>
</html>