-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (89 loc) · 3.5 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
<!DOCTYPE html>
<html lang="en" ng-app="trumpulseApp">
<head>
<meta charset="UTF-8">
<title>Trumpulse</title>
<link rel="stylesheet" type="text/css" href="stylesheets/app.css">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
</head>
<body draggable="false">
<ul class="navigation">
<img src="images/navheader.png" />
<li><a href="#main">Home</a></li>
<li id="about"><a>About</a></li>
<li id="credits"><a>Credits</a></li>
<li><a target="_blank" href="https://newsapi.org/">News API</a></li>
<img src="images/alanmorel.png" />
<li><a target="_blank" href="http://alanmorel.com/">Personal Website</a></li>
<li><a target="_blank" href="https://github.com/AlanMorel/trumpulse">GitHub</a></li>
<li><a target="_blank" href="https://www.linkedin.com/in/alanmorel">LinkedIn</a></li>
<li><a target="_blank" href="https://twitter.com/SharpAceX/">Twitter</a></li>
</ul>
<input type="checkbox" id="trigger" class="trigger" />
<label for="trigger"></label>
<div class="splash">
<div class="splash-content">
<img src="images/trump.png" />
<img src="images/navheader.png" />
<div class="copyright">Copyright © 2018 Alan Morel</div>
</div>
</div>
<div class="modal" id="about-modal">
<div class="modal-content about">
<img src="images/trump.png" />
<p class="modal-header">Trumpulse</p>
<p class="modal-text">Written in HTML, CSS and JavaScript by Alan Morel.</p>
<p class="modal-text">Information last updated <span id="last-update"></span>.</p>
<div class="close">OK</div>
</div>
</div>
<div class="modal" id="credits-modal">
<div class="modal-content credits">
<img src="images/credits.png" />
<p class="modal-header">Credits</p>
<div class="modal-text">
<div>Divina Li: Motivation and ideas.</div>
<div>Austin: Server-side help and optimization.</div>
</div>
<div class="close">OK</div>
</div>
</div>
<div class="site-wrap">
<div class="header">
<a href="#main">
<img src="images/topheader.png" />
</a>
</div>
<div class="prompt"> </div>
<div class="main" ng-view></div>
<div class="footer">
<a href="#main">
<img src="images/topheader.png" />
</a>
</div>
</div>
<script>
var splash = document.querySelector(".splash");
if (location.hash) {
splash.style.display = "none";
} else {
window.location.href = "#main";
setTimeout(function() {
splash.style.opacity = "0";
}, 3000);
setTimeout(function() {
splash.style.display = "none";
}, 3500);
}
</script>
<script src="http://alanmorel.com/trumpulse/data.php"></script>
<script src="javascript/angular.js"></script>
<script src="javascript/angular-route.js"></script>
<script src="javascript/angular-resource.js"></script>
<script src="javascript/angular-animate.js"></script>
<script src="javascript/angular-css.js"></script>
<script src="javascript/sources.js"></script>
<script src="javascript/app.js"></script>
</body>
</html>