Mixed-media redesign, Chicago transit system and motion
Mirror to Gitea / mirror (push) Skipped

Use real public-domain photos throughout (Chicago skyline, CTA signage,
Marina City, Union Station, guitars, synths, cassette, Game Boy and floppy
stickers, daisies, clouds, flowers, a vintage postcard and stamp), credited
on a new /credits page.

Lean into Chicago: CTA 'L' line colors for sections and categories, a
Chicago star logo, flag footer, a CTA platform work page with split-flap
board and arrival rows, and a Greetings from Chicago postcard on contact.

Add GSAP + Lenis scroll motion and React Bits components (split-flap,
ticker, circular badge, count-up, sticker peel, scrambled text, halftone
reveal, CRT terminal, staggered mobile menu). Rebuild pages mobile-first,
drop the katakana, and lazy-load the 3D viewer.
This commit is contained in:
Johan Sandoval committed 2026-10-08 16:28:16 +00:00
1 parent ef9d597b52
commit 61f55e2568
72 files changed
+5729 -506

No files matched your search

+33 -18
View File
@@ -36,29 +36,44 @@ Every field is typed in `src/content.config.ts`, so the build fails loudly when
## Styling
Each page has its own look, built on one shared palette and a "subway line" color system
(every section and project category has a line color + badge, see `src/lib/disciplines.ts`).
Each page has its own look, drawn from 80s–90s print and retro-tech references, tied together by
Chicago: every section and project category rides a CTA 'L' line color (`src/lib/disciplines.ts`,
`--cta-*` tokens), and the footer carries the Chicago flag.
| Theme | Used on | Feel |
|---|---|---|
| `magazine` (default) | Home | 90s magazine cover / print ad |
| `transit` | Work index | Subway map, transit cards |
| `spec` | Project pages | Technical exhibition poster |
| `desktop` | Blog, 404 | Late-90s desktop windows |
| `radio` | Music | College-radio flyer, dot-matrix type |
| `vector` | 3D models | 80s computer graphics, wireframes |
| `garden` | About | Grass, cream blobs, lowercase type |
| `postcard` | Contact | Postcard + stamp |
| `magazine` (default) | Home | Maximalist magazine cover: photo collage, stickers, cover lines |
| `transit` | Work index | CTA platform: station sign, split-flap board, arrival rows |
| `spec` | Project pages, credits | Technical exhibition poster |
| `desktop` | Blog, 404 | 90s desktop windows, pixelated photo wallpaper |
| `radio` | Music | Radio flyer, halftone photo, dot-matrix type |
| `vector` | 3D models | CRT terminal, wireframe cube, data panels |
| `garden` | About | Daisies, cream blobs, seed packets |
| `postcard` | Contact | "Greetings from Chicago" postcard + stamp |
| `terminal` | (available) | Green-phosphor CRT |
- `src/styles/tokens.css`: raw palette (paper, ink, lime, red, cobalt, yellow, emerald...), font stacks, type scale, spacing.
- `src/styles/themes/*.css`: each theme maps the palette onto semantic tokens (`--bg`, `--fg`, `--accent`,
`--font-display`, heading weight/case/width, border, shadow, grain, scanlines).
- Use a theme on a page: `<Base theme="radio">`, or `theme: vector` in a project/post's frontmatter
(projects default to `spec`, posts to `desktop`). Use it on one section: `<section data-theme="garden">`.
- New theme: copy a theme file, rename the selector, import it in `themes/index.css`, add the name to `src/lib/themes.ts`.
- Page-specific flourishes live in each page's own `<style>` block (scoped automatically).
- Decorative components: `src/components/deco/` (Starburst, Barcode, Window, Stamp) and `LineBadge`.
- Tokens: `src/styles/tokens.css`. Themes: `src/styles/themes/*.css` (semantic tokens only).
- 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 /
halftone / torn edge), `Starburst`, `Barcode`, `Window`, `Stamp`; plus `ChicagoStar`, `LineBadge`.
- Photos: `src/assets/photos/` — all CC0 / public domain via Openverse, listed in
`src/data/photo-credits.json` and shown at `/credits`. Add new ones there too.
### Motion
- **Lenis** smooth scrolling + **GSAP** ScrollTrigger in `src/scripts/motion.ts`. Mark elements with
`data-reveal` (or `data-reveal="tilt"`), `data-reveal-stagger` on a parent, `data-parallax="0.2"`.
Touch devices keep native scrolling; everything is skipped for `prefers-reduced-motion`.
- **React Bits** components live in `src/components/bits/` (copied source, MIT + Commons Clause —
keep the header notice): SplitFlapText, ScrollVelocity, CircularText, CountUp, ScrambledText,
StickerPeel, HalftoneReveal, FaultyTerminal, StaggeredMenu (mobile menu).
- WebGL pieces (`HalftoneReveal`, `FaultyTerminal`) use `client:only="react"`; the 3D viewer
library loads only when a model scrolls near the screen.
### Mobile first
Base styles target phones; desktop layouts are added with `min-width` media queries. Keep tap
targets ≥ 44px, and wrap anything that overhangs inside `main` (which clips horizontal overflow).
## Media share (Nextcloud)