-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
139 lines (126 loc) · 3.54 KB
/
index.html
File metadata and controls
139 lines (126 loc) · 3.54 KB
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
<!DOCTYPE html>
<html lang="en" class="govuk-template">
<head>
<meta charset="utf-8">
<title>The Greg or Ian Calendar</title>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#fec0ff">
<link rel="icon" sizes="any" href="/assets/logo.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/assets/logo.svg">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background: #fec0ff;
padding-block: 1rem;
padding-inline: 1rem;
}
header,
main,
footer {
max-width: 60rem;
margin-inline: auto;
padding-inline: 2rem;
background: #f9d9fa;
}
img.site-logo {
height: 4rem;
width: 4rem;
}
h1 {
display: inline-block;
text-align: center;
margin-block: 1rem;
font-size: 2rem;
line-height: 2rem;
}
h2,
em {
display: block;
text-align: center;
margin-block: 0rem;
font-weight: bold;
font-style: normal;
}
h2 {
font-size: 1.5rem;
}
em {
font-size: 4rem;
padding-block: 4rem;
}
p {
font-size: 1.25rem;
text-align: justify;
margin-block: 0;
padding-block: 1.25rem;
}
a.download {
display: block;
padding-block: 2rem;
margin-block: 2rem;
text-align: center;
background: rgb(248, 232, 201);
}
a.download img {
display: inline-block;
width: 10rem;
height: 10rem;
padding-left: 2rem;
}
a.download p {
display: inline-block;
color: rgb(0, 0, 119);
font-size: 1.5rem;
font-weight: bold;
margin-block: 0;
}
</style>
</head>
<body>
<header>
<img alt="" class="site-logo" src="/assets/logo.svg">
<h1>Greg or Ian<br>Calendar</h1>
</header>
<main>
<h2>Today, <time datetime="{{date}}">{{nice_date}}</time> is</h2>
<em>{{greg_or_ian}}!</em>
<h2>Get Greg or Ian in your Calendar app</h2>
<p>
To get your daily dose of “Greg or Ian” news, add the
following feed to your Calendar app. Download the
<code>.ics</code> file for a one-time hit, or add the URL as a
subscription to always keep up to date!
</p>
<a href="/feed.ics" class="download">
<img src="/assets/logo.svg"><br>
<p>Get the feed!</p>
</a>
<h2>Coda</h2>
<p>
This web app is the result of <a href="https://mikecoats.com">Mike
Coats</a> taking a simple joke way past the point of being funny.
The source code for this project is available for criticism over
<a href="https://github.com/mikecoats/gregorian">on Github</a>,
released under the
<a href="https://github.com/MikeCoats/gregorian/blob/main/LICENSE.md">
GNU Affero General Public License</a>.
</p>
<p>
The joke that inspired it all was
<a href="https://tech.lgbt/@Natasha_Jay/111696622594397672">posted
on Mastodon</a> by <a href="https://tech.lgbt/@Natasha_Jay">
Natasha Jay</a>.
</p>
<p>
The icon used in the header is
<a href="https://thenounproject.com/icon/help-calendar-656853/">
Help calendar</a> by <a href="https://thenounproject.com/mooyai/">
Khomsun Chaiwong</a>, made available under
<a href="https://creativecommons.org/licenses/by/3.0/">Creative Commons
Attribution</a> license.
</p>
</main>
<footer>
</footer>
</body>
</html>