-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
440 lines (388 loc) Β· 12.3 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
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>Andrew Chou</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="description" content="Andrew Chou's personal site 2.0">
<link rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>π</text></svg>">
<style>
:root {
--black: #1f1f1f;
--white: #f1f1f1;
--grey: #8b8b8b;
--orange: #f88501;
--yellow: #ffdc40;
--primary-color: var(--black);
--secondary-color: var(--white);
--primary-accent-color: var(--orange);
--secondary-accent-color: var(--yellow);
--spacer-large: 32px;
--spacer-small: 16px;
--max-content-width: 1000px;
--footer-height: 80px;
}
/***
Many of these rules are adapted or straight up taken from Andy Bell's Modern CSS reset
https://github.com/hankchizljaw/modern-css-reset/
***/
*,
*::before,
*::after {
box-sizing: border-box;
}
ul[class],
ol[class] {
padding: 0;
}
body,
h1,
h2,
h3,
h4 {
margin: 0;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
}
button {
font: inherit;
}
@media (prefers-reduced-motion: reduce) {
html {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto;
}
}
* {
font-family: Geneva, sans-serif;
color: var(--primary-color);
}
* :not(a):not(button) {
transition: background-color 0.2s ease-in;
}
html {
scroll-behavior: smooth;
}
body {
--custom-border: 2px solid var(--primary-accent-color);
min-height: 100vh;
text-rendering: optimizeSpeed;
line-height: 1.5;
display: grid;
grid-template-rows: auto 1fr var(--footer-height);
padding: var(--spacer-large) var(--spacer-large) 0;
max-width: var(--max-content-width);
margin: auto;
background-color: var(--secondary-color);
color: var(--primary-color);
font-size: 1.2rem;
}
body.dark {
--primary-color: var(--white);
--secondary-color: var(--black);
--primary-accent-color: var(--yellow);
--secondary-accent-color: var(--orange);
}
body.dark-init,
body.dark-init * {
transition: none;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
}
@media screen and (max-width: 450px) {
header {
flex-direction: column;
align-items: flex-start;
}
}
main {
padding: var(--spacer-small) 0;
}
main section h1 {
width: max-content;
background-color: var(--secondary-color);
border-bottom: var(--custom-border);
padding-top: calc(var(--spacer-small) / 2);
}
main section>p {
margin-top: var(--spacer-small)
}
main section :last-child {
margin-bottom: var(--spacer-small);
}
footer {
position: fixed;
height: var(--footer-height);
display: block;
bottom: 0;
left: 0;
width: 100%;
background-color: var(--secondary-color);
font-size: 1rem;
}
footer>div {
margin: auto;
height: 100%;
max-width: var(--max-content-width);
padding: 0 var(--spacer-large);
}
footer>div>div {
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
border-top: var(--custom-border);
}
nav {
max-width: 75%;
padding-inline-end: var(--spacer-small);
}
nav ul {
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
}
nav ul>*+* {
margin-inline-start: 12px;
}
nav ul li {
display: inline-block;
}
sticky {
display: block;
position: sticky;
top: 0;
background-color: var(--secondary-color);
}
.scroll-to-content {
scroll-margin-top: calc(var(--spacer-large) * 2);
}
a:not(.nav-link):visited {
color: var(--grey);
}
a:visited:hover,
a:hover,
a:active {
color: var(--black);
background-color: var(--secondary-accent-color);
}
#theme-toggle {
cursor: pointer;
text-align: center;
padding: calc(var(--spacer-small) / 4) calc(var(--spacer-small) / 2);
color: var(--secondary-color);
background-color: var(--primary-color);
border: 2px solid var(--secondary-color);
white-space: nowrap;
}
#theme-toggle:hover,
#theme-toggle:focus-within,
#theme-toggle:active {
color: var(--primary-color);
background-color: var(--secondary-color);
border-color: var(--primary-color);
}
a:focus,
#theme-toggle:focus-within {
outline: var(--primary-accent-color) dashed 2px;
outline-offset: 2px;
}
li[data-emoji] {
list-style: none;
}
li[data-emoji]::before {
content: attr(data-emoji);
display: inline-flex;
justify-content: center;
margin-left: -2em;
width: 4ch;
}
</style>
</head>
<header>
<h1>Andrew Chou</h1>
</header>
<main>
<section>
<sticky>
<h1>About</h1>
</sticky>
<div id="about" class="scroll-to-content" role="none">
<p>
I'm a software engineer, open web enthusiast, and digital explorer currently based in NYC. I love to venture
into the various corners of the internet and the diversity of programming always captures my curiosity. Most of
my experience is in web development, primarily with front-end technologies. Other technological interests
include geospatial applications, local-first technologies, and programming language theory.
</p>
<p>
Outside of the nerd/geek things, I'm an avid urban explorer (i.e. I like to walk excessive distances) and
food-lover. I also swear to no end when I play various videogames on my Nintendo Switch with my family and
friends.
</p>
<p>Things I've been <em>thinking</em> about recently:</p>
<ul>
<li>What it means to build small tech (see <a href="https://small-tech.org">Small Technology Foundation</a> for
a nice overview)</li>
<li>Alternative social platforms</li>
<li>How to muster resources in a meaningful way with the goal of learning more effectively</li>
<li>Digital tools that embrace chaos</li>
</ul>
<p>Things I've been <em>learning</em> recently:</p>
<ul>
<li>Operating a Linux distro as a daily driver (currently using <a href="https://elementary.io">elementary
OS</a>)</li>
<li>Various (i.e. too many) programming languages (currently
<a href="https://gleam.run">Gleam</a>,
<a href="https://janet-lang.org">Janet</a>,
<a href="https://ponylang.io">Pony</a>,
<a href="https://wiki.xxiivv.com/site/uxn.html">Uxn</a>,
<a href="https://wren.io">Wren</a>,
<a href="https://ziglang.org">Zig</a>)
</li>
</ul>
</div>
</section>
<section>
<sticky>
<h1>Projects</h1>
</sticky>
<div id="projects" class="scroll-to-content" role="none">
<ul>
<li data-emoji="π"><a href="https://nonetoohappy.buzz">none too happy</a></li>
<li data-emoji="π"><a href="https://single-file.netlify.app">The Single File Philosophy</a></li>
<li data-emoji="π§½"><a href="https://spongemocker.hashbase.io">Spongemocker</a></li>
<li data-emoji="π°"><a href="https://yeoldeyorker.hashbase.io">Ye Olde Yorker</a></li>
</ul>
</div>
</section>
<section>
<sticky>
<h1>Work</h1>
</sticky>
<div id="work" class="scroll-to-content" role="none">
<ul>
<li data-emoji="π">Fullstack Developer @ <a href="https://manyver.se/">Manyverse</a> / Mar 2022 - Current</li>
<li data-emoji="π">Senior Frontend Developer @ <a href="https://digital-democracy.org/">Digital Democracy</a> /
Jun 2021 - Current</li>
<li data-emoji="π£">Software Engineer @ <a href="https://nearside.com/">Nearside (formerly Hatch)</a> / Oct 2020
- Jun 2021</li>
<li data-emoji="π">Software Engineer @ <a href="https://consider.co">Consider</a> / Feb 2019 - Mar 2020</li>
<li data-emoji="π ">Software Engineer @ <a href="https://wayfair.com">Wayfair</a> / Oct 2018 - Feb 2019</li>
<li data-emoji="πΊπΈ">Civic Digital Fellow @ <a href="https://www.codingitforward.com/">Coding it Forward</a> /
Jun 2018 - Aug 2018
</li>
</ul>
</div>
</section>
<section>
<sticky>
<h1>Tech</h1>
</sticky>
<div id="tech" class="scroll-to-content" role="none">
<p>I'm comfortable with:</p>
<ul>
<li>HTML/CSS/JavaScript</li>
<li>TypeScript</li>
<li>React</li>
<li>React Native</li>
<li>NodeJS</li>
<li>Electron</li>
<li>CSS-in-JS (e.g. Emotion)</li>
<li>Git workflows</li>
</ul>
<p>I can at least find my way around:</p>
<ul>
<li>Shell scripting (e.g. Bash)</li>
<li>Relational database querying and management (e.g. SQL)</li>
<li>GraphQL (e.g. Relay)</li>
<li>Most UI frameworks and libraries</li>
</ul>
</div>
</section>
<section>
<sticky>
<h1>Social</h1>
</sticky>
<div id="social" class="scroll-to-content" role="none">
<ul>
<li data-emoji="βΆβΆ"><a href="https://are.na/andrew-chou">Are.na</a></li>
<li data-emoji="π¨π»βπ»"><a href="https://github.com/achou11">GitHub</a></li>
<li data-emoji="πΌ"><a href="https://linkedin.com/in/achou11">LinkedIn</a></li>
<li data-emoji="π"><a href="https://toot.cafe/@andrew_chou" rel="me">Mastodon</a></li>
<li data-emoji="π¦"><a href="https://twitter.com/_andrewchou">Twitter</a></li>
<li data-emoji="πΌ"><a href="https://vimeo.com/andrewchou">Vimeo</a></li>
<li data-emoji="π¬"><a href="xmpp:andrew@bobbl.snikket.chat">XMPP</a></li>
</ul>
</div>
</section>
</main>
<footer>
<div>
<div>
<nav>
<ul>
<li><a class="nav-link" href="#about" tabindex="0">About</a></li>
<li><a class="nav-link" href="#projects" tabindex="0">Projects</a></li>
<li><a class="nav-link" href="#work" tabindex="0">Work</a></li>
<li><a class="nav-link" href="#tech" tabindex="0">Tech</a></li>
<li><a class="nav-link" href="#social" tabindex="0">Social</a></li>
<li><a id="source-url" class="nav-link" href="https://github.com/achou11/andrew-chou" tabindex="0">Source</a>
</li>
</ul>
</nav>
<button id="theme-toggle">Dark theme</button>
</div>
</div>
</footer>
<script type="text/javascript">
const themeToggle = document.getElementById("theme-toggle")
const getCurrentTheme = () =>
document.body.classList.contains("dark") ? "dark" : "light"
const changeTheme = (newTheme, init = false) => {
if (newTheme === "dark") {
themeToggle.innerText = "Light theme"
document.body.classList.add("dark")
if (init) {
document.body.classList.add("dark-init")
}
} else if (newTheme === "light") {
themeToggle.innerText = "Dark theme"
document.body.classList.remove("dark", "dark-init")
}
}
const insertDatSourceUrl = () => {
const sourceUrl = document.getElementById('source-url')
if (sourceUrl) {
sourceUrl.href = `beaker://library/${window.location.origin}`
}
}
themeToggle.addEventListener("click", () => {
if (getCurrentTheme() === "dark") {
changeTheme("light")
} else {
changeTheme("dark")
}
})
document.addEventListener("readystatechange", event => {
if (event.target.readyState === "interactive") {
const query = window.matchMedia('(prefers-color-scheme: dark)')
if (query.matches) {
changeTheme("dark", true)
}
if (window.DatArchive && window.location.origin.startsWith('dat:')) {
insertDatSourceUrl()
}
}
})
</script>
</html>