-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·327 lines (310 loc) · 14.1 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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light dark">
<meta name="theme-color" content="#EEEEEE" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#333333" media="(prefers-color-scheme: dark)">
<title>欢迎</title>
<script src="./static/js/include.js"></script>
<script src="./static/js/jquery-3.7.1.js"></script>
<script type="text/javascript">
(function show() {
//1.设置目的时间
var oYear = 2024
var oMonth = 10
var oDay = 28
var oHour = 0
var oMinute = 0
var oSecond = 0
var funtureDate = new Date(oYear, oMonth, oDay, oHour, oMinute, oSecond);
// console.log(dateFormat(funtureDate))
//2.设置定时器
setInterval(function () {
//3.获取现在的时间
var presentDate = new Date();
//4.获取时间戳
var funtureTime = funtureDate.getTime();
var presenTime = presentDate.getTime();
//5.获取剩余的时间戳
var allTime = funtureTime - presenTime;
//6.把毫秒转换为秒
var allSecond = parseInt(allTime / 1000);
//7.获取剩余多少天
var day = size(parseInt(allSecond / 3600 / 24));
//8.获取剩余多少小时
var hour = size(parseInt(allSecond / 3600 % 24));
//9.获取剩余多少分钟
var minute = size(parseInt(allSecond / 60 % 60));
//10.获取剩余多少秒
var second = size(parseInt(allSecond % 60));
//11.注入:
document.getElementById('one').innerHTML = day;
document.getElementById('two').innerHTML = hour;
document.getElementById('three').innerHTML = minute;
document.getElementById('four').innerHTML = second;
}, 1000);
//如果数>=10,则在前面补0
function size(num) {
return num < 10 & num >= 0 ? '0' + num : num;
}
})()
//格式化日期格式 2
function dateFormat(data) {
var date = new Date(data);
var YY = date.getFullYear() + '-';
var MM = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
var DD = (date.getDate() < 10 ? '0' + (date.getDate()) : date.getDate());
return YY + MM + DD;
}
</script>
<script src="./static/js/loader.js"></script>
<script src="./static/js/scroll.js"></script>
<link rel="stylesheet" href="./static/css/style.css">
<link rel="stylesheet" href="./static/fontawesome/css/all.css">
<link rel="shortcut icon" href="./Aug-18-2023-Favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="./static/css/index.css">
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<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=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">
<link href="https://fonts.cdnfonts.com/css/libre-franklin" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/charter-webfont@4/charter.min.css" />
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">
</head>
<body>
<include src="./layout/layout_for_index.html"></include>
<div class="loader-wrapper">
<i class="fa-solid fa-spinner fa-spin"></i> <span id="loader-prompt">Preparing elements.</span>
</div>
<div id="suspended-notice">
<p id="suspended-notice-text"><i class="fas fa-mug-hot"></i><br></p>
<span id="suspended-notice-info">
网页暂停开放,5月14日恢复<br>Site is closed, reopens on May 14
</span>
</div>
<a href="./pages/clock.html">
<div id="real-clock">
<div class="clock-container">
<div class="clock">
<div class="hour">
<div class="hr" id="hr"></div>
</div>
<div class="min">
<div class="mn" id="mn"></div>
</div>
<div class="sec">
<div class="sc" id="sc"></div>
</div>
</div>
</div>
</div>
</a>
<div class="canvas" id="canvas-9">
<div class="canvas-text" id="canvas-9-text">
It's <span>almost</span> time!
</div>
<div class="canvas-text-small" id="canvas-9-text-small">
Thanksgiving is in
</div>
<div id="remainTime">
<div id="one"></div> days
<div id="two"></div> hours
<div id="three"></div> minutes
<div id="four"></div> seconds
</div>
<a href="./pages/christmas.html" id="canvas-9-text-small">Get in the Christmas spirit <i
class="fas fa-arrow-right"></i></a>
<a href="#canvas-8">
<div id="canvas-clicker">
<i class="fas fa-arrow-down"></i> Next page
</div>
</a>
</div>
<div id="cards">
<div id="cards-carousel">
<div class="cards" id="canvas-10">
<a id="canvas-10-clicker">
<div id="canvas-clicker">
<i class="fa-solid fa-chevron-right"></i>
</div>
</a>
</div>
<div class="cards" id="canvas-8">
<blockquote class="twitter-tweet">
<p lang="en" dir="ltr">You living in a movie where the villains actually win <a
href="https://t.co/ImJgz73bU8">https://t.co/ImJgz73bU8</a></p>— Hi I’m Solomon
(@solomonmissouri) <a
href="https://twitter.com/solomonmissouri/status/1847481341874524290?ref_src=twsrc%5Etfw">October
19,
2024</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<a id="canvas-8-clicker">
<div id="canvas-clicker">
<i class="fa-solid fa-chevron-right"></i>
</div>
</a>
</div>
<div class="cards" id="canvas-7">
<!-- <div class="canvas-text" id="canvas-7-text">
<b>November</b>
</div>
<div class="canvas-text-small">no means no 🥰</div> -->
<a id="canvas-7-clicker">
<div id="canvas-clicker">
<i class="fa-solid fa-chevron-right"></i>
</div>
</a>
</div>
<div class="cards" id="canvas-6">
<a id="canvas-6-clicker">
<div id="canvas-clicker">
<i class="fa-solid fa-chevron-right"></i>
</div>
</a>
</div>
<div class="cards" id="canvas-5">
<div class="canvas-text" id="canvas-5-text">
</div>
<a id="canvas-2-clicker">
<div id="canvas-clicker">
<i class="fa-solid fa-chevron-right"></i>
</div>
</a>
</div>
</div>
</div>
<div class="canvas" id="canvas-2">
<div class="canvas-text" id="canvas-2-text">
Push the reset button, we're becoming something new
</div>
<div class="canvas-text-small">
<div class="canvas-2-inbox" id="canvas-2-inbox-1" tabindex="0">
<div id="canvas-2-inbox-5-in">
<span id="canvas-2-i-5-i">
What's happening
</span>
<span class="canvas-2-inbox-t" id="c-2-i-t-zh-cn">
毛不易<br>冒险精神
<br><i class="fas fa-arrow-right"></i>
</span>
<div class="canvas-2-inbox-in" id="canvas-2-inbox-in-1">
<a href="./pages/music.html"><i class="fa-solid fa-up-right-from-square"></i> Go to
my music site</a>
</div>
</div>
</div>
<div class="canvas-2-inbox" id="canvas-2-inbox-2" tabindex="0">
Fandom center
<span class="canvas-2-inbox-t">
Apple Fanboy<br>Swiftie
<br><i class="fas fa-arrow-right"></i>
</span>
<div class="canvas-2-inbox-in" id="canvas-2-inbox-in-1">
<a href="./pages/apple.html"><i class="fa-solid fa-up-right-from-square"></i> Go to my Apple
site</a><br>
<a href="./pages/taylorswift.html"><i class="fa-solid fa-up-right-from-square"></i> Go to my
Swiftiepedia
site</a>
</div>
</div>
<div class="canvas-2-inbox" id="canvas-2-inbox-3" tabindex="0">
Contact
<span class="canvas-2-inbox-t">
I'm everywhere<br>I'm so Julia
<br><i class="fas fa-arrow-right"></i>
</span>
<div class="canvas-2-inbox-in" id="canvas-2-inbox-in-1">
<a href="./pages/contact.html"><i class="fa-solid fa-up-right-from-square"></i> Go to my
Contact site</a>
</div>
</div>
<div class="canvas-2-inbox" id="canvas-2-inbox-4" tabindex="0">
Information
<span class="canvas-2-inbox-t">
More about me and this website
<br><i class="fas fa-arrow-right"></i>
</span>
<div class="canvas-2-inbox-in" id="canvas-2-inbox-in-1">
<a href="./pages/aluminum_studio.html"><i class="fa-solid fa-up-right-from-square"></i> Go to
my About site</a>
<br>or<br>click the plus button at the top of the page.
</div>
</div>
</div>
<a href="#canvas-1">
<div id="canvas-clicker">
<i class="fas fa-arrow-down"></i> Next page
</div>
</a>
</div>
<div class="canvas" id="canvas-1">
<div class="canvas-text" id="canvas-16-text">
Learning to build a website that <b>understands you</b>
</div>
<div class="canvas-text-small">
<p>
Construction of this website started in October of 2022. In August of the same year, I discovered my
passion for HTML and CSS, two tools that I feverishly learned so well that they helped me win Best Wiki
for my iGEM team.
</p>
<p>
My obsession with user experience designs, however, originated way back in 2018 when I first watched a
video from Apple's WWDC, where they introduced design guidelines for developers to accommodate the new
gesture of iPhone X.
</p>
<p>
Enthralled by the minute details in Apple's meticulous and often flawless designs, I started out
building my own website, thinking about what content should be published there. Yet before the content
was even completed, a rudimentary design was already born after days of loitering in Visual Studio Code.
I envisioned and eventually wrote and polished a menu bar that contained links to pages, and a search
bar for input. But soon I learned the difference between static and dynamic websites, and the search
function's development was suspended. So was the blog's development.
</p>
<p>
After 2 years of rince and repeat, revisions and overhauls, I've arrived at the seventh version of this
website. Each redesign was the product of my attempts of combining aesthetics and human-centered
thinking.
</p>
<p>
Of course, the contents were still not worked out or even thought out thoroughly, the HCI lines of
thinking childish and basic. But if there's anything I've learned from building websites, it's
there's no end to it.
</p>
<p class="canvas-text-small-last">
Jerry, Sep 1 2024
</p>
</div>
<a href="#canvas-9">
<div id="canvas-clicker">
<i class="fas fa-arrow-up"></i> Return to top
</div>
</a>
</div>
<div id="namecard">
<div class="n-marquee" id="n-marquee-1" tabindex="1">
<i class="fa-solid fa-person-digging"></i> 
<span><b>Website owner is gonna be away for a while.</b><br>Some elements may be outdated.</span>
</div>
<div class="n-marquee" id="n-marquee-2" tabindex="1">
<i class="fa-solid fa-wand-sparkles"></i> 
<span>
<b>Just renewed for another year!</b><br>I just renewed the domain name jerryly.top for one more year.
</span>
</div>
</div>
<nav class="crumbs">
<ol>
<li class="crumb"><a href="#"><i class="fas fa-house"></i> 主页</a></li>
</ol>
</nav>
<include src="./layout/footer.html"></include>
<script src="./static/js/clock-script.js"></script>
</body>
</html>