-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
446 lines (412 loc) · 24.4 KB
/
index.html
File metadata and controls
446 lines (412 loc) · 24.4 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
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
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
<!DOCTYPE HTML>
<!--
Dimension by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Kin Ueng</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<!-- Early design toggle — prevents flicker on reload -->
<script>
if (localStorage.getItem('kinueng-design-v2') === 'default') {
document.documentElement.classList.add('grown-up-design');
}
</script>
<link rel="preload" href="images/bg2.jpg" as="image" />
<link rel="stylesheet" href="assets/css/main.css" />
<!-- Self-hosted Caveat font (avoids third-party CORS / ad-blocker issues) -->
<style>
@font-face {
font-family: 'Caveat';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: url(assets/fonts/Caveat.woff2) format('woff2');
}
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-113527577-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-113527577-1', { 'anonymize_ip': true });
</script>
<!-- Kid Design V2 styles -->
<style>
/* Larger name and quote for default design */
#header .content .inner h1 {
font-size: 2.75rem;
}
#header .content .inner > p {
font-size: 1rem;
}
/* Larger nav buttons for default design */
#header nav ul li a {
min-width: 9rem;
height: 3.75rem;
line-height: 3.75rem;
padding: 0 1.6rem;
font-size: 0.85rem;
}
@media screen and (max-width: 736px) {
#header .content .inner h1 {
font-size: 2.5rem;
}
#header .content .inner > p {
font-size: 1rem;
}
#header nav ul li a {
min-width: 8rem;
height: 4rem;
line-height: 4rem;
font-size: 0.9rem;
}
}
/* Rainbow border animation */
@property --rainbow-angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}
@keyframes rainbow-border-spin {
to { --rainbow-angle: 360deg; }
}
/* Default design — Kid Mode button with rainbow snake border */
#header nav ul li a.nav-toggle {
position: relative;
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35) !important;
}
#header nav ul li a.nav-toggle::before {
content: '';
position: absolute;
inset: -1px;
padding: 1px;
background: conic-gradient(
from var(--rainbow-angle),
transparent 0deg,
transparent 270deg,
rgba(229,57,53,0.85) 295deg,
rgba(249,168,37,0.85) 315deg,
rgba(67,160,71,0.85) 330deg,
rgba(30,136,229,0.85) 345deg,
rgba(142,36,170,0.85) 355deg,
transparent 360deg
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask-composite: exclude;
animation: rainbow-border-spin 4s linear infinite;
pointer-events: none;
}
#header nav ul li a.nav-toggle:hover {
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8) !important;
}
/* Kid design — Grown Up Mode button with rainbow snake border */
.kid-link-switch {
position: relative;
color: #e85d04;
box-shadow: inset 0 0 0 3px rgba(232,93,4,0.35);
background: rgba(232,93,4,0.06);
transform: rotate(1deg);
overflow: visible;
}
.kid-link-switch::before {
content: '';
position: absolute;
inset: -3px;
padding: 3px;
border-radius: 10px;
background: conic-gradient(
from var(--rainbow-angle),
transparent 0deg,
transparent 270deg,
#e53935 295deg,
#f9a825 315deg,
#43a047 330deg,
#1e88e5 345deg,
#8e24aa 355deg,
transparent 360deg
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask-composite: exclude;
animation: rainbow-border-spin 4s linear infinite;
pointer-events: none;
}
.kid-link-switch:hover {
color: #e85d04;
}
/* --- Kid design overlay (visible by default — no JS needed) --- */
#kid-overlay {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 2rem;
position: fixed;
inset: 0;
z-index: 9998;
background: #f5f0e8;
font-family: 'Caveat', cursive;
overflow-y: auto;
overflow-x: hidden;
}
#wrapper, #bg { display: none; }
html.grown-up-design #kid-overlay { display: none; }
html.grown-up-design #wrapper { display: flex; }
html.grown-up-design #bg { display: block; }
/* Card */
.kid-card-wrapper { position: relative; width: 100%; max-width: 780px; }
.kid-card { position: relative; padding: 2.5rem 2.5rem 1rem 2.5rem; z-index: 1; }
/* Wobbly border */
.kid-wobbly-border { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
/* Doodles */
.kid-doodles { text-align: center; font-size: 2rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.kid-doodles span { display: inline-block; margin: 0 0.8rem; }
.kid-doodles .kid-sun { color: #f9a825; transform: rotate(10deg); }
.kid-doodles .kid-cloud { color: #90caf9; transform: rotate(-5deg); }
.kid-doodles .kid-star { color: #e85d04; transform: rotate(15deg); }
.kid-doodles .kid-heart { color: #e53935; transform: rotate(-8deg); }
/* Name */
.kid-name { text-align: center; font-size: 4rem; font-weight: 700; margin-bottom: 0.2rem; position: relative; z-index: 1; letter-spacing: 0.08em; }
.kid-name span { display: inline-block; }
.kid-l1 { color: #e53935; transform: rotate(-3deg); }
.kid-l2 { color: #1e88e5; transform: rotate(2deg); }
.kid-l3 { color: #43a047; transform: rotate(-1deg); }
.kid-l4 { color: #f9a825; transform: rotate(3deg); }
.kid-l5 { color: #8e24aa; transform: rotate(-2deg); }
.kid-l6 { color: #e85d04; transform: rotate(1deg); }
.kid-l7 { color: #e53935; transform: rotate(-3deg); }
/* Underline */
.kid-underline { display: block; margin: 0 auto 1.5rem; width: 260px; height: 18px; position: relative; z-index: 1; }
/* Quote */
.kid-quote { text-align: center; font-size: 2rem; color: #5d4037; margin-bottom: 2rem; position: relative; z-index: 1; line-height: 1.4; padding: 0 1rem; transform: rotate(-0.5deg); }
/* Links */
.kid-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2rem; margin-bottom: 1.5rem; position: relative; z-index: 2; }
.kid-link-box { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.8rem; font-size: 1.5rem; font-weight: 700; text-decoration: none; border: none; border-radius: 8px; font-family: 'Caveat', cursive; transition: transform 0.15s; white-space: nowrap; }
.kid-link-box:hover { transform: scale(1.08) rotate(0deg) !important; }
.kid-link-linkedin { color: #1e88e5; box-shadow: inset 0 0 0 3px #1e88e5; background: rgba(30,136,229,0.08); transform: rotate(-2deg); }
.kid-link-github { color: #43a047; box-shadow: inset 0 0 0 3px #43a047; background: rgba(67,160,71,0.08); transform: rotate(1.5deg); }
/* Footer */
.kid-footer { text-align: center; font-size: 1rem; color: #a1887f; margin-top: 0.5rem; position: relative; z-index: 1; }
/* Landscape */
.kid-landscape { position: relative; z-index: 1; width: 100%; margin-top: 0.5rem; overflow: visible; }
.kid-landscape svg { display: block; width: 100%; overflow: visible; }
/* Mobile: two-row grid — LinkedIn+GitHub on top, Grown Up Mode below */
@media screen and (max-width: 600px) {
.kid-links { display: grid; grid-template-columns: auto auto; grid-auto-flow: dense; justify-content: center; }
.kid-link-switch { grid-column: 1 / -1; justify-self: center; }
}
/* Mobile adjustments */
@media screen and (max-width: 480px) {
#kid-overlay { padding: 1rem; }
.kid-card { padding: 2rem 1.5rem 1rem 1.5rem; }
.kid-name { font-size: 2.8rem; }
.kid-quote { font-size: 1.3rem; }
.kid-links { gap: 0.8rem; }
.kid-link-box { padding: 0.5rem 1.2rem; font-size: 1.2rem; }
.kid-underline { width: 200px; }
}
</style>
</head>
<body>
<!-- Kid Design V2 Overlay -->
<div id="kid-overlay">
<div class="kid-card-wrapper">
<!-- Wobbly border -->
<svg class="kid-wobbly-border" viewBox="0 0 640 820" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="crayon-border">
<feTurbulence type="turbulence" baseFrequency="0.04" numOctaves="4" result="noise"/>
<feDisplacementMap in="SourceGraphic" in2="noise" scale="4" xChannelSelector="R" yChannelSelector="G"/>
</filter>
</defs>
<path d="M 18,12 C 210,8 430,14 622,10 C 626,200 624,420 626,810 C 420,814 210,808 14,812 C 10,600 16,200 18,12 Z"
fill="none" stroke="#e85d04" stroke-width="3.5" stroke-linejoin="round"
filter="url(#crayon-border)"/>
</svg>
<div class="kid-card">
<!-- Doodles (hidden to save vertical space — uncomment to restore)
<div class="kid-doodles">
<span class="kid-sun">☀</span>
<span class="kid-cloud">☁</span>
<span class="kid-star">★</span>
<span class="kid-heart">♥</span>
</div>
-->
<!-- Name -->
<div class="kid-name">
<span class="kid-l1">K</span><span class="kid-l2">i</span><span class="kid-l3">N</span>
<span style="display:inline-block;width:0.05em"></span>
<span class="kid-l4">U</span><span class="kid-l5">e</span><span class="kid-l6">N</span><span class="kid-l7">g</span>
</div>
<!-- Wavy underline -->
<svg class="kid-underline" viewBox="0 0 260 18" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="crayon-underline">
<feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="3" result="noise"/>
<feDisplacementMap in="SourceGraphic" in2="noise" scale="3" xChannelSelector="R" yChannelSelector="G"/>
</filter>
</defs>
<path d="M 5,12 C 30,4 60,18 90,10 C 120,2 150,16 180,8 C 210,2 240,14 255,10"
fill="none" stroke="#e85d04" stroke-width="3" stroke-linecap="round"
filter="url(#crayon-underline)"/>
</svg>
<!-- Quote -->
<div class="kid-quote">
“The best part of making<br/>
something new is not knowing<br/>
how it turns out.”
</div>
<!-- Links -->
<div class="kid-links">
<a href="https://www.linkedin.com/in/kinueng" class="kid-link-box kid-link-linkedin">LinkedIn</a>
<a href="#" class="kid-link-box kid-link-switch" onclick="toggleDesign('default'); return false;">Grown Up Mode</a>
<a href="https://github.com/kinueng" class="kid-link-box kid-link-github">GitHub</a>
</div>
<!-- Landscape scene -->
<div class="kid-landscape">
<svg viewBox="-10 -30 600 280" xmlns="http://www.w3.org/2000/svg" style="overflow:visible">
<defs>
<filter id="crayon-landscape">
<feTurbulence type="turbulence" baseFrequency="0.035" numOctaves="4" result="noise"/>
<feDisplacementMap in="SourceGraphic" in2="noise" scale="4" xChannelSelector="R" yChannelSelector="G"/>
</filter>
</defs>
<g filter="url(#crayon-landscape)">
<!-- Sky -->
<path d="M -8,40 C 20,28 55,48 100,32 C 150,18 190,42 240,25 C 290,10 340,38 400,22 C 440,14 490,35 540,20 C 570,14 588,30 592,45 L 595,250 L -12,250 Z"
fill="#b3e5fc" opacity="0.85"/>
<!-- Rainbow -->
<path d="M 50,195 A 145,125 0 0,1 345,195" fill="none" stroke="#e53935" stroke-width="6" opacity="0.8"/>
<path d="M 60,195 A 135,115 0 0,1 335,195" fill="none" stroke="#e85d04" stroke-width="6" opacity="0.8"/>
<path d="M 70,195 A 125,105 0 0,1 325,195" fill="none" stroke="#f9a825" stroke-width="6" opacity="0.8"/>
<path d="M 80,195 A 115,95 0 0,1 315,195" fill="none" stroke="#43a047" stroke-width="6" opacity="0.8"/>
<path d="M 90,195 A 105,85 0 0,1 305,195" fill="none" stroke="#1e88e5" stroke-width="6" opacity="0.8"/>
<path d="M 100,195 A 95,75 0 0,1 295,195" fill="none" stroke="#3949ab" stroke-width="6" opacity="0.8"/>
<path d="M 110,195 A 85,65 0 0,1 285,195" fill="none" stroke="#8e24aa" stroke-width="6" opacity="0.8"/>
<!-- Sun -->
<circle cx="540" cy="35" r="24" fill="#f9a825" stroke="#e85d04" stroke-width="2.5"/>
<line x1="540" y1="4" x2="539" y2="-6" stroke="#f9a825" stroke-width="3" stroke-linecap="round"/>
<line x1="562" y1="14" x2="571" y2="6" stroke="#f9a825" stroke-width="2.5" stroke-linecap="round"/>
<line x1="572" y1="35" x2="583" y2="34" stroke="#f9a825" stroke-width="3" stroke-linecap="round"/>
<line x1="563" y1="57" x2="572" y2="64" stroke="#f9a825" stroke-width="2.5" stroke-linecap="round"/>
<line x1="540" y1="66" x2="541" y2="76" stroke="#f9a825" stroke-width="2.5" stroke-linecap="round"/>
<line x1="517" y1="57" x2="508" y2="63" stroke="#f9a825" stroke-width="3" stroke-linecap="round"/>
<line x1="508" y1="35" x2="497" y2="36" stroke="#f9a825" stroke-width="2.5" stroke-linecap="round"/>
<line x1="518" y1="14" x2="509" y2="7" stroke="#f9a825" stroke-width="2.5" stroke-linecap="round"/>
<!-- Clouds -->
<g transform="translate(-5, -10)">
<ellipse cx="110" cy="52" rx="34" ry="20" fill="white" opacity="0.9"/>
<ellipse cx="140" cy="44" rx="28" ry="18" fill="white" opacity="0.9"/>
<ellipse cx="88" cy="48" rx="22" ry="15" fill="white" opacity="0.9"/>
<ellipse cx="125" cy="58" rx="18" ry="10" fill="white" opacity="0.85"/>
</g>
<g transform="translate(10, -5)">
<ellipse cx="370" cy="55" rx="28" ry="16" fill="white" opacity="0.85"/>
<ellipse cx="395" cy="48" rx="24" ry="15" fill="white" opacity="0.85"/>
<ellipse cx="352" cy="50" rx="20" ry="13" fill="white" opacity="0.85"/>
</g>
<!-- Hills -->
<path d="M -15,185 C 50,140 120,148 200,158 C 280,168 370,125 460,148 C 520,162 570,155 595,165 L 598,258 L -18,255 Z"
fill="#81c784"/>
<path d="M -12,205 C 40,175 110,182 190,190 C 265,198 340,168 430,180 C 500,188 555,178 595,195 L 598,258 L -15,255 Z"
fill="#43a047"/>
<!-- House -->
<g transform="rotate(-2, 382, 165)">
<rect x="360" y="148" width="46" height="40" fill="#e85d04" stroke="#bf360c" stroke-width="2.5"/>
<polygon points="353,151 383,122 413,151" fill="#e53935" stroke="#b71c1c" stroke-width="2.5"/>
<rect x="376" y="167" width="13" height="21" fill="#5d4037" stroke="#3e2723" stroke-width="1.5" rx="2"/>
<circle cx="386" cy="179" r="2" fill="#f9a825"/>
<rect x="365" y="155" width="13" height="11" fill="#b3e5fc" stroke="#5d4037" stroke-width="1.5"/>
<line x1="371.5" y1="155" x2="371.5" y2="166" stroke="#5d4037" stroke-width="1"/>
<line x1="365" y1="160.5" x2="378" y2="160.5" stroke="#5d4037" stroke-width="1"/>
</g>
<!-- Trees -->
<g transform="rotate(3, 160, 175)">
<line x1="160" y1="178" x2="158" y2="142" stroke="#5d4037" stroke-width="5" stroke-linecap="round"/>
<circle cx="157" cy="134" r="18" fill="#43a047" stroke="#2e7d32" stroke-width="2.5"/>
</g>
<g transform="rotate(-3, 480, 200)">
<line x1="480" y1="208" x2="483" y2="155" stroke="#5d4037" stroke-width="7" stroke-linecap="round"/>
<circle cx="484" cy="145" r="24" fill="#66bb6a" stroke="#2e7d32" stroke-width="3"/>
</g>
<!-- Grass tufts -->
<path d="M 30,210 C 32,200 36,200 38,210" fill="none" stroke="#2e7d32" stroke-width="2" stroke-linecap="round"/>
<path d="M 80,205 C 83,195 87,196 89,206" fill="none" stroke="#388e3c" stroke-width="2" stroke-linecap="round"/>
<path d="M 250,200 C 253,190 258,191 260,201" fill="none" stroke="#2e7d32" stroke-width="2" stroke-linecap="round"/>
<path d="M 520,198 C 523,188 527,189 529,199" fill="none" stroke="#388e3c" stroke-width="2" stroke-linecap="round"/>
<path d="M 440,205 C 442,196 446,197 448,207" fill="none" stroke="#2e7d32" stroke-width="1.5" stroke-linecap="round"/>
<!-- Flowers -->
<g transform="translate(290, 192)">
<line x1="0" y1="0" x2="0" y2="15" stroke="#43a047" stroke-width="2" stroke-linecap="round"/>
<circle cx="0" cy="-3" r="5" fill="#e53935" stroke="#c62828" stroke-width="1.5"/>
<circle cx="0" cy="-3" r="2" fill="#f9a825"/>
</g>
<g transform="translate(130, 198)">
<line x1="0" y1="0" x2="0" y2="12" stroke="#43a047" stroke-width="2" stroke-linecap="round"/>
<circle cx="0" cy="-3" r="4.5" fill="#8e24aa" stroke="#6a1b9a" stroke-width="1.5"/>
<circle cx="0" cy="-3" r="1.8" fill="#f9a825"/>
</g>
</g>
</svg>
</div>
<!-- Footer -->
<div class="kid-footer">© Kin Ueng</div>
</div>
</div>
</div>
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<div class="content">
<div class="inner">
<h1>Kin Ueng</h1>
<p>We keep moving forward, opening up new doors and doing new things, because we're curious…<br> and curiosity keeps leading us down new paths.</p>
</div>
</div>
<nav id="buttons">
<ul>
<li><a href="https://www.linkedin.com/in/kinueng">LinkedIn</a></li>
<li><a href="#" class="nav-toggle" onclick="toggleDesign('kid'); return false;">Kid Mode</a></li>
<li><a href="https://github.com/kinueng">GitHub</a></li>
</ul>
</nav>
</header>
<!-- Footer -->
<footer id="footer">
<p class="copyright">© Kin Ueng</p>
<p class="copyright">Original template by <a href="https://html5up.net">HTML5 UP</a></p>
<p class="copyright">Photo by <a href="https://unsplash.com/@von_co">Ivana Cajina</a></p>
</footer>
</div>
<!-- BG -->
<div id="bg"></div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/main.js"></script>
<!-- Design toggle logic -->
<script>
function toggleDesign(mode) {
if (mode === 'kid') {
document.documentElement.classList.remove('grown-up-design');
localStorage.setItem('kinueng-design-v2', 'kid');
} else {
document.body.classList.add('is-loading');
document.documentElement.classList.add('grown-up-design');
localStorage.setItem('kinueng-design-v2', 'default');
setTimeout(function() {
document.body.classList.remove('is-loading');
}, 100);
}
}
</script>
</body>
</html>