-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
97 lines (97 loc) · 2.67 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
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>UFC Calendar</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter&display=swap"
rel="stylesheet"
/>
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
background-color: rgb(243, 243, 243);
font-family: "Inter", sans-serif;
}
.links {
margin: 40px 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 16px;
}
.sub-link {
display: flex;
flex-direction: column;
align-items: center;
row-gap: 16px;
background-color: white;
border-radius: 8px;
box-shadow: 0px 4px 12px -3px rgba(0, 0, 0, 0.2);
padding: 16px 32px;
text-decoration: none;
color: inherit;
transition: 0.3s;
}
.sub-link:hover {
box-shadow: 0px 4px 12px 4px rgba(0, 0, 0, 0.2);
}
.sub-link img {
width: 80px;
height: 80px;
}
.sub-manual {
margin-bottom: 40px;
max-width: 100%;
}
.code-wrapper {
background-color: white;
padding: 2px 6px;
border: 1px solid lightgray;
border-radius: 4px;
}
code {
overflow-wrap: break-word;
max-width: 100%;
}
</style>
</head>
<body>
<h1>Subscribe to this calendar to keep track of UFC events</h1>
<div class="links">
<a
class="sub-link"
href="webcal://raw.githubusercontent.com/clarencechaan/ufc-cal/ics/UFC.ics"
><img src="apple.svg" alt="apple" />
<div>Apple</div>
</a>
<a
class="sub-link"
href="https://calendar.google.com/calendar/u/0/r?cid=webcal://raw.githubusercontent.com/clarencechaan/ufc-cal/ics/UFC.ics"
><img src="google.svg" alt="google" />
<div>Google</div>
</a>
</div>
<div class="sub-manual">
<p>Or subscribe manually from your calendar app:</p>
<div class="code-wrapper">
<code
>webcal://raw.githubusercontent.com/clarencechaan/ufc-cal/ics/UFC.ics</code
>
</div>
</div>
<p>Maintained by Clarence Chan</p>
<p>
<a href="https://github.com/clarencechaan/ufc-cal"
>Source code on GitHub</a
>
</p>
</body>
</html>