Replace Openverse images, fix blank space and spacing on mobile
Mirror to Gitea / mirror (push) Skipped

- Swap every photo for Unsplash photos and Pixabay stickers/clipart,
  credited in IMAGE_CREDITS.md and /credits; regenerate effect images
- Reveal animations never hide on-screen content and have a failsafe, so
  sections can no longer stay blank on phones
- Tighter section and footer spacing on mobile; drop the unlabeled status
  dot on mobile and the blog's fake loading bar
- Cover moves from the all-green poster to the board's mixed palette
- New boombox, spray can and headphones stickers
This commit is contained in:
Johan Sandoval committed 2026-10-08 19:08:34 +00:00
1 parent 48dcaaac25
commit 38b5213138
96 files changed
+293 -277

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
# Image credits
| File | Source | Creator | Original | License | Alt text |
|---|---|---|---|---|---|
| `src/assets/photos/handheld-sticker.png` | Pixabay (illustration) | [bricketh](https://pixabay.com/users/bricketh-1005143/) | https://pixabay.com/illustrations/game-video-game-gameboy-handheld-5357587/ | Pixabay Content License | Red retro handheld game console |
| `src/assets/photos/floppy-sticker.png` | Pixabay (photo) | [elmekki](https://pixabay.com/users/elmekki-2184851/) | https://pixabay.com/photos/floppy-disk-computer-1383996/ | Pixabay Content License | Yellow floppy disk |
| `src/assets/photos/boombox-sticker.png` | Pixabay (vector) | [Juhele](https://pixabay.com/users/Juhele-3094317/) | https://pixabay.com/vectors/casette-radio-am-fm-antenna-4397896/ | Pixabay Content License | Silver boombox |
| `src/assets/photos/spraycan-sticker.png` | Pixabay (vector) | [OpenClipart-Vectors](https://pixabay.com/users/OpenClipart-Vectors-30363/) | https://pixabay.com/vectors/aerosol-can-can-spray-brush-160052/ | Pixabay Content License | Green spray paint can |
| `src/assets/photos/headphones-sticker.png` | Pixabay (photo) | [Alexas_Fotos](https://pixabay.com/users/Alexas_Fotos-686414/) | https://pixabay.com/photos/headphones-music-sony-stereo-2919314/ | Pixabay Content License | Over-ear headphones |
| `src/assets/photos/botanical.png` | Pixabay (illustration) | [ArtsyBee](https://pixabay.com/users/ArtsyBee-462611/) | https://pixabay.com/illustrations/roses-collage-vintage-antique-1770165/ | Pixabay Content License | Vintage rose illustrations |
| `src/assets/photos/motorcycle.webp` | Unsplash | Anne Nygård | https://unsplash.com/photos/black-and-red-motorcycle-on-road-during-daytime-CY_iSV-tES8 | Unsplash License | Black and red motorcycle on road during daytime |
| `src/assets/photos/cassette.webp` | Unsplash | Daniel Schludi | https://unsplash.com/photos/white-cassette-tape-close-up-photography-mbGxz7pt0jM | Unsplash License | White cassette tape close-up photography |
| `src/assets/photos/tv.webp` | Unsplash | Diego González | https://unsplash.com/photos/grey-and-orange-crt-tv--I8lDurtfAo | Unsplash License | Grey and orange crt tv |
| `src/assets/photos/guitar-strat.webp` | Unsplash | Mikkel Bech | https://unsplash.com/photos/closeup-photography-of-electric-guitar-OwMIhcZu_X8 | Unsplash License | Closeup photography of electric guitar |
| `src/assets/photos/guitar-hollow.webp` | Unsplash | Adrian Ordonez | https://unsplash.com/photos/white-and-red-electric-guitar-Jd6eJ-zOE1k | Unsplash License | White and red electric guitar |
| `src/assets/photos/synth.webp` | Unsplash | Adi Goldstein | https://unsplash.com/photos/black-and-gray-audio-mixer-u0BVH8IOTUk | Unsplash License | Black and gray audio mixer |
| `src/assets/photos/computers-pile.webp` | Unsplash | Lorenzo Herrera | https://unsplash.com/photos/vintage-gray-game-console-and-joystick-p0j-mE6mGo4 | Unsplash License | Vintage gray game console and joystick |
| `src/assets/photos/computers-room.webp` | Unsplash | Dan Counsell | https://unsplash.com/photos/a-computer-on-a-desk-BTYss0CHM2w | Unsplash License | A computer on a desk |
| `src/assets/photos/server-rack.webp` | Unsplash | Yuriy Vertikov | https://unsplash.com/photos/a-rack-of-servers-with-wires-and-wires-attached-to-them-c-lSQecD9oI | Unsplash License | A rack of servers with wires and wires attached to them |
| `src/assets/photos/pedalboard.webp` | Unsplash | YEH CHE WEI | https://unsplash.com/photos/brown-and-black-audio-mixer-IK9RX8nFSWE | Unsplash License | Brown and black audio mixer |
| `src/assets/photos/daisies.webp` | Unsplash | Stefan Kostić | https://unsplash.com/photos/white-and-yellow-daisy-flowers-W2vd7NzvhSc | Unsplash License | White and yellow daisy flowers |
| `src/assets/photos/grass-top.webp` | Unsplash | Ivan Lopatin | https://unsplash.com/photos/a-close-up-of-a-field-of-green-grass-jChEOq6k2gI | Unsplash License | A close up of a field of green grass |
| `src/assets/photos/hibiscus.webp` | Unsplash | Sujay Paul | https://unsplash.com/photos/a-close-up-of-a-red-flower-with-green-leaves-KG34Yhi6ey8 | Unsplash License | A close up of a red flower with green leaves |
| `src/assets/photos/lily.webp` | Unsplash | Pedro Vit | https://unsplash.com/photos/a-single-yellow-lily-on-a-black-background-lKGNlIqjxY4 | Unsplash License | A single yellow lily on a black background |
| `src/assets/photos/cloud.webp` | Unsplash | engin akyurt | https://unsplash.com/photos/white-clouds-and-blue-sky-during-daytime-A9_IsUtjHm4 | Unsplash License | White clouds and blue sky during daytime |
| `src/assets/photos/subway-platform.webp` | Unsplash | Ronny Rondon | https://unsplash.com/photos/time-lapse-photo-of-a-train-station-koe_YyHaO3E | Unsplash License | Time lapse photo of a train station |
| `src/assets/photos/forest.webp` | Unsplash | Andrew A | https://unsplash.com/photos/a-forest-filled-with-lots-of-trees-covered-in-fog-XNZjueEeLO8 | Unsplash License | A forest filled with lots of trees covered in fog |
| `src/assets/photos/paper-crumpled.webp` | Unsplash | Marjan Blan | https://unsplash.com/photos/white-textile-on-brown-wooden-table-_kUxT8WkoeY | Unsplash License | White textile on brown wooden table |
Effect versions in `src/assets/fx/` are generated from these sources by `tools/fx.py`.
+2 -2
View File
@@ -56,8 +56,8 @@ Chicago: every section and project category rides a CTA 'L' line color (`src/lib
- Pick a theme: `<Base theme="radio">`, or `theme: vector` in a project/post's frontmatter. - Pick a theme: `<Base theme="radio">`, or `theme: vector` in a project/post's frontmatter.
- Mixed media: `src/components/deco/` — `Clipping` (real photo with tape / tilt / duotone / riso / - Mixed media: `src/components/deco/` — `Clipping` (real photo with tape / tilt / duotone / riso /
halftone / torn edge), `Starburst`, `Barcode`, `Window`, `Stamp`; plus `ChicagoStar`, `LineBadge`. halftone / torn edge), `Starburst`, `Barcode`, `Window`, `Stamp`; plus `ChicagoStar`, `LineBadge`.
- Photos: `src/assets/photos/` — all CC0 / public domain via Openverse, listed in - Photos: `src/assets/photos/` — Unsplash photos and Pixabay stickers/clipart, credited in `IMAGE_CREDITS.md`
`src/data/photo-credits.json` and shown at `/credits`. Add new ones there too. and shown at `/credits`. Run `python3 tools/fx.py` after changing a source photo to rebuild `src/assets/fx/`.
### Motion ### Motion
Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 421 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 402 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 453 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 463 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 KiB

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 KiB

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 KiB

After

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 525 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

+1 -1
View File
@@ -48,7 +48,7 @@ const lines = ['--cta-red', '--cta-blue', '--cta-brown', '--cta-green', '--cta-o
<style> <style>
footer { footer {
margin-top: var(--space-9); margin-top: var(--space-6);
background: var(--ink); background: var(--ink);
color: var(--paper); color: var(--paper);
padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom)); padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom));
+1 -5
View File
@@ -156,12 +156,8 @@ const isActive = (href: string) => path === href || path.startsWith(href + '/');
padding-right: 6.5rem; /* room for the fixed menu button */ padding-right: 6.5rem; /* room for the fixed menu button */
} }
.status { .status {
margin-inline-start: auto;
}
}
@media (max-width: 26rem) {
.status-text {
display: none; display: none;
} }
} }
</style> </style>
+144 -192
View File
@@ -1,242 +1,194 @@
[ [
{ {
"file": "botanical", "file": "handheld-sticker.png",
"title": "Japanese cherry blossom branch C.J", "title": "handheld-sticker.png",
"creator": "rijksmuseum", "creator": "bricketh",
"license": "CC0 1.0 (public domain dedication)", "license": "Pixabay Content License",
"source": "rawpixel", "source": "Pixabay (illustration)",
"url": "https://www.rawpixel.com/image/503781/free-illustration-image-sakura-cherry-blossoms-background" "url": "https://pixabay.com/illustrations/game-video-game-gameboy-handheld-5357587/"
}, },
{ {
"file": "cassette", "file": "floppy-sticker.png",
"title": "Free vintage cassette tape image", "title": "floppy-sticker.png",
"creator": "Unknown", "creator": "elmekki",
"license": "CC0 1.0 (public domain dedication)", "license": "Pixabay Content License",
"source": "rawpixel", "source": "Pixabay (photo)",
"url": "https://www.rawpixel.com/image/5907587/photo-image-tape-public-domain-black" "url": "https://pixabay.com/photos/floppy-disk-computer-1383996/"
}, },
{ {
"file": "chicago-aerial", "file": "boombox-sticker.png",
"title": "Chicago Skyline lakefront. Original image", "title": "boombox-sticker.png",
"creator": "Carol M Highsmith", "creator": "Juhele",
"license": "CC0 1.0 (public domain dedication)", "license": "Pixabay Content License",
"source": "rawpixel", "source": "Pixabay (vector)",
"url": "https://www.rawpixel.com/image/433891/free-photo-image-chicago-city-illinois-lakes" "url": "https://pixabay.com/vectors/casette-radio-am-fm-antenna-4397896/"
}, },
{ {
"file": "chicago-skyline-red", "file": "spraycan-sticker.png",
"title": "Chicago's skyline appears silhouette sunset", "title": "spraycan-sticker.png",
"creator": "Carol M Highsmith", "creator": "OpenClipart-Vectors",
"license": "CC0 1.0 (public domain dedication)", "license": "Pixabay Content License",
"source": "rawpixel", "source": "Pixabay (vector)",
"url": "https://www.rawpixel.com/image/3094116/free-photo-image-night-sunset-background-chicago" "url": "https://pixabay.com/vectors/aerosol-can-can-spray-brush-160052/"
}, },
{ {
"file": "cloud", "file": "headphones-sticker.png",
"title": "Cumulus Clouds", "title": "headphones-sticker.png",
"creator": "Free Nature Stock", "creator": "Alexas_Fotos",
"license": "CC0 1.0 (public domain dedication)", "license": "Pixabay Content License",
"source": "stocksnap", "source": "Pixabay (photo)",
"url": "https://stocksnap.io/photo/cumulus-clouds-RNUVHVEM6Q" "url": "https://pixabay.com/photos/headphones-music-sony-stereo-2919314/"
}, },
{ {
"file": "computers-pile", "file": "botanical.png",
"title": "Free pile old computers", "title": "botanical.png",
"creator": "Unknown", "creator": "ArtsyBee",
"license": "CC0 1.0 (public domain dedication)", "license": "Pixabay Content License",
"source": "rawpixel", "source": "Pixabay (illustration)",
"url": "https://www.rawpixel.com/image/5906713/photo-image-aesthetic-public-domain-computer" "url": "https://pixabay.com/illustrations/roses-collage-vintage-antique-1770165/"
}, },
{ {
"file": "computers-room", "file": "motorcycle.webp",
"title": "Free bunch old computers image", "title": "motorcycle.webp",
"creator": "Unknown", "creator": "Anne Nyg\u00e5rd",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "rawpixel", "source": "Unsplash",
"url": "https://www.rawpixel.com/image/5905997/photo-image-public-domain-shadow-technology" "url": "https://unsplash.com/photos/black-and-red-motorcycle-on-road-during-daytime-CY_iSV-tES8"
}, },
{ {
"file": "cta-sign", "file": "cassette.webp",
"title": "Scratched sign for the Chicago El Red Line to 95/Dan Ryan at North/Clybourne on a white pillar with a train moving in the background.", "title": "cassette.webp",
"creator": "Aaron Jorbin", "creator": "Daniel Schludi",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "wordpress", "source": "Unsplash",
"url": "https://wordpress.org/photos/photo/97765b5444/" "url": "https://unsplash.com/photos/white-cassette-tape-close-up-photography-mbGxz7pt0jM"
}, },
{ {
"file": "daisies", "file": "tv.webp",
"title": "Daisies Flower", "title": "tv.webp",
"creator": "Bob Richards", "creator": "Diego Gonz\u00e1lez",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "stocksnap", "source": "Unsplash",
"url": "https://stocksnap.io/photo/daisies-flower-M5XV7XMR6W" "url": "https://unsplash.com/photos/grey-and-orange-crt-tv--I8lDurtfAo"
}, },
{ {
"file": "floppies-sticker", "file": "guitar-strat.webp",
"title": "Old computer disk", "title": "guitar-strat.webp",
"creator": "Unknown", "creator": "Mikkel Bech",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "rawpixel", "source": "Unsplash",
"url": "https://www.rawpixel.com/image/6040633/old-computer-disk-free-public-domain-cc0-photo" "url": "https://unsplash.com/photos/closeup-photography-of-electric-guitar-OwMIhcZu_X8"
}, },
{ {
"file": "forest", "file": "guitar-hollow.webp",
"title": "Forest Mountain", "title": "guitar-hollow.webp",
"creator": "Matt Bango", "creator": "Adrian Ordonez",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "stocksnap", "source": "Unsplash",
"url": "https://stocksnap.io/photo/forest-mountain-NXXYL23EIL" "url": "https://unsplash.com/photos/white-and-red-electric-guitar-Jd6eJ-zOE1k"
}, },
{ {
"file": "gba-sticker", "file": "synth.webp",
"title": "Nintendo-Game-Boy-Advance-Purple-FL", "title": "synth.webp",
"creator": "Evan-Amos", "creator": "Adi Goldstein",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "wikimedia", "source": "Unsplash",
"url": "https://commons.wikimedia.org/w/index.php?curid=122403889" "url": "https://unsplash.com/photos/black-and-gray-audio-mixer-u0BVH8IOTUk"
}, },
{ {
"file": "grass-top", "file": "computers-pile.webp",
"title": "Grass Daisies", "title": "computers-pile.webp",
"creator": "Eric Lagergren", "creator": "Lorenzo Herrera",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "stocksnap", "source": "Unsplash",
"url": "https://stocksnap.io/photo/grass-daisies-6ADE4054B3" "url": "https://unsplash.com/photos/vintage-gray-game-console-and-joystick-p0j-mE6mGo4"
}, },
{ {
"file": "guitar-hollow", "file": "computers-room.webp",
"title": "Electric Guitar", "title": "computers-room.webp",
"creator": "Thomas Kelley", "creator": "Dan Counsell",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "stocksnap", "source": "Unsplash",
"url": "https://stocksnap.io/photo/electric-guitar-SQ2DL1GFQF" "url": "https://unsplash.com/photos/a-computer-on-a-desk-BTYss0CHM2w"
}, },
{ {
"file": "guitar-strat", "file": "server-rack.webp",
"title": "Electric Guitar", "title": "server-rack.webp",
"creator": "Markus Spiske", "creator": "Yuriy Vertikov",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "stocksnap", "source": "Unsplash",
"url": "https://stocksnap.io/photo/electric-guitar-UIT62UUU5X" "url": "https://unsplash.com/photos/a-rack-of-servers-with-wires-and-wires-attached-to-them-c-lSQecD9oI"
}, },
{ {
"file": "hibiscus", "file": "pedalboard.webp",
"title": "Hibiscus flower", "title": "pedalboard.webp",
"creator": "U.S. National Archives", "creator": "YEH CHE WEI",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "rawpixel", "source": "Unsplash",
"url": "https://www.rawpixel.com/image/8799471/photo-image-flower-plant-vintage" "url": "https://unsplash.com/photos/brown-and-black-audio-mixer-IK9RX8nFSWE"
}, },
{ {
"file": "lily", "file": "daisies.webp",
"title": "Isolated Flower Black Background", "title": "daisies.webp",
"creator": "Unknown", "creator": "Stefan Kosti\u0107",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "rawpixel", "source": "Unsplash",
"url": "https://www.rawpixel.com/image/5967321/isolated-flower-black-background" "url": "https://unsplash.com/photos/white-and-yellow-daisy-flowers-W2vd7NzvhSc"
}, },
{ {
"file": "marina-city", "file": "grass-top.webp",
"title": "Chicago-river-st-patricks-day-pd-pictures", "title": "grass-top.webp",
"creator": "Dave Zab", "creator": "Ivan Lopatin",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "wikimedia", "source": "Unsplash",
"url": "https://commons.wikimedia.org/w/index.php?curid=79847237" "url": "https://unsplash.com/photos/a-close-up-of-a-field-of-green-grass-jChEOq6k2gI"
}, },
{ {
"file": "marina-city-river", "file": "hibiscus.webp",
"title": "Chicago River downtown Chicago", "title": "hibiscus.webp",
"creator": "Carol M Highsmith", "creator": "Sujay Paul",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "rawpixel", "source": "Unsplash",
"url": "https://www.rawpixel.com/image/433928/free-photo-image-chicago-architecture-building" "url": "https://unsplash.com/photos/a-close-up-of-a-red-flower-with-green-leaves-KG34Yhi6ey8"
}, },
{ {
"file": "motorcycle", "file": "lily.webp",
"title": "Motorcycle Honda", "title": "lily.webp",
"creator": "Andrew James Kovalsky", "creator": "Pedro Vit",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "stocksnap", "source": "Unsplash",
"url": "https://stocksnap.io/photo/motorcycle-honda-DWKVL4HHDU" "url": "https://unsplash.com/photos/a-single-yellow-lily-on-a-black-background-lKGNlIqjxY4"
}, },
{ {
"file": "paper-crumpled", "file": "cloud.webp",
"title": "Free crumpled paper texture background", "title": "cloud.webp",
"creator": "Unknown", "creator": "engin akyurt",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "rawpixel", "source": "Unsplash",
"url": "https://www.rawpixel.com/image/5904241/photo-image-background-texture-public-domain" "url": "https://unsplash.com/photos/white-clouds-and-blue-sky-during-daytime-A9_IsUtjHm4"
}, },
{ {
"file": "paper-kraft", "file": "subway-platform.webp",
"title": "Free old paper texture image", "title": "subway-platform.webp",
"creator": "Unknown", "creator": "Ronny Rondon",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "rawpixel", "source": "Unsplash",
"url": "https://www.rawpixel.com/image/5913072/image-paper-texture-old" "url": "https://unsplash.com/photos/time-lapse-photo-of-a-train-station-koe_YyHaO3E"
}, },
{ {
"file": "pedalboard", "file": "forest.webp",
"title": "Telecaster Thinline type guitar with pedalboard (SecretPreamp,MXR10BandEQ,Supa-Trem,POG2,SP Comp,Tuner,BigSky,SeaMachine,GigaDelay,TimmyOverdrive,Broadcast,VolumPedal) - The Smith Center, Las Vegas (2017-04-29 10.28.27 piqsels.com en)", "title": "forest.webp",
"creator": "Unknown authorUnknown author", "creator": "Andrew A",
"license": "CC0 1.0 (public domain dedication)", "license": "Unsplash License",
"source": "wikimedia", "source": "Unsplash",
"url": "https://commons.wikimedia.org/w/index.php?curid=116006535" "url": "https://unsplash.com/photos/a-forest-filled-with-lots-of-trees-covered-in-fog-XNZjueEeLO8"
}, },
{ {
"file": "postcard-back", "file": "paper-crumpled.webp",
"title": "Postcard - South East Facade, Exhibition Building, JW Lindt, Melbourne, circa 1905", "title": "paper-crumpled.webp",
"creator": "Unknown", "creator": "Marjan Blan",
"license": "Public Domain Mark", "license": "Unsplash License",
"source": "museumsvictoria", "source": "Unsplash",
"url": "https://collections.museumsvictoria.com.au/items/255268" "url": "https://unsplash.com/photos/white-textile-on-brown-wooden-table-_kUxT8WkoeY"
},
{
"file": "railroad-postcard",
"title": "Chicago- Railroad center world",
"creator": "Unknown",
"license": "CC0 1.0 (public domain dedication)",
"source": "rawpixel",
"url": "https://www.rawpixel.com/image/8906028/image-texture-arts-vintage"
},
{
"file": "server-rack",
"title": "File:Rear of rack at NERSC data center - closeup.jpg",
"creator": "Derrick Coetzee from Berkeley, CA, USA",
"license": "CC0 1.0 (public domain dedication)",
"source": "wikimedia",
"url": "https://commons.wikimedia.org/w/index.php?curid=17460421"
},
{
"file": "subway-map",
"title": "Plate 80 Plan Chicago, 1909:",
"creator": "artinstitutechicago",
"license": "CC0 1.0 (public domain dedication)",
"source": "rawpixel",
"url": "https://www.rawpixel.com/image/8937739/image-roads-map-plate"
},
{
"file": "synth",
"title": "Synthesizer Keyboard",
"creator": "Skitter Photo",
"license": "CC0 1.0 (public domain dedication)",
"source": "stocksnap",
"url": "https://stocksnap.io/photo/synthesizer-keyboard-QVZN44GAXB"
},
{
"file": "tv",
"title": "Vintage television",
"creator": "Unknown",
"license": "CC0 1.0 (public domain dedication)",
"source": "rawpixel",
"url": "https://www.rawpixel.com/image/5904973/vintage-television-free-public-domain-cc0-photo"
},
{
"file": "union-station",
"title": "Chicago, Illinois. waiting room Union",
"creator": "Unknown",
"license": "CC0 1.0 (public domain dedication)",
"source": "rawpixel",
"url": "https://www.rawpixel.com/image/8718166/photo-image-vintage-public-domain-person"
} }
] ]
+3 -7
View File
@@ -5,9 +5,9 @@ import Base from '../../layouts/Base.astro';
import Window from '../../components/deco/Window.astro'; import Window from '../../components/deco/Window.astro';
import Clipping from '../../components/deco/Clipping.astro'; import Clipping from '../../components/deco/Clipping.astro';
import ScrambledText from '../../components/bits/ScrambledText'; import ScrambledText from '../../components/bits/ScrambledText';
import forest from '../../assets/photos/forest.jpg'; import forest from '../../assets/photos/forest.webp';
import tv from '../../assets/fx/tv-vintage.webp'; import tv from '../../assets/fx/tv-vintage.webp';
import floppies from '../../assets/photos/floppies-sticker.png'; import floppies from '../../assets/photos/floppy-sticker.png';
// Tiny version of a real photo, scaled up with crisp pixels = instant pixel art. // Tiny version of a real photo, scaled up with crisp pixels = instant pixel art.
const pixelForest = await getImage({ src: forest, width: 128, format: 'png' }); const pixelForest = await getImage({ src: forest, width: 128, format: 'png' });
@@ -24,10 +24,6 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
<div class="hero"> <div class="hero">
<Window title="yoyos.sh — Blog" class="wall-win"> <Window title="yoyos.sh — Blog" class="wall-win">
<div class="wall crt-overlay" style={`background-image:url(${pixelForest.src})`}> <div class="wall crt-overlay" style={`background-image:url(${pixelForest.src})`}>
<div class="loading" aria-hidden="true">
<span class="bar"><i></i></span>
<span>Loading…</span>
</div>
<h1 class="glitch" data-text="Blog">Blog</h1> <h1 class="glitch" data-text="Blog">Blog</h1>
<div class="note"> <div class="note">
<p class="note-title">Note</p> <p class="note-title">Note</p>
@@ -91,7 +87,7 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
display: grid; display: grid;
align-content: end; align-content: end;
gap: var(--space-4); gap: var(--space-4);
min-height: clamp(22rem, 95vw, 32rem); min-height: clamp(17rem, 72vw, 28rem);
padding: var(--space-4); padding: var(--space-4);
background-size: cover; background-size: cover;
background-position: center 30%; background-position: center 30%;
+1 -1
View File
@@ -5,7 +5,7 @@ import { SITE } from '../lib/site';
import { Image, getImage } from 'astro:assets'; import { Image, getImage } from 'astro:assets';
import hibiscus from '../assets/fx/hibiscus-toon.webp'; import hibiscus from '../assets/fx/hibiscus-toon.webp';
import botanical from '../assets/fx/botanical-riso.webp'; import botanical from '../assets/fx/botanical-riso.webp';
import back from '../assets/photos/postcard-back.jpg'; import back from '../assets/photos/paper-crumpled.webp';
const year = new Date().getFullYear(); const year = new Date().getFullYear();
const fillBg = await getImage({ src: hibiscus, width: 900, format: 'webp' }); const fillBg = await getImage({ src: hibiscus, width: 900, format: 'webp' });
const backBg = await getImage({ src: back, width: 1200, format: 'webp' }); const backBg = await getImage({ src: back, width: 1200, format: 'webp' });
+4 -4
View File
@@ -7,15 +7,15 @@ import credits from '../data/photo-credits.json';
<section class="wrap section"> <section class="wrap section">
<h1>Photo credits</h1> <h1>Photo credits</h1>
<p class="muted intro"> <p class="muted intro">
The photos and textures on this site are public domain (CC0 or Public Domain Mark), found Photos come from <a href="https://unsplash.com">Unsplash</a> and stickers and illustrations
through <a href="https://openverse.org">Openverse</a>. No attribution is required, but from <a href="https://pixabay.com">Pixabay</a>, used under their licenses. Many appear on
credit where it's due. the site with print and retro effects applied. Credit where it's due:
</p> </p>
<ul class="list"> <ul class="list">
{ {
credits.map((c) => ( credits.map((c) => (
<li> <li>
<a href={c.url} rel="noopener">{c.title.replace(/^File:/, '').replace(/\.\w+$/, '')}</a> <a href={c.url} rel="noopener">{c.title.replace(/\.\w+$/, '').replaceAll('-', ' ')}</a>
<span> <span>
{c.creator} · {c.source} · {c.license} {c.creator} · {c.source} · {c.license}
</span> </span>
+48 -28
View File
@@ -19,16 +19,18 @@ import StickerPeel from '../components/bits/StickerPeel';
import { SITE } from '../lib/site'; import { SITE } from '../lib/site';
import { DISCIPLINES, LINES } from '../lib/disciplines'; import { DISCIPLINES, LINES } from '../lib/disciplines';
import motoJsr from '../assets/fx/motorcycle-jsr.webp'; import motoToon from '../assets/fx/motorcycle-toon.webp';
import guitarPop from '../assets/fx/guitar-strat-popart.webp'; import guitarPop from '../assets/fx/guitar-strat-popart.webp';
import cassettePhoto from '../assets/photos/cassette.jpg'; import cassettePhoto from '../assets/photos/cassette.webp';
import motoPixel from '../assets/fx/motorcycle-pixel.webp'; import motoPixel from '../assets/fx/motorcycle-pixel.webp';
import cassette from '../assets/fx/cassette-vintage.webp'; import cassette from '../assets/fx/cassette-vintage.webp';
import tv from '../assets/fx/tv-vintage.webp'; import tv from '../assets/fx/tv-vintage.webp';
import pile from '../assets/fx/computers-pile-pixel.webp'; import pile from '../assets/fx/computers-pile-pixel.webp';
import guitar from '../assets/fx/guitar-strat-riso.webp'; import guitar from '../assets/fx/guitar-strat-riso.webp';
import gba from '../assets/photos/gba-sticker.png'; import gba from '../assets/photos/handheld-sticker.png';
import floppies from '../assets/photos/floppies-sticker.png'; import floppies from '../assets/photos/floppy-sticker.png';
import boombox from '../assets/photos/boombox-sticker.png';
import spraycan from '../assets/photos/spraycan-sticker.png';
const gbaSticker = await getImage({ src: gba, width: 360, format: 'webp' }); const gbaSticker = await getImage({ src: gba, width: 360, format: 'webp' });
const floppySticker = await getImage({ src: floppies, width: 320, format: 'webp' }); const floppySticker = await getImage({ src: floppies, width: 320, format: 'webp' });
@@ -56,16 +58,16 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
<div class="speedlines" aria-hidden="true"></div> <div class="speedlines" aria-hidden="true"></div>
<div class="wrap cover-in"> <div class="wrap cover-in">
<div class="poster"> <div class="poster">
<PosterBand word="YOYOS" captions={['TOOLS', 'WEB', 'GAMES', '3D', 'MUSIC']} /> <PosterBand word="YOYOS" captions={['TOOLS', 'WEB', 'GAMES', '3D', 'MUSIC']} ink="var(--cta-red)" paper="#fffdf7" />
<div class="panels"> <div class="panels">
<p class="plabel top">Software engineer ✦ Vol.{issue} {season} {now.getFullYear()}</p> <p class="plabel top">Software engineer ✦ Vol.{issue} {season} {now.getFullYear()}</p>
<figure class="p p1 hover-glitch"> <figure class="p p1 hover-glitch">
<Image src={motoJsr} alt="Cafe racer motorcycle printed as a two-tone street poster" widths={[400, 700, 960]} sizes="(min-width: 60rem) 40vw, 72vw" loading="eager" /> <Image src={motoToon} alt="Cafe racer motorcycle, cel-shaded" widths={[400, 700, 960]} sizes="(min-width: 60rem) 40vw, 72vw" loading="eager" />
</figure> </figure>
<figure class="p p2"> <figure class="p p2">
<AsciiCanvas client:visible src={asciiSrc.src} cols={34} fg="#e2e996" bg="#16261a" /> <AsciiCanvas client:visible src={asciiSrc.src} cols={34} fg="#f9e300" bg="#141412" />
<span class="plabel in">ASCII.EXE</span> <span class="plabel in">ASCII.EXE</span>
</figure> </figure>
<figure class="p p3 hover-glitch"> <figure class="p p3 hover-glitch">
@@ -73,8 +75,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
</figure> </figure>
<h1 class="tags"> <h1 class="tags">
<Tag text="Johan" size="clamp(2.8rem, 14.5vw, 7.5rem)" color="var(--jsr-paper)" shadow="var(--cta-red)" rotate={-8} /> <Tag text="Johan" size="clamp(2.8rem, 14.5vw, 7.5rem)" color="#fffdf7" shadow="var(--cta-blue)" rotate={-8} />
<Tag text="Sandoval" font="drip" size="clamp(1.9rem, 9.6vw, 4.8rem)" color="var(--cta-yellow)" shadow="var(--jsr-ink)" rotate={-3} /> <Tag text="Sandoval" font="drip" size="clamp(1.9rem, 9.6vw, 4.8rem)" color="var(--cta-yellow)" shadow="var(--cta-red)" rotate={-3} />
</h1> </h1>
<p class="bubble say" aria-hidden="true">I build the tools teams run on!</p> <p class="bubble say" aria-hidden="true">I build the tools teams run on!</p>
@@ -86,7 +88,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
</div> </div>
<div class="sticker sticker-gba" aria-hidden="true"> <div class="sticker sticker-gba" aria-hidden="true">
<StickerPeel client:visible imageSrc={gbaSticker.src} width={120} rotate={-10} peelDirection={20} shadowIntensity={0.45} lightingIntensity={0.08} /> <StickerPeel client:visible imageSrc={gbaSticker.src} width={84} rotate={-10} peelDirection={20} shadowIntensity={0.45} lightingIntensity={0.08} />
</div> </div>
<span class="sparkle s1" style="--s:1.5rem;--c:#fff;--d:1.8s" aria-hidden="true"></span> <span class="sparkle s1" style="--s:1.5rem;--c:#fff;--d:1.8s" aria-hidden="true"></span>
<span class="sparkle s2" style="--s:1.1rem;--c:var(--cta-pink);--d:2.6s" aria-hidden="true"></span> <span class="sparkle s2" style="--s:1.1rem;--c:var(--cta-pink);--d:2.6s" aria-hidden="true"></span>
@@ -163,6 +165,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
<StickerPeel client:visible imageSrc={floppySticker.src} width={130} rotate={12} peelDirection={-30} shadowIntensity={0.4} lightingIntensity={0.06} /> <StickerPeel client:visible imageSrc={floppySticker.src} width={130} rotate={12} peelDirection={-30} shadowIntensity={0.4} lightingIntensity={0.06} />
</div> </div>
<p class="bubble pow">Pow!</p> <p class="bubble pow">Pow!</p>
<Image class="boombox sticker-pop" src={boombox} alt="" widths={[200, 320]} sizes="9rem" />
</div> </div>
<div class="stats" data-reveal data-reveal-stagger> <div class="stats" data-reveal data-reveal-stagger>
@@ -199,6 +202,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
<section class="wrap section"> <section class="wrap section">
<div class="head" data-reveal> <div class="head" data-reveal>
<h2><span class="hl" style="--c: var(--cta-yellow)">What I work on</span></h2> <h2><span class="hl" style="--c: var(--cta-yellow)">What I work on</span></h2>
<Image class="spraycan sticker-pop" src={spraycan} alt="" widths={[120, 200]} sizes="4.5rem" />
</div> </div>
<div class="what"> <div class="what">
<ul class="lines" data-reveal data-reveal-stagger> <ul class="lines" data-reveal data-reveal-stagger>
@@ -253,12 +257,12 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
padding-block: var(--space-4) var(--space-7); padding-block: var(--space-4) var(--space-7);
color: var(--ink); color: var(--ink);
background: background:
radial-gradient(circle, color-mix(in oklab, var(--jsr-ink) 25%, transparent) 1.2px, transparent 1.6px) 0 0 / 9px 9px, radial-gradient(circle, color-mix(in oklab, var(--cta-red) 22%, transparent) 1.2px, transparent 1.6px) 0 0 / 9px 9px,
var(--paper); var(--paper);
border-bottom: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
} }
.cover > .speedlines { .cover > .speedlines {
color: var(--jsr-ink); color: var(--ink);
} }
.cover-in { .cover-in {
position: relative; position: relative;
@@ -272,8 +276,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
display: grid; display: grid;
grid-template-columns: auto minmax(0, 1fr); grid-template-columns: auto minmax(0, 1fr);
border: 3px solid var(--ink); border: 3px solid var(--ink);
background: var(--jsr-paper); background: #fffdf7;
box-shadow: 7px 7px 0 var(--ink); box-shadow: 7px 7px 0 var(--cta-blue);
/* fold creases across the whole poster */ /* fold creases across the whole poster */
background-image: background-image:
linear-gradient(90deg, transparent calc(50% - 1px), rgb(255 255 255 / 0.35) calc(50% - 1px) 50%, rgb(0 0 0 / 0.12) 50% calc(50% + 2px), transparent calc(50% + 2px)), linear-gradient(90deg, transparent calc(50% - 1px), rgb(255 255 255 / 0.35) calc(50% - 1px) 50%, rgb(0 0 0 / 0.12) 50% calc(50% + 2px), transparent calc(50% + 2px)),
@@ -304,7 +308,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
font-size: clamp(0.55rem, 2.4vw, 0.85rem); font-size: clamp(0.55rem, 2.4vw, 0.85rem);
letter-spacing: 0.04em; letter-spacing: 0.04em;
text-transform: uppercase; text-transform: uppercase;
color: var(--jsr-ink); color: var(--ink);
} }
.plabel.top { .plabel.top {
grid-area: top; grid-area: top;
@@ -317,8 +321,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
position: relative; position: relative;
margin: 0; margin: 0;
overflow: hidden; overflow: hidden;
border: 3px solid var(--jsr-ink); border: 3px solid var(--ink);
background: var(--jsr-ink); background: var(--ink);
} }
.p :global(img) { .p :global(img) {
width: 100%; width: 100%;
@@ -345,8 +349,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
left: 4px; left: 4px;
bottom: 3px; bottom: 3px;
padding: 0 4px; padding: 0 4px;
background: var(--jsr-ink); background: var(--cta-yellow);
color: var(--jsr-paper); color: var(--ink);
font-size: 0.55rem; font-size: 0.55rem;
} }
.tags { .tags {
@@ -422,10 +426,10 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
z-index: 4; z-index: 4;
} }
.sticker-gba { .sticker-gba {
left: 34%; right: -0.8rem;
top: 46%; top: 40%;
width: 120px; width: 84px;
height: 90px; height: 110px;
} }
.panels > .sparkle { .panels > .sparkle {
position: absolute; position: absolute;
@@ -512,18 +516,18 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
rotate: -1.2deg; rotate: -1.2deg;
} }
.cl-2 { .cl-2 {
background: var(--jsr-paper); background: #fffdf7;
rotate: 0.8deg; rotate: 0.8deg;
} }
.cl-3 { .cl-3 {
background: var(--jsr-ink); background: var(--cta-blue);
color: var(--jsr-paper); color: #fff;
rotate: -0.6deg; rotate: -0.6deg;
} }
.strip { .strip {
border: 2px solid var(--ink); border: 2px solid var(--ink);
--a: var(--jsr-ink); --a: var(--ink);
--b: var(--jsr-paper); --b: var(--cta-yellow);
} }
.cover :global(.burst) { .cover :global(.burst) {
position: absolute; position: absolute;
@@ -685,6 +689,22 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
.pow::after { .pow::after {
background: var(--cta-yellow); background: var(--cta-yellow);
} }
.collage :global(.boombox) {
position: absolute;
z-index: 3;
left: -0.5rem;
bottom: 3.5rem;
width: 7.5rem;
height: auto;
rotate: -9deg;
}
.spraycan,
.head :global(.spraycan) {
width: 3.6rem;
height: auto;
rotate: 18deg;
margin-left: auto;
}
.stats { .stats {
display: grid; display: grid;
gap: var(--space-4); gap: var(--space-4);
+1 -1
View File
@@ -5,7 +5,7 @@ import Base from '../layouts/Base.astro';
import ModelViewer from '../components/ModelViewer.astro'; import ModelViewer from '../components/ModelViewer.astro';
import FaultyTerminal from '../components/bits/FaultyTerminal'; import FaultyTerminal from '../components/bits/FaultyTerminal';
import { media } from '../lib/media'; import { media } from '../lib/media';
import cloud from '../assets/photos/cloud.jpg'; import cloud from '../assets/photos/cloud.webp';
import hibiscus from '../assets/fx/hibiscus-toon.webp'; import hibiscus from '../assets/fx/hibiscus-toon.webp';
import lily from '../assets/fx/lily-pixel.webp'; import lily from '../assets/fx/lily-pixel.webp';
import FxImage from '../components/FxImage.astro'; import FxImage from '../components/FxImage.astro';
+13 -2
View File
@@ -3,13 +3,14 @@ import { getCollection } from 'astro:content';
import Base from '../layouts/Base.astro'; import Base from '../layouts/Base.astro';
import AudioPlayer from '../components/AudioPlayer'; import AudioPlayer from '../components/AudioPlayer';
import { media } from '../lib/media'; import { media } from '../lib/media';
import { getImage } from 'astro:assets'; import { Image, getImage } from 'astro:assets';
import HalftoneReveal from '../components/bits/HalftoneReveal'; import HalftoneReveal from '../components/bits/HalftoneReveal';
import Clipping from '../components/deco/Clipping.astro'; import Clipping from '../components/deco/Clipping.astro';
import pedalboard from '../assets/photos/pedalboard.jpg'; import pedalboard from '../assets/photos/pedalboard.webp';
import hollow from '../assets/fx/guitar-hollow-toon.webp'; import hollow from '../assets/fx/guitar-hollow-toon.webp';
import synth from '../assets/fx/synth-vintage.webp'; import synth from '../assets/fx/synth-vintage.webp';
import cassette from '../assets/fx/cassette-vintage.webp'; import cassette from '../assets/fx/cassette-vintage.webp';
import headphones from '../assets/photos/headphones-sticker.png';
const board = await getImage({ src: pedalboard, width: 1280, format: 'webp' }); const board = await getImage({ src: pedalboard, width: 1280, format: 'webp' });
@@ -51,6 +52,7 @@ const cable = ['var(--red)', 'var(--yellow)', 'var(--cobalt)', 'var(--grass)', '
</section> </section>
<section class="wrap collage" aria-hidden="true"> <section class="wrap collage" aria-hidden="true">
<Image class="phones sticker-pop" src={headphones} alt="" widths={[160, 260]} sizes="7rem" />
<Clipping src={hollow} ratio="4 / 5" rotate={-5} tape="top" widths={[300, 500]} sizes="34vw" class="c1 hover-glitch" /> <Clipping src={hollow} ratio="4 / 5" rotate={-5} tape="top" widths={[300, 500]} sizes="34vw" class="c1 hover-glitch" />
<Clipping src={synth} ratio="1 / 1" rotate={4} tape="corners" widths={[300, 500]} sizes="34vw" class="c2 hover-glitch" /> <Clipping src={synth} ratio="1 / 1" rotate={4} tape="corners" widths={[300, 500]} sizes="34vw" class="c2 hover-glitch" />
<Clipping src={cassette} ratio="16 / 10" rotate={-2} border={false} widths={[300, 500]} sizes="34vw" class="c3" /> <Clipping src={cassette} ratio="16 / 10" rotate={-2} border={false} widths={[300, 500]} sizes="34vw" class="c3" />
@@ -198,6 +200,15 @@ const cable = ['var(--red)', 'var(--yellow)', 'var(--cobalt)', 'var(--grass)', '
} }
} }
.collage :global(.phones) {
position: absolute;
z-index: 4;
right: 0;
top: -2.5rem;
width: 6rem;
height: auto;
rotate: 14deg;
}
.collage { .collage {
position: relative; position: relative;
display: grid; display: grid;
+1 -18
View File
@@ -7,8 +7,7 @@ import LineBadge from '../../components/LineBadge.astro';
import SplitFlapText from '../../components/bits/SplitFlapText'; import SplitFlapText from '../../components/bits/SplitFlapText';
import { DISCIPLINES, LINES } from '../../lib/disciplines'; import { DISCIPLINES, LINES } from '../../lib/disciplines';
import FxImage from '../../components/FxImage.astro'; import FxImage from '../../components/FxImage.astro';
import sign from '../../assets/fx/cta-sign-vintage.webp'; import sign from '../../assets/fx/subway-platform-vintage.webp';
import map from '../../assets/photos/subway-map.jpg';
const work = (await getCollection('work')).sort( const work = (await getCollection('work')).sort(
(a, b) => Number(b.data.featured) - Number(a.data.featured) || +b.data.date - +a.data.date, (a, b) => Number(b.data.featured) - Number(a.data.featured) || +b.data.date - +a.data.date,
@@ -84,9 +83,6 @@ const statusLabel = { live: 'Live', shipped: 'Shipped', 'in-progress': 'Building
<p class="empty" hidden>Nothing on this line yet. Check back soon.</p> <p class="empty" hidden>Nothing on this line yet. Check back soon.</p>
</section> </section>
<div class="map-bg" aria-hidden="true">
<Image src={map} alt="" widths={[800, 1200]} sizes="100vw" />
</div>
</Base> </Base>
<style> <style>
@@ -268,19 +264,6 @@ const statusLabel = { live: 'Live', shipped: 'Shipped', 'in-progress': 'Building
font-family: var(--ff-grotesk); font-family: var(--ff-grotesk);
font-weight: 600; font-weight: 600;
} }
.map-bg {
position: fixed;
inset: 0;
z-index: -1;
opacity: 0.12;
pointer-events: none;
mix-blend-mode: multiply;
}
.map-bg :global(img) {
width: 100%;
height: 100%;
object-fit: cover;
}
@media (min-width: 60rem) { @media (min-width: 60rem) {
.filters { .filters {
flex-wrap: wrap; flex-wrap: wrap;
+27 -9
View File
@@ -19,6 +19,7 @@ gsap.registerPlugin(ScrollTrigger);
const reduce = window.matchMedia('(prefers-reduced-motion: reduce)'); const reduce = window.matchMedia('(prefers-reduced-motion: reduce)');
let lenis: Lenis | null = null; let lenis: Lenis | null = null;
let ctx: gsap.Context | null = null; let ctx: gsap.Context | null = null;
let stopReveal: () => void = () => {};
function startLenis() { function startLenis() {
if (lenis || reduce.matches) return; if (lenis || reduce.matches) return;
@@ -29,22 +30,38 @@ function startLenis() {
} }
function setup() { function setup() {
stopReveal();
ctx?.revert(); ctx?.revert();
ctx = gsap.context(() => { ctx = gsap.context(() => {
if (reduce.matches) return; if (reduce.matches) return;
// Reveal on scroll. Content is never hidden up front: only elements that are
// still below the fold get a starting offset, an IntersectionObserver plays them
// in, and a timer releases anything left over so nothing can stay blank.
const pending = new Set<Element>();
const play = (el: Element) => {
if (!pending.delete(el)) return;
const host = el as HTMLElement;
const targets = host.hasAttribute('data-reveal-stagger') ? Array.from(host.children) : [host];
gsap.to(targets, { y: 0, rotate: 0, opacity: 1, duration: 0.7, ease: 'power3.out', stagger: 0.06, clearProps: 'transform,opacity' });
};
const io = new IntersectionObserver(
(entries) => entries.forEach((e) => e.isIntersecting && (play(e.target), io.unobserve(e.target))),
{ rootMargin: '0px 0px -8% 0px' },
);
gsap.utils.toArray<HTMLElement>('[data-reveal]').forEach((el) => { gsap.utils.toArray<HTMLElement>('[data-reveal]').forEach((el) => {
if (el.getBoundingClientRect().top < innerHeight) return; // already visible: leave it alone
const targets = el.hasAttribute('data-reveal-stagger') ? Array.from(el.children) : [el]; const targets = el.hasAttribute('data-reveal-stagger') ? Array.from(el.children) : [el];
gsap.from(targets, { gsap.set(targets, { y: 32, opacity: 0.001, rotate: el.dataset.reveal === 'tilt' ? -2 : 0 });
y: 36, pending.add(el);
autoAlpha: 0, io.observe(el);
rotate: el.dataset.reveal === 'tilt' ? -2.5 : 0,
duration: 0.85,
ease: 'power3.out',
stagger: 0.07,
scrollTrigger: { trigger: el, start: 'top 90%', once: true },
});
}); });
const failsafe = setTimeout(() => [...pending].forEach(play), 4000);
stopReveal = () => {
io.disconnect();
clearTimeout(failsafe);
pending.clear();
};
const mm = gsap.matchMedia(); const mm = gsap.matchMedia();
mm.add('(min-width: 52rem)', () => { mm.add('(min-width: 52rem)', () => {
@@ -67,6 +84,7 @@ document.addEventListener('astro:page-load', () => {
setup(); setup();
}); });
document.addEventListener('astro:before-swap', () => { document.addEventListener('astro:before-swap', () => {
stopReveal();
ctx?.revert(); ctx?.revert();
ctx = null; ctx = null;
}); });
+6 -1
View File
@@ -214,7 +214,12 @@
align-items: center; align-items: center;
} }
.section { .section {
padding-block: var(--space-8); padding-block: var(--space-6);
}
@media (min-width: 52rem) {
.section {
padding-block: var(--space-8);
}
} }
.prose { .prose {
max-width: var(--prose-w); max-width: var(--prose-w);
+11 -6
View File
@@ -32,10 +32,15 @@ BAYER4 = (np.array([[0, 8, 2, 10], [12, 4, 14, 6], [3, 11, 1, 9], [15, 7, 13, 5]
def load(name: str) -> Image.Image: def load(name: str) -> Image.Image:
for ext in ('.jpg', '.png'): for ext in ('.webp', '.jpg', '.png'):
p = SRC / f'{name}{ext}' p = SRC / f'{name}{ext}'
if p.exists(): if p.exists():
return Image.open(p).convert('RGB') im = Image.open(p)
if im.mode in ('RGBA', 'LA', 'P'): # transparent art: flatten onto white paper
im = im.convert('RGBA')
bg = Image.new('RGBA', im.size, (255, 255, 255, 255))
return Image.alpha_composite(bg, im).convert('RGB')
return im.convert('RGB')
raise FileNotFoundError(name) raise FileNotFoundError(name)
@@ -81,7 +86,7 @@ def vignette(img: Image.Image, strength=0.55) -> Image.Image:
def paper(img: Image.Image, tint=(243, 236, 217), mix=0.12) -> Image.Image: def paper(img: Image.Image, tint=(243, 236, 217), mix=0.12) -> Image.Image:
tex = Image.open(SRC / 'paper-crumpled.jpg').convert('L').resize(img.size) tex = Image.open(SRC / 'paper-crumpled.webp').convert('L').resize(img.size)
tex = ImageOps.autocontrast(tex).convert('RGB') tex = ImageOps.autocontrast(tex).convert('RGB')
out = ImageChops.multiply(img, tex) out = ImageChops.multiply(img, tex)
return Image.blend(out, Image.new('RGB', img.size, tint), mix) return Image.blend(out, Image.new('RGB', img.size, tint), mix)
@@ -229,7 +234,7 @@ def jsr(img, ink=(46, 92, 44), paper=(226, 233, 150), cell=6, outline=True):
def paper_tex(img, amount=0.5): def paper_tex(img, amount=0.5):
tex = Image.open(SRC / 'paper-crumpled.jpg').convert('L').resize(img.size) tex = Image.open(SRC / 'paper-crumpled.webp').convert('L').resize(img.size)
tex = ImageOps.autocontrast(tex) tex = ImageOps.autocontrast(tex)
t = np.asarray(tex, dtype=np.float32) / 255 t = np.asarray(tex, dtype=np.float32) / 255
t = 1 - (1 - t) * amount t = 1 - (1 - t) * amount
@@ -310,13 +315,13 @@ RECIPES = [
('botanical', 'riso', 700, {'ink_a': (240, 90, 40), 'ink_b': (0, 155, 58)}), ('botanical', 'riso', 700, {'ink_a': (240, 90, 40), 'ink_b': (0, 155, 58)}),
('lily', 'pixel', 800, {'width': 110}), ('lily', 'pixel', 800, {'width': 110}),
('hibiscus', 'toon', 1000, {}), ('hibiscus', 'toon', 1000, {}),
('cta-sign', 'vintage', 1400, {}), ('subway-platform', 'vintage', 1000, {}),
('pedalboard', 'riso', 1000, {'ink_a': (226, 126, 166), 'ink_b': (20, 20, 18)}), ('pedalboard', 'riso', 1000, {'ink_a': (226, 126, 166), 'ink_b': (20, 20, 18)}),
('cloud', 'xerox', 700, {}), ('cloud', 'xerox', 700, {}),
# street-poster set (stand-ins until the new stock photos are sourced) # street-poster set (stand-ins until the new stock photos are sourced)
('motorcycle', 'jsr', 1100, {}), ('motorcycle', 'jsr', 1100, {}),
('guitar-strat', 'jsr', 900, {'ink': (30, 60, 140), 'paper': (240, 228, 200)}), ('guitar-strat', 'jsr', 900, {'ink': (30, 60, 140), 'paper': (240, 228, 200)}),
('cta-sign', 'popart', 900, {}), ('subway-platform', 'popart', 900, {}),
('guitar-strat', 'popart', 900, {}), ('guitar-strat', 'popart', 900, {}),
('synth', 'jsr', 900, {'ink': (150, 30, 40), 'paper': (245, 222, 180)}), ('synth', 'jsr', 900, {'ink': (150, 30, 40), 'paper': (245, 222, 180)}),
('cassette', 'ascii', 900, {}), ('cassette', 'ascii', 900, {}),