-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
237 lines (199 loc) · 6.95 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta
name="viewport"
content="minimum-scale=1.0, width=device-width, maximum-scale=1.0, user-scalable=no viewport-fit=cover"
/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>11195</title>
<!-- Tags for social media links -->
<meta name="description" content="11195 is 11195" />
<meta name="keywords" content="11195, 11195" />
<meta itemprop="name" content="11195" />
<meta itemprop="description" content="11195 is 11195" />
<meta itemprop="image" content="./assets/images/og-image.jpg" />
<meta property="og:url" content="https://11195.com" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="ko_KR" />
<meta property="og:site_name" content="11195" />
<meta property="og:title" content="11195" />
<meta property="og:description" content="11195 is 11195" />
<meta property="og:image" content="./assets/images/og-image.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="11195" />
<meta name="twitter:description" content="11195 is 11195" />
<meta name="twitter:image" content="./assets/images/og-image.jpg" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="./assets/images/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/images/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./assets/images/favicon/favicon-16x16.png"
/>
<link rel="manifest" href="./assets/images/favicon/site.webmanifest" />
<link href="./assets/css/normalize.css" rel="stylesheet" type="text/css" />
<link rel="preload" href="./assets/css/font.css" as="style" />
<link
href="./assets/css/font.css"
rel="stylesheet"
media="print"
onload="this.media='all'"
type="text/css"
/>
<script src="./assets/js/jquery.min.js"></script>
<script src="./assets/js/moment.min.js"></script>
<script src="./assets/js/index.global.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/es5/rrule.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@fullcalendar/[email protected]/index.global.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@fullcalendar/[email protected]/index.global.min.js"></script>
<!-- <script src="https://unpkg.com/popper.js/dist/umd/popper.min.js"></script> -->
<!-- <script src="https://unpkg.com/tooltip.js/dist/umd/tooltip.min.js"></script> -->
<script>
var tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate());
document.addEventListener("DOMContentLoaded", function () {
var calendarEl = document.getElementById("calendar");
var calendar = new FullCalendar.Calendar(calendarEl, {
locale: "en",
headerToolbar: {
left: "prev,today",
center: "title",
right: "dayGridMonth,listYear,next",
},
// ** setting
editable: false,
selectable: false,
businessHours: true,
// dayMaxEvents: true,
allDaySlot: false,
// weekNumbers: true,
titleFormat: {
month: "short",
year: "numeric",
// day: "numeric",
},
views: {
listAllYears: {
type: "listYear",
duration: {years: 999},
},
},
// ** date range
validRange: function (nowDate) {
return {
end: nowDate - 1,
};
},
initialView: "dayGridMonth",
eventOrder: "-start,-duration,allDay,title,color",
// ** time format
eventTimeFormat: {
hour: "2-digit",
minute: "2-digit",
hour12: false,
},
slotLabelFormat: {
hour: "2-digit",
minute: "2-digit",
hour12: false,
},
// ** google calendar
// googleCalendarApiKey: "AIzaSyAI3O1r85aBWRv-ntLyk4X9-8vt7bYiiXU",
// eventSources: [
// {
// googleCalendarId:
// "[email protected]",
// backgroundColor: "transparent",
// borderColor: "transparent",
// className: "kr-holiday",
// textColor: "orangered",
// },
// ],
// ** click event: description
eventClick: function (info) {
$("#content h1").html(info.event.title);
$("#content p").html(info.event.extendedProps.description);
info.el.style.backgroundColor = "orange";
info.el.style.borderColor = "orange";
},
eventSources: [
"/json/2020.json",
"/json/2021.json",
"/json/2023.json",
"/json/2024.json",
],
events: [
{
classNames: "website",
title: "Portfolio",
url: "https://gyeon.org",
rrule: {
freq: "yearly",
interval: 1,
dtstart: "2014-01-01",
},
color: "red",
},
{
title: "캐리지 리턴",
start: "2025-01-01",
description: "",
},
{
title: "About",
start: tomorrow,
description:
"이곳에 달력처럼 보이는 문서 하나가 있다. 이 문서는 텍스트(음식)를 감싸는 태그(그릇)들이 나열된 목록(밥상)이다. 상차림은 매일 바뀌며 기록된다.",
allDay: true,
},
// {
// title: "example",
// url: "http://google.com/",
// start: "2024-01-01T10:30:00",
// end: "2024-01-10T12:30:00",
// },
],
});
calendar.render();
});
</script>
<link
rel="stylesheet"
href="./assets/css/style.css"
type="text/css"
media="all"
/>
</head>
<body>
<header>
<h1><a href=".">11195.org</a></h1>
</header>
<div id="calendar"></div>
<article id="content">
<h1></h1>
<p></p>
<pre id=p><svg onload=a=[setInterval('h="";for(a[I++*I%17+578]=i=89;i++<630;h+=i%30?"~-195"[a[i]=~~((a[i]+a[i+1]+a[i+29]+a[i+30])/4)]||0:"\\n")p.innerHTML=h',I=80)]>
</article>
<footer>
<section>
<a href="https://gyeon.org">gyeon.org</a>
<p>© 2024. 11195 all rights reserved.</p>
</section>
</footer>
</body>
</html>