-
Notifications
You must be signed in to change notification settings - Fork 3
/
home.html
90 lines (78 loc) · 3.75 KB
/
home.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
<!DOCTYPE html>
<!--
Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>mco.fyi</title>
<meta name="Marc's Short Link Service" content="">
<meta name="Marc Cohen" content="">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="img/favicon.png">
</head>
<body>
<!-- Primary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container">
<div class="row">
<div class="twelve columns" style="margin-top: 5%">
<h1><font face="courier">mco.fyi</font> - Marc's short link service</h1>
</div>
</div>
<div class="row">
<div class="four columns">
<img height="300" width="250" src="/img/meiko.jpg" />
<br>
This is Meiko. Whenever you visit one of my short links, his job is to fetch the long version and return it to your browser. Thanks to Meiko (and Google Cloud Run), mco.fyi is fast and reliable. If you'd like to try this code for yourself, it's available on <a target="_blank" href="https://github.com/marcacohen/mco.fyi">Github</a>. Also, here's a <a target="_blank" href="https://mco.fyi/links">slide deck</a> and a <a target="_blank" href="https://mco.dev/build-your-own-bit.ly/">blog article</a> about this service.
<br>
- Made with ❤️ by <a href="https://mco.dev">Marc</a>.
</div>
<div class="eight columns">
<table width="100%">
<thead>
<tr>
<th>Count</th>
<th>Link</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{{ range . }}
<tr>
<td>{{.Count}}</td>
<td><a href={{.Url}}>mco.fyi/{{.Key}}</a></td>
<td>{{.Desc}}</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
</div>
</div>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
</html>