Skip to content

Commit 05c79ea

Browse files
committed
fix: tweak homepage
1 parent 4737f2d commit 05c79ea

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

pkg/server/templates/prod/base.html.tpl

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
<!DOCTYPE html>
12
<head>
23
<title>Jepp</title>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J6ZJ2Y9HHQ"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-J6ZJ2Y9HHQ');
12+
</script>
313
<link rel="stylesheet" href="/style.css">
414
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
515
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
@@ -22,15 +32,6 @@
2232
window.ui = ui
2333
}
2434
</script>
25-
<!-- Google tag (gtag.js) -->
26-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J6ZJ2Y9HHQ"></script>
27-
<script>
28-
window.dataLayer = window.dataLayer || [];
29-
function gtag(){dataLayer.push(arguments);}
30-
gtag('js', new Date());
31-
32-
gtag('config', 'G-J6ZJ2Y9HHQ');
33-
</script>
3435
</head>
3536
<div style="display: flex; justify-content: space-between; align-items: center; padding-left: 10px; padding-right: 20px;">
3637
<a href="/" style="text-decoration: none; color: black;"><h1>Jepp</h1></a>
@@ -46,11 +47,17 @@
4647
<div class="container">
4748
<h3>API fun with Jeopardy! Access historical Jeopardy clues scraped from <a href="https://www.j-archive.com/" target="_blank">J-ARCHIVE</a> via a simple api.</h2>
4849
<hr>
49-
<a href="https://github.com/ecshreve/jepp">view project on github <i class="fa fa-brands fa-github"></i></a>
50-
<p><a href="https://github.com/ecshreve/jepp/actions/workflows/go.yml"><img src="https://github.com/ecshreve/jepp/actions/workflows/go.yml/badge.svg" alt="Go"></a>
51-
<a href="https://godoc.org/github.com/ecshreve/jepp"><img src="https://godoc.org/github.com/ecshreve/jepp?status.svg" alt="GoDoc"></a>
52-
<img alt="GitHub release (release name instead of tag name)" src="https://img.shields.io/github/v/release/ecshreve/jepp">
53-
</p>
50+
<a href="https://github.com/ecshreve/jepp">
51+
<div>
52+
<p>
53+
view project on github <i class="fa fa-brands fa-github"></i>
54+
</p>
55+
<p>
56+
<img alt="GitHub Workflow Status (with event)" src="https://img.shields.io/github/actions/workflow/status/ecshreve/jepp/.github%2Fworkflows%2Fci.yml">
57+
<img alt="GitHub release (release name instead of tag name)" src="https://img.shields.io/github/v/release/ecshreve/jepp">
58+
</p>
59+
</div>
60+
</a>
5461
</div>
5562
</div>
5663
</div>
@@ -113,4 +120,4 @@
113120
</div>
114121
</div>
115122
</div>
116-
123+
</html>

0 commit comments

Comments
 (0)