-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (47 loc) · 1.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>News Trends</title>
<link rel="stylesheet" href="styles.css">
<!-- Open Graph meta tags for Discord embedding -->
<meta property="og:title" content="News Trends">
<meta property="og:description" content="News Trend WordClouds">
<meta property="og:image" content="https://reginald-gillespie.github.io/NewsTrends/Images/latest.png">
<meta property="og:type" content="website">
<meta property="og:url" content="https://reginald-gillespie.github.io/NewsTrends">
</head>
<body>
<div class="container">
<!-- Sidebar for past week images -->
<div class="sidebar">
<h2>Older</h2>
<div class="sidebar-images">
<!-- Sidebar images will be loaded dynamically -->
</div>
</div>
<div class="main-content">
<!-- Buttons to select stats method -->
<div class="button-container">
<button onclick="changeImage('frequency')">Frequency</button>
<button onclick="changeImage('velocity')">Velocity</button>
</div>
<!-- Main Image Display -->
<div class="main-image">
<img id="main-image" src="Images/latest.png" alt="Stats Image">
</div>
<!-- Image label (shows current image date or "Latest") -->
<div id="image-label" class="image-label">Latest</div>
</div>
</div>
<script src="script.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TL4JDZ180Z"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-TL4JDZ180Z');
</script>
</body>
</html>