diff --git a/public/fx/grain.png b/public/fx/grain.png
new file mode 100644
index 0000000..cae964e
Binary files /dev/null and b/public/fx/grain.png differ
diff --git a/src/assets/fx/botanical-riso.webp b/src/assets/fx/botanical-riso.webp
new file mode 100644
index 0000000..f6ff330
Binary files /dev/null and b/src/assets/fx/botanical-riso.webp differ
diff --git a/src/assets/fx/cassette-vintage.webp b/src/assets/fx/cassette-vintage.webp
new file mode 100644
index 0000000..452dd60
Binary files /dev/null and b/src/assets/fx/cassette-vintage.webp differ
diff --git a/src/assets/fx/cloud-xerox.webp b/src/assets/fx/cloud-xerox.webp
new file mode 100644
index 0000000..260906c
Binary files /dev/null and b/src/assets/fx/cloud-xerox.webp differ
diff --git a/src/assets/fx/computers-pile-pixel.webp b/src/assets/fx/computers-pile-pixel.webp
new file mode 100644
index 0000000..e207ad7
Binary files /dev/null and b/src/assets/fx/computers-pile-pixel.webp differ
diff --git a/src/assets/fx/computers-room-xerox.webp b/src/assets/fx/computers-room-xerox.webp
new file mode 100644
index 0000000..7f6896b
Binary files /dev/null and b/src/assets/fx/computers-room-xerox.webp differ
diff --git a/src/assets/fx/cta-sign-vintage.webp b/src/assets/fx/cta-sign-vintage.webp
new file mode 100644
index 0000000..695b6a6
Binary files /dev/null and b/src/assets/fx/cta-sign-vintage.webp differ
diff --git a/src/assets/fx/daisies-pixel.webp b/src/assets/fx/daisies-pixel.webp
new file mode 100644
index 0000000..3b62e57
Binary files /dev/null and b/src/assets/fx/daisies-pixel.webp differ
diff --git a/src/assets/fx/daisies-toon.webp b/src/assets/fx/daisies-toon.webp
new file mode 100644
index 0000000..a5c9348
Binary files /dev/null and b/src/assets/fx/daisies-toon.webp differ
diff --git a/src/assets/fx/grass-top-pixel.webp b/src/assets/fx/grass-top-pixel.webp
new file mode 100644
index 0000000..25fde25
Binary files /dev/null and b/src/assets/fx/grass-top-pixel.webp differ
diff --git a/src/assets/fx/guitar-hollow-toon.webp b/src/assets/fx/guitar-hollow-toon.webp
new file mode 100644
index 0000000..62a6863
Binary files /dev/null and b/src/assets/fx/guitar-hollow-toon.webp differ
diff --git a/src/assets/fx/guitar-strat-riso.webp b/src/assets/fx/guitar-strat-riso.webp
new file mode 100644
index 0000000..db90acd
Binary files /dev/null and b/src/assets/fx/guitar-strat-riso.webp differ
diff --git a/src/assets/fx/hibiscus-toon.webp b/src/assets/fx/hibiscus-toon.webp
new file mode 100644
index 0000000..eac3521
Binary files /dev/null and b/src/assets/fx/hibiscus-toon.webp differ
diff --git a/src/assets/fx/lily-pixel.webp b/src/assets/fx/lily-pixel.webp
new file mode 100644
index 0000000..9d6569c
Binary files /dev/null and b/src/assets/fx/lily-pixel.webp differ
diff --git a/src/assets/fx/motorcycle-pixel.webp b/src/assets/fx/motorcycle-pixel.webp
new file mode 100644
index 0000000..688c5ed
Binary files /dev/null and b/src/assets/fx/motorcycle-pixel.webp differ
diff --git a/src/assets/fx/motorcycle-toon.webp b/src/assets/fx/motorcycle-toon.webp
new file mode 100644
index 0000000..8ca60e4
Binary files /dev/null and b/src/assets/fx/motorcycle-toon.webp differ
diff --git a/src/assets/fx/pedalboard-riso.webp b/src/assets/fx/pedalboard-riso.webp
new file mode 100644
index 0000000..933694b
Binary files /dev/null and b/src/assets/fx/pedalboard-riso.webp differ
diff --git a/src/assets/fx/server-rack-toon.webp b/src/assets/fx/server-rack-toon.webp
new file mode 100644
index 0000000..a1b9a4c
Binary files /dev/null and b/src/assets/fx/server-rack-toon.webp differ
diff --git a/src/assets/fx/synth-vintage.webp b/src/assets/fx/synth-vintage.webp
new file mode 100644
index 0000000..3df8552
Binary files /dev/null and b/src/assets/fx/synth-vintage.webp differ
diff --git a/src/assets/fx/tv-vintage.webp b/src/assets/fx/tv-vintage.webp
new file mode 100644
index 0000000..18d1ae8
Binary files /dev/null and b/src/assets/fx/tv-vintage.webp differ
diff --git a/src/components/ChicagoStar.astro b/src/components/ChicagoStar.astro
deleted file mode 100644
index 9b30497..0000000
--- a/src/components/ChicagoStar.astro
+++ /dev/null
@@ -1,18 +0,0 @@
----
-// Six-pointed star from the Chicago flag.
-interface Props {
- size?: string;
- color?: string;
- class?: string;
-}
-const { size = '1.6rem', color = 'var(--chicago-star)', class: cls } = Astro.props;
-const pts = Array.from({ length: 12 }, (_, i) => {
- const r = i % 2 === 0 ? 50 : 26;
- const a = (Math.PI / 6) * i - Math.PI / 2;
- return `${(50 + r * Math.cos(a)).toFixed(2)},${(50 + r * Math.sin(a)).toFixed(2)}`;
-}).join(' ');
----
-
-
-
-
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index 2026ba0..058bf0a 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -1,6 +1,5 @@
---
import { SITE } from '../lib/site';
-import ChicagoStar from './ChicagoStar.astro';
const year = new Date().getFullYear();
const links = Object.entries(SITE.links).filter(([, href]) => !href.includes('PLACEHOLDER'));
const lines = ['--cta-red', '--cta-blue', '--cta-brown', '--cta-green', '--cta-orange', '--cta-purple', '--cta-pink', '--cta-yellow'];
@@ -38,14 +37,10 @@ const lines = ['--cta-red', '--cta-blue', '--cta-brown', '--cta-green', '--cta-o
-
-
- {[0, 1, 2, 3].map(() => )}
-
-
+
-
© {year} {SITE.name} · Chicago, IL
+
© {year} {SITE.name}
Photo credits
Self-hosted · Built with Astro
@@ -91,21 +86,8 @@ const lines = ['--cta-red', '--cta-blue', '--cta-brown', '--cta-green', '--cta-o
.readout dd {
overflow-wrap: anywhere;
}
- .flag {
- display: grid;
- gap: 0.6rem;
+ .checker {
margin-top: var(--space-8);
- padding-block: 0.9rem;
- background: #fff;
- }
- .stripe {
- height: clamp(10px, 2.2vw, 18px);
- background: var(--chicago-blue);
- }
- .stars {
- display: flex;
- justify-content: center;
- gap: clamp(1rem, 6vw, 3.5rem);
}
.base {
display: flex;
diff --git a/src/components/FxCanvas.tsx b/src/components/FxCanvas.tsx
new file mode 100644
index 0000000..b7f0980
--- /dev/null
+++ b/src/components/FxCanvas.tsx
@@ -0,0 +1,225 @@
+import { useEffect, useRef } from 'react';
+import { Renderer, Program, Mesh, Triangle, Texture } from 'ogl';
+
+/**
+ * Live retro shader over an image. Sits on top of a normal (the
+ * fallback) and fades in once the first frame is drawn.
+ *
+ * crt – barrel curve, scanlines, RGB aperture mask, flicker, vignette
+ * vhs – tracking band, line wobble, chroma shift, static, tape jumps
+ * pixel – starts chunky and resolves into the photo; hover re-pixelates
+ * toon – live cel shading: posterised colour + Sobel ink outlines
+ *
+ * Renders only while on screen, at device-pixel-ratio 1, and draws a single
+ * still frame for visitors who prefer reduced motion.
+ */
+export type FxMode = 'crt' | 'vhs' | 'pixel' | 'toon';
+const MODES: Record = { crt: 0, vhs: 1, pixel: 2, toon: 3 };
+
+interface Props {
+ src: string;
+ mode?: FxMode;
+ amount?: number;
+ className?: string;
+}
+
+const vertex = /* glsl */ `
+attribute vec2 uv;
+attribute vec2 position;
+varying vec2 vUv;
+void main() { vUv = uv; gl_Position = vec4(position, 0.0, 1.0); }
+`;
+
+const fragment = /* glsl */ `
+precision highp float;
+uniform sampler2D tMap;
+uniform vec2 uRes;
+uniform vec2 uImg;
+uniform float uTime;
+uniform int uMode;
+uniform float uAmt;
+uniform float uHover;
+uniform float uReveal;
+varying vec2 vUv;
+
+vec2 cover(vec2 uv) {
+ float rs = uRes.x / uRes.y;
+ float ri = uImg.x / uImg.y;
+ vec2 s = rs > ri ? vec2(1.0, ri / rs) : vec2(rs / ri, 1.0);
+ return (uv - 0.5) * s + 0.5;
+}
+float rand(vec2 c) { return fract(sin(dot(c, vec2(12.9898, 78.233))) * 43758.5453); }
+float lum(vec3 c) { return dot(c, vec3(0.299, 0.587, 0.114)); }
+vec3 tex(vec2 uv) { return texture2D(tMap, cover(uv)).rgb; }
+vec2 barrel(vec2 uv, float k) { vec2 c = uv * 2.0 - 1.0; c *= 1.0 + k * dot(c, c); return c * 0.5 + 0.5; }
+
+void main() {
+ vec2 uv = vUv;
+ vec3 col;
+
+ if (uMode == 0) {
+ vec2 b = barrel(uv, 0.1 * uAmt);
+ if (b.x < 0.0 || b.x > 1.0 || b.y < 0.0 || b.y > 1.0) { gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); return; }
+ float ab = 0.0025 * uAmt + 0.006 * uHover;
+ col = vec3(tex(b + vec2(ab, 0.0)).r, tex(b).g, tex(b - vec2(ab, 0.0)).b);
+ float sl = 0.5 + 0.5 * sin(b.y * uRes.y * 1.5);
+ col *= mix(1.0, 0.7 + 0.3 * sl, 0.7 * uAmt);
+ float m = mod(gl_FragCoord.x, 3.0);
+ vec3 mask = vec3(m < 1.0 ? 1.0 : 0.72, (m >= 1.0 && m < 2.0) ? 1.0 : 0.72, m >= 2.0 ? 1.0 : 0.72);
+ col *= mix(vec3(1.0), mask, 0.4 * uAmt);
+ col *= 0.95 + 0.05 * sin(uTime * 50.0);
+ float roll = smoothstep(0.0, 0.08, abs(fract(b.y - uTime * 0.12) - 0.5));
+ col += (1.0 - roll) * 0.06;
+ col *= mix(0.55, 1.15, smoothstep(0.85, 0.15, length(b - 0.5)));
+ col += (rand(uv * uRes + uTime) - 0.5) * 0.07 * uAmt;
+ } else if (uMode == 1) {
+ float t = uTime;
+ float band = smoothstep(0.0, 0.03, abs(fract(uv.y * 0.6 - t * 0.07) - 0.5) - 0.44);
+ float line = floor(uv.y * 220.0);
+ float wob = (rand(vec2(line, floor(t * 20.0))) - 0.5) * 0.004 * uAmt;
+ float jump = step(0.97, rand(vec2(floor(t * 4.0), 7.0))) * 0.025 * uAmt;
+ vec2 u = uv + vec2(wob + (1.0 - band) * 0.018 * uAmt + jump * sin(uv.y * 30.0 + t * 20.0), 0.0);
+ float ab = 0.005 * uAmt + 0.012 * uHover;
+ col = vec3(tex(u + vec2(ab, 0.0)).r, tex(u).g, tex(u - vec2(ab * 1.6, 0.0)).b);
+ col = mix(vec3(lum(col)), col, 0.8) * vec3(1.04, 0.98, 1.06);
+ col += (rand(uv * vec2(3.0, uRes.y) + t) - 0.5) * 0.14 * uAmt;
+ col += (1.0 - band) * 0.14;
+ col *= 0.9 + 0.1 * sin(uv.y * uRes.y * 0.8);
+ col = mix(col, vec3(0.06, 0.04, 0.1), smoothstep(0.55, 1.0, length(uv - 0.5)) * 0.6);
+ } else if (uMode == 2) {
+ float size = mix(56.0, 1.0, uReveal);
+ size = max(size, 1.0 + 7.0 * uAmt * uHover);
+ vec2 cell = (floor(gl_FragCoord.xy / size) + 0.5) * size / uRes;
+ col = tex(cell);
+ if (size > 1.5) col = floor(col * 7.0 + 0.5) / 7.0;
+ } else {
+ vec2 px = 1.5 / uRes;
+ vec3 c = tex(uv);
+ float tl = lum(tex(uv + px * vec2(-1.0, 1.0))), t0 = lum(tex(uv + px * vec2(0.0, 1.0))), tr = lum(tex(uv + px * vec2(1.0, 1.0)));
+ float l0 = lum(tex(uv + px * vec2(-1.0, 0.0))), r0 = lum(tex(uv + px * vec2(1.0, 0.0)));
+ float bl = lum(tex(uv + px * vec2(-1.0, -1.0))), b0 = lum(tex(uv + px * vec2(0.0, -1.0))), br = lum(tex(uv + px * vec2(1.0, -1.0)));
+ float gx = -tl - 2.0 * l0 - bl + tr + 2.0 * r0 + br;
+ float gy = -tl - 2.0 * t0 - tr + bl + 2.0 * b0 + br;
+ float edge = smoothstep(0.18, 0.4, length(vec2(gx, gy)) * uAmt);
+ float levels = 5.0;
+ vec3 flat_ = floor(c * levels + 0.5) / levels;
+ flat_ = mix(vec3(lum(flat_)), flat_, 1.35);
+ col = mix(flat_, vec3(0.07, 0.06, 0.08), edge);
+ col += (rand(uv * uRes) - 0.5) * 0.04;
+ }
+
+ gl_FragColor = vec4(clamp(col, 0.0, 1.0), 1.0);
+}
+`;
+
+export default function FxCanvas({ src, mode = 'crt', amount = 1, className = '' }: Props) {
+ const ref = useRef(null);
+
+ useEffect(() => {
+ const host = ref.current;
+ if (!host) return;
+ const reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
+
+ let renderer: Renderer;
+ try {
+ renderer = new Renderer({ dpr: 1, alpha: false, antialias: false });
+ } catch {
+ return; // no WebGL: the plain image underneath stays visible
+ }
+ const gl = renderer.gl;
+ const canvas = gl.canvas as HTMLCanvasElement;
+ host.appendChild(canvas);
+
+ const texture = new Texture(gl, { generateMipmaps: false });
+ const uniforms = {
+ tMap: { value: texture },
+ uRes: { value: [1, 1] },
+ uImg: { value: [1, 1] },
+ uTime: { value: 0 },
+ uMode: { value: MODES[mode] },
+ uAmt: { value: amount },
+ uHover: { value: 0 },
+ uReveal: { value: mode === 'pixel' && !reduce ? 0 : 1 },
+ };
+ const program = new Program(gl, { vertex, fragment, uniforms });
+ const mesh = new Mesh(gl, { geometry: new Triangle(gl), program });
+
+ const resize = () => {
+ const { width, height } = host.getBoundingClientRect();
+ renderer.setSize(Math.max(1, width), Math.max(1, height));
+ uniforms.uRes.value = [gl.drawingBufferWidth, gl.drawingBufferHeight];
+ };
+ const ro = new ResizeObserver(resize);
+ ro.observe(host);
+ resize();
+
+ let raf = 0;
+ let visible = false;
+ let ready = false;
+ let hoverTarget = 0;
+ let revealStart = 0;
+ const start = performance.now();
+
+ const draw = (now: number) => {
+ const t = (now - start) / 1000;
+ uniforms.uTime.value = t;
+ uniforms.uHover.value += (hoverTarget - uniforms.uHover.value) * 0.12;
+ if (mode === 'pixel' && revealStart) {
+ uniforms.uReveal.value = Math.min(1, (now - revealStart) / 1400);
+ }
+ renderer.render({ scene: mesh });
+ };
+ const loop = (now: number) => {
+ draw(now);
+ if (visible && !document.documentElement.classList.contains('menu-open')) raf = requestAnimationFrame(loop);
+ else raf = 0;
+ };
+ const kick = () => {
+ if (!ready) return;
+ if (reduce) return draw(performance.now());
+ if (!raf && visible) raf = requestAnimationFrame(loop);
+ };
+
+ const img = new Image();
+ img.decoding = 'async';
+ img.onload = () => {
+ texture.image = img;
+ uniforms.uImg.value = [img.naturalWidth, img.naturalHeight];
+ ready = true;
+ host.dataset.ready = 'true';
+ kick();
+ };
+ img.src = src;
+
+ const io = new IntersectionObserver(([entry]) => {
+ visible = entry.isIntersecting;
+ if (visible && mode === 'pixel' && !revealStart && !reduce) revealStart = performance.now();
+ kick();
+ });
+ io.observe(host);
+
+ const onEnter = () => {
+ hoverTarget = 1;
+ kick();
+ };
+ const onLeave = () => (hoverTarget = 0);
+ host.addEventListener('pointerenter', onEnter);
+ host.addEventListener('pointerleave', onLeave);
+ // resume after the mobile menu closes
+ const mo = new MutationObserver(kick);
+ mo.observe(document.documentElement, { attributes: true, attributeFilter: ['class'] });
+
+ return () => {
+ cancelAnimationFrame(raf);
+ io.disconnect();
+ ro.disconnect();
+ mo.disconnect();
+ host.removeEventListener('pointerenter', onEnter);
+ host.removeEventListener('pointerleave', onLeave);
+ gl.getExtension('WEBGL_lose_context')?.loseContext();
+ canvas.remove();
+ };
+ }, [src, mode, amount]);
+
+ return
;
+}
diff --git a/src/components/FxImage.astro b/src/components/FxImage.astro
new file mode 100644
index 0000000..5a6f4bf
--- /dev/null
+++ b/src/components/FxImage.astro
@@ -0,0 +1,70 @@
+---
+/**
+ * An optimized image with a live retro shader on top (see FxCanvas.tsx).
+ * The plain renders first (fast LCP, no-JS, SEO); the shader fades in.
+ */
+import { Image, getImage } from 'astro:assets';
+import type { ImageMetadata } from 'astro';
+import FxCanvas, { type FxMode } from './FxCanvas';
+
+interface Props {
+ src: ImageMetadata;
+ alt?: string;
+ mode?: FxMode;
+ amount?: number;
+ ratio?: string;
+ position?: string;
+ loading?: 'lazy' | 'eager';
+ sizes?: string;
+ class?: string;
+ [attr: string]: unknown;
+}
+const {
+ src,
+ alt = '',
+ mode = 'crt',
+ amount = 1,
+ ratio,
+ position = 'center',
+ loading = 'lazy',
+ sizes = '(min-width: 60rem) 50vw, 100vw',
+ class: cls,
+ ...rest
+} = Astro.props;
+const tex = await getImage({ src, width: Math.min(src.width, 1100), format: 'webp' });
+---
+
+
+ w <= src.width)} sizes={sizes} loading={loading} />
+
+
+
+
diff --git a/src/components/Logo.astro b/src/components/Logo.astro
new file mode 100644
index 0000000..53dba43
--- /dev/null
+++ b/src/components/Logo.astro
@@ -0,0 +1,44 @@
+---
+// Brand mark: a red "yo" sticker with a sparkle.
+interface Props {
+ size?: string;
+}
+const { size = '2.3rem' } = Astro.props;
+---
+
+
+ yo
+
+
+
+
diff --git a/src/components/MobileMenu.css b/src/components/MobileMenu.css
index e1d880f..50313b9 100644
--- a/src/components/MobileMenu.css
+++ b/src/components/MobileMenu.css
@@ -23,6 +23,17 @@
.yo-menu .staggered-menu-panel {
width: 100%;
}
+/* promote the sliding layers up front so the first frame doesn't stutter */
+.yo-menu .sm-prelayer,
+.yo-menu .staggered-menu-panel,
+.yo-menu .sm-panel-itemLabel {
+ will-change: transform;
+ backface-visibility: hidden;
+}
+/* pause decorative motion behind the open menu */
+html.menu-open main * {
+ animation-play-state: paused !important;
+}
.yo-menu .staggered-menu-panel {
background: #f4f1e8;
padding: 5.5rem var(--gutter) 2rem;
diff --git a/src/components/MobileMenu.tsx b/src/components/MobileMenu.tsx
index 27e0d06..2c2932a 100644
--- a/src/components/MobileMenu.tsx
+++ b/src/components/MobileMenu.tsx
@@ -18,7 +18,7 @@ export default function MobileMenu({ items, current, email, status }: Props) {
className="yo-menu"
position="right"
isFixed
- colors={['#c60c30', '#f9e300', '#009b3a', '#00a1de']}
+ colors={['#c60c30', '#f9e300']}
accentColor="#c60c30"
menuButtonColor="#141412"
openMenuButtonColor="#141412"
diff --git a/src/components/Nav.astro b/src/components/Nav.astro
index 32dd0f6..9bd2325 100644
--- a/src/components/Nav.astro
+++ b/src/components/Nav.astro
@@ -1,6 +1,6 @@
---
import { NAV, SITE } from '../lib/site';
-import ChicagoStar from './ChicagoStar.astro';
+import Logo from './Logo.astro';
import MobileMenu from './MobileMenu';
const path = Astro.url.pathname.replace(/\/$/, '') || '/';
const isActive = (href: string) => path === href || path.startsWith(href + '/');
@@ -9,7 +9,7 @@ const isActive = (href: string) => path === href || path.startsWith(href + '/');
-
+
yoyos.sh
@@ -47,9 +47,7 @@ const isActive = (href: string) => path === href || path.startsWith(href + '/');
position: sticky;
top: 0;
z-index: 100;
- background: color-mix(in oklab, var(--bg) 92%, transparent);
- backdrop-filter: blur(10px);
- -webkit-backdrop-filter: blur(10px);
+ background: var(--bg);
border-bottom: var(--border-w) solid var(--line-strong);
}
.row {
@@ -71,11 +69,8 @@ const isActive = (href: string) => path === href || path.startsWith(href + '/');
letter-spacing: -0.03em;
color: var(--fg);
}
- .brand :global(svg) {
- transition: rotate 0.6s var(--ease);
- }
- .brand:hover :global(svg) {
- rotate: 60deg;
+ .brand:hover :global(.mark) {
+ rotate: 12deg;
}
.tld {
color: var(--fg-muted);
diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro
index 78f63d6..4c96117 100644
--- a/src/components/ProjectCard.astro
+++ b/src/components/ProjectCard.astro
@@ -31,7 +31,9 @@ const statusLabel = { live: 'Live', shipped: 'Shipped', 'in-progress': 'In progr
transition:name={`cover-${project.id}`}
/>
) : (
-
Images coming soon
+
+ NO SIGNAL
+
)
}
@@ -97,16 +99,43 @@ const statusLabel = { live: 'Live', shipped: 'Shipped', 'in-progress': 'In progr
background: #e8e3d4;
}
.media :global(img),
- .placeholder {
+ .bars {
width: 100%;
aspect-ratio: 16 / 10;
object-fit: cover;
object-position: top left;
}
- .placeholder {
- --fg: var(--ink);
- --fg-muted: #6b675d;
- --bg-sunken: #ebe6d6;
+ /* 90s TV test pattern for projects without images yet */
+ .bars {
+ position: relative;
+ display: grid;
+ place-items: center;
+ background:
+ linear-gradient(to bottom, transparent 72%, #141412 72% 78%, transparent 78%),
+ linear-gradient(90deg, #c0c0c0 0 14.28%, #c0c000 0 28.57%, #00c0c0 0 42.85%, #00c000 0 57.14%, #c000c0 0 71.42%, #c00000 0 85.71%, #0000c0 0);
+ overflow: hidden;
+ }
+ .bars::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ background:
+ url('/fx/grain.png') 0 0 / 96px 96px,
+ repeating-linear-gradient(to bottom, rgb(0 0 0 / 0.18) 0 1px, transparent 1px 3px);
+ opacity: 0.8;
+ }
+ .ns {
+ position: relative;
+ padding: 0.15rem 0.6rem;
+ background: #141412;
+ color: #fff;
+ font-family: var(--ff-crt);
+ font-size: 1.4rem;
+ letter-spacing: 0.08em;
+ animation: blink 1.4s steps(1) infinite;
+ }
+ .card:hover .bars::before {
+ animation: grain-jitter 0.3s steps(1) infinite;
}
.body {
display: grid;
diff --git a/src/components/deco/Clipping.astro b/src/components/deco/Clipping.astro
index 67ab872..acfffbd 100644
--- a/src/components/deco/Clipping.astro
+++ b/src/components/deco/Clipping.astro
@@ -43,6 +43,8 @@ const {
caption,
...rest
} = Astro.props;
+// Pixel art (tools/fx.py *-pixel) is tiny: serve it losslessly at native size.
+const isPixel = src.src.includes('-pixel');
---
-
+ {
+ isPixel ? (
+
+ ) : (
+
+ )
+ }
{caption && {caption} }
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro
index ecbf158..3c0b5b2 100644
--- a/src/layouts/Base.astro
+++ b/src/layouts/Base.astro
@@ -26,6 +26,11 @@ const {
type = 'website',
} = Astro.props;
+// Page change = old CRT switching off, new one switching on.
+const crtOff = { name: 'crt-off', duration: '0.32s', easing: 'cubic-bezier(0.7, 0, 0.84, 0)', fillMode: 'both' };
+const crtOn = { name: 'crt-on', duration: '0.42s', delay: '0.1s', easing: 'cubic-bezier(0.16, 1, 0.3, 1)', fillMode: 'both' };
+const crt = { forwards: { old: crtOff, new: crtOn }, backwards: { old: crtOff, new: crtOn } };
+
const fullTitle = title ? `${title} · ${SITE.name}` : SITE.title;
const canonical = new URL(Astro.url.pathname, Astro.site);
const ogImage = image ? new URL(image, Astro.site) : undefined;
@@ -43,7 +48,7 @@ const person = {
---
-
+
diff --git a/src/pages/about.astro b/src/pages/about.astro
index c7b1642..72b28ef 100644
--- a/src/pages/about.astro
+++ b/src/pages/about.astro
@@ -3,13 +3,14 @@ import Base from '../layouts/Base.astro';
import { SITE } from '../lib/site';
import { Image } from 'astro:assets';
import Clipping from '../components/deco/Clipping.astro';
-import daisies from '../assets/photos/daisies.jpg';
-import grassTop from '../assets/photos/grass-top.jpg';
-import botanical from '../assets/photos/botanical.jpg';
-import lily from '../assets/photos/lily.jpg';
-import marinaRiver from '../assets/photos/marina-city-river.jpg';
-import serverRack from '../assets/photos/server-rack.jpg';
-import computers from '../assets/photos/computers-room.jpg';
+import FxImage from '../components/FxImage.astro';
+import daisies from '../assets/fx/daisies-toon.webp';
+import grassTop from '../assets/fx/grass-top-pixel.webp';
+import botanical from '../assets/fx/botanical-riso.webp';
+import lily from '../assets/fx/lily-pixel.webp';
+import guitar from '../assets/fx/guitar-hollow-toon.webp';
+import serverRack from '../assets/fx/server-rack-toon.webp';
+import computers from '../assets/fx/computers-room-xerox.webp';
const packetPhotos = [grassTop, computers, serverRack, botanical, lily];
@@ -66,17 +67,17 @@ const timeline = [
-
+
-
about me*
-
software engineer in chicago. i like building useful things.
+
about me*
+
software engineer. i like building useful things.
Automation, internal tools and web apps, plus games, 3D, hardware and music on the side.
-
+
I'm a deployment technical lead who builds the tooling the deployments run on. Over two
@@ -106,7 +107,11 @@ const timeline = [
skills.map((s, i) => (
skill set · no.{String(i + 1).padStart(2, '0')}
-
+ {packetPhotos[i % packetPhotos.length].src.includes('-pixel') ? (
+
+ ) : (
+
+ )}
{s.k}
{s.v.map((v) => (
@@ -156,20 +161,11 @@ const timeline = [
.hero :global(.hero-img) {
position: absolute;
inset: 0;
- width: 100%;
- height: 100%;
- object-fit: cover;
- object-position: center 60%;
- animation: zoom 14s ease-out both;
- }
- @keyframes zoom {
- from {
- transform: scale(1.12);
- }
}
.hero::after {
content: '';
position: absolute;
+ pointer-events: none;
inset: 0;
background: linear-gradient(to top, rgb(10 30 5 / 0.55), transparent 65%);
}
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro
index be7f43c..a2afb35 100644
--- a/src/pages/blog/index.astro
+++ b/src/pages/blog/index.astro
@@ -6,7 +6,7 @@ import Window from '../../components/deco/Window.astro';
import Clipping from '../../components/deco/Clipping.astro';
import ScrambledText from '../../components/bits/ScrambledText';
import forest from '../../assets/photos/forest.jpg';
-import tv from '../../assets/photos/tv.jpg';
+import tv from '../../assets/fx/tv-vintage.webp';
import floppies from '../../assets/photos/floppies-sticker.png';
// Tiny version of a real photo, scaled up with crisp pixels = instant pixel art.
@@ -23,12 +23,12 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
-
+
Loading…
-
Blog
+
Blog
Note
@@ -40,7 +40,7 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
-
+
@@ -98,6 +98,7 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
image-rendering: pixelated;
}
.loading {
+ z-index: 4;
position: absolute;
top: var(--space-4);
left: var(--space-4);
@@ -130,6 +131,8 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
}
}
h1 {
+ position: relative;
+ z-index: 4;
font-size: clamp(4.5rem, 24vw, 10rem);
line-height: 0.85;
color: #fff;
@@ -138,6 +141,8 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
8px 8px 0 #10172e;
}
.note {
+ position: relative;
+ z-index: 4;
max-width: 30rem;
padding: 0.75rem 0.9rem;
background: #fbfcf6;
diff --git a/src/pages/contact.astro b/src/pages/contact.astro
index 9b1f57b..5948a7c 100644
--- a/src/pages/contact.astro
+++ b/src/pages/contact.astro
@@ -3,11 +3,11 @@ import Base from '../layouts/Base.astro';
import Stamp from '../components/deco/Stamp.astro';
import { SITE } from '../lib/site';
import { Image, getImage } from 'astro:assets';
-import aerial from '../assets/photos/chicago-aerial.jpg';
-import botanical from '../assets/photos/botanical.jpg';
+import hibiscus from '../assets/fx/hibiscus-toon.webp';
+import botanical from '../assets/fx/botanical-riso.webp';
import back from '../assets/photos/postcard-back.jpg';
const year = new Date().getFullYear();
-const aerialBg = await getImage({ src: aerial, width: 900, format: 'webp' });
+const fillBg = await getImage({ src: hibiscus, width: 900, format: 'webp' });
const backBg = await getImage({ src: back, width: 1200, format: 'webp' });
---
@@ -15,10 +15,12 @@ const backBg = await getImage({ src: back, width: 1200, format: 'webp' });
- Greetings from
- Chicago
+ Say hello!
+ Hi there
+
+
-
Get in touch
+
Get in touch
Hiring, freelance work, collaborations, or you want to talk about a game, a 3D model or a
riff. I read everything and usually reply within a couple of days.
@@ -48,7 +50,7 @@ const backBg = await getImage({ src: back, width: 1200, format: 'webp' });
- Chicago IL
+ Air mail
{year}
yoyos.sh
@@ -127,6 +129,17 @@ const backBg = await getImage({ src: back, width: 1200, format: 'webp' });
rotate: -3deg;
z-index: 1;
}
+ .greetings .sparkle {
+ position: absolute;
+ }
+ .sp1 {
+ top: 0.6rem;
+ right: 1rem;
+ }
+ .sp2 {
+ bottom: 0.7rem;
+ left: 1.2rem;
+ }
.city {
font-family: var(--ff-mag);
font-size: clamp(2.5rem, 13.5vw, 6.4rem);
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 3a16b27..e61cfb9 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -4,7 +4,7 @@ import { getImage } from 'astro:assets';
import Base from '../layouts/Base.astro';
import ProjectCard from '../components/ProjectCard.astro';
import LineBadge from '../components/LineBadge.astro';
-import ChicagoStar from '../components/ChicagoStar.astro';
+import FxImage from '../components/FxImage.astro';
import Starburst from '../components/deco/Starburst.astro';
import Barcode from '../components/deco/Barcode.astro';
import Clipping from '../components/deco/Clipping.astro';
@@ -15,12 +15,12 @@ import StickerPeel from '../components/bits/StickerPeel';
import { SITE } from '../lib/site';
import { DISCIPLINES, LINES } from '../lib/disciplines';
-import skyline from '../assets/photos/chicago-skyline-red.jpg';
-import ctaSign from '../assets/photos/cta-sign.jpg';
-import marina from '../assets/photos/marina-city.jpg';
-import cassette from '../assets/photos/cassette.jpg';
-import guitar from '../assets/photos/guitar-strat.jpg';
-import moto from '../assets/photos/motorcycle.jpg';
+import motoToon from '../assets/fx/motorcycle-toon.webp';
+import motoPixel from '../assets/fx/motorcycle-pixel.webp';
+import cassette from '../assets/fx/cassette-vintage.webp';
+import tv from '../assets/fx/tv-vintage.webp';
+import pile from '../assets/fx/computers-pile-pixel.webp';
+import guitar from '../assets/fx/guitar-strat-riso.webp';
import gba from '../assets/photos/gba-sticker.png';
import floppies from '../assets/photos/floppies-sticker.png';
@@ -41,50 +41,62 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
const now = new Date();
const season = ['Winter', 'Spring', 'Summer', 'Fall'][Math.floor(((now.getMonth() + 1) % 12) / 3)];
const issue = String(now.getMonth() + 1).padStart(2, '0');
+const osdDate = now.toLocaleDateString('en-US', { month: 'short', day: '2-digit', year: 'numeric' }).toUpperCase().replace(',', '');
---
+
-
+
+
+
+ ▶ PLAY
+ REC
+
+
+ SP
+ {osdDate} 00:00:00
+
+
- Johan
+ Johan
Sandoval
Software Engineer
+
I build the tools teams run on!
-
-
+
+
+
+
@@ -102,22 +114,29 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
+
+
- {SITE.availability.open ? 'Now hiring me!' : 'Say hi!'}
+ {SITE.availability.open ? 'Open to work!' : 'Say hi!'}
@@ -130,7 +149,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
client:visible
velocity={45}
numCopies={4}
- texts={['Software Engineer ★ Internal Tools ★ Automation ★ Web Apps ★ ', 'Games ★ 3D ★ Hardware ★ Music ★ Chicago ★ ']}
+ texts={['Software Engineer ✦ Internal Tools ✦ Automation ✦ Web Apps ✦ ', 'Games ✦ 3D ✦ Hardware ✦ Music ✦ Homelab ✦ ']}
className="ticker-text"
/>
@@ -138,12 +157,16 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
-
-
-
+
+
+ CH 03
+
+
+
+
Pow!
@@ -155,7 +178,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
/ day
machine builds after shipping USMT Dash
-
+
machines closed against a 1,300 scope
@@ -174,10 +197,12 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
Swipe →
+
+
-
What I work on
+ What I work on
@@ -195,8 +220,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
}
-
-
+
+
@@ -223,17 +248,37 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
+
+