docs: document theme, content conventions, and 2026-11-24 changes

- Replace create-next-app README with a real one (layout, dev, deploy).
- docs/CLAUDE.md: add theme/styling and content convention sections, the
  no-em-dash copy rule, dev-server and stale-CSS notes, cross-references.
- Add docs/changelog.md with today's site and infra changes.
- Mark docs/palette.html as the superseded original spec.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
donnyandClaude Opus 5.5 committed 2026-11-24 19:09:58 -07:00
1 parent abd5fd4a58
commit 08a250202d
4 files changed
+115 -29

No files matched your search

+38 -2
View File
@@ -41,6 +41,17 @@ Full profile lives in `~/Projects/career-ops/config/profile.yml` and `~/Projects
- A blog-first site. (Writing is welcome but not the entry point.)
- A "projects" grid of unfinished side projects. Quality over quantity — 3-4 deep case studies beats 12 thumbnails.
## Theme and styling (current implementation)
Every color and font comes from CSS variables in the `:root` block at the top of `app/globals.css`. Change the theme there, not in components.
- **Fonts:** loaded with `next/font` in `app/layout.tsx` (Manrope, EB Garamond). `--site-sans` / `--site-serif` point at them, and Tailwind's `font-sans` / `font-serif` read those.
- **Colors:** `--background`, `--foreground`, `--bg-elevated`, `--accent` (gold `#d4a24a`), `--accent-hover`. Use the matching Tailwind utilities: `bg-background`, `text-foreground`, `bg-elevated`, `text-accent`, `border-accent`, `bg-accent`. For inline styles, `constants/colors.ts` exports the same values as `var(...)` strings.
- **Greys:** the `--n-50` to `--n-950` scale (currently Tailwind's **zinc** values) is mapped onto every `neutral-*` class. Swapping the grey tone means swapping that one scale, not editing ~90 class names.
- **Never build Tailwind class names at runtime** (for example `` `hover:bg-[${color}]` ``). Tailwind only generates classes it can read literally in the source. The about page had four of these, and they never produced any CSS.
- **Dev-only theme switcher** (`components/dev/`): a floating panel on the dev server for A/B-ing body font, display font, grey tone, and accent on the real pages. Save combos to A/B and press `` ` `` to flip. `app/layout.tsx` loads it behind a `NODE_ENV === "development"` dynamic import, so it and its extra fonts are compiled out of production (verified with `next build`). To adopt a combo, bake it into `globals.css` + `layout.tsx`.
- `docs/palette.html` is the **original** spec (Inter, Instrument Serif, neutral greys). It's kept for history, but `globals.css` is the source of truth.
## Information architecture
Five routes max. Keep it skimmable.
@@ -91,14 +102,20 @@ Why: it's the stack the bullseye companies ship. Using it is itself a signal.
**Deployment:** Self-hosted by Angel. Traefik is already configured and pointing at the domain. Do not propose Vercel, Netlify, Cloudflare Pages, or any managed host — the infra is in-house and stays that way. Build target should produce a standard Node server or static export that drops into the existing Traefik setup; ask Angel for specifics (container? bare Node? static `out/`?) before wiring CI.
**Current deploy:** Docker container behind Traefik, defined as the `portfolio` service in `~/portfolio-stack/docker-compose.yml` (host `angelmankel.com`). No CI — after pushing to `main`, redeploy with `docker compose up -d --build --no-deps portfolio` from `~/portfolio-stack`. Only do this when Angel asks.
**Current deploy:** Docker container behind Traefik, defined as the `portfolio` service in `~/portfolio-stack/docker-compose.yml` (host `angelmankel.com`). No CI — after pushing to `main`, redeploy with `docker compose up -d --build --no-deps portfolio` from `~/portfolio-stack`. Only do this when Angel asks. Commit straight to `main` (no feature branches in this repo). `www.angelmankel.com` 301-redirects to the apex, and a DDNS container keeps the DNS on the home IP. Both are documented in `~/portfolio-stack/README.md`.
**Dev server for review:** Angel reviews from another machine on the LAN, so bind to the server's LAN IP: `npx next dev -H 192.168.0.10 -p 3100`, then open `http://192.168.0.10:3100`. Binding to the IP matters, because Next 16 blocks dev assets for other origins (`allowedDevOrigins`). Over plain http on a LAN IP, `navigator.clipboard` doesn't exist.
**Known dev gotcha:** Turbopack's dev server has repeatedly kept serving a **stale `app/globals.css`** after edits (new keyframes and theme variables were missing from the served CSS). After any CSS change, check the served stylesheet (`curl` the `/_next/static/...css` from the page). If it's stale, stop the server, `rm -rf .next/dev`, and restart. Production builds aren't affected.
**Lint:** `npx eslint` currently reports pre-existing errors in `components/ui/Modal.tsx` and warnings in `components/ui/ImageViewer.tsx`. Lint the files you touch.
**Alternatives considered:**
- Astro — better for static-heavy content sites, but Next.js signals stack alignment with target employers. Use Astro only if Angel wants to demonstrate range.
- Plain HTML/CSS — would actually be impressive ("I don't need a framework for this") but reads as contrarian unless the design carries it. Skip.
**Other choices:**
- `next/font` for self-hosted typography. Suggested pairing: Inter (UI) + JetBrains Mono / Geist Mono (code). Or splurge on a paid display face for the name only.
- `next/font` for self-hosted typography. **Current pairing (picked 2026-11-24): Manrope (body, `font-sans`) + EB Garamond (display, `font-serif`).** See "Theme and styling" below.
- `next-mdx-remote` or built-in MDX for case studies.
- `shiki` for code blocks (matches Vercel/Anthropic aesthetic better than Prism).
- View Transitions API for `/projects` → `/projects/[slug]` navigation. One signature detail.
@@ -114,6 +131,23 @@ Defaults if no samples found:
- Specific over abstract. "Cut p95 from 2.1s to 380ms" beats "improved performance."
- Zero corporate clichés: no "passionate", "results-oriented", "proven track record", "leveraged", "synergies", "cutting-edge."
- No emoji in copy. (Emoji on the page = wrong audience signal for these companies.)
- **No em dashes (—) anywhere** on the site, including page titles. They read as AI-written. Use a plain hyphen with spaces (` - `), or rewrite the sentence with a comma, colon, or period.
## Content conventions (as built)
**Testimonials** (`constants/testimonials.ts`, shown on `/` above Selected Projects):
- Quotes are **excerpts made of whole sentences copied verbatim** from each LinkedIn recommendation. Never reword them. Keep each to roughly 45-60 words so the cards stay a consistent size. The full text lives on LinkedIn.
- Order: manager recommendation first (currently Douglas Wilhelm, Senior Engineering Leader), then Karynn Tran, then Alex Brown.
- Titles are the person's LinkedIn headline. Don't add company or industry suffixes unless Angel asks.
- Avatars are initials in a circle with a thin gold (`border-accent`) border. Add an `avatar` URL only for a real photo of the person. The old picsum placeholders were random stock images.
- The carousel (`components/content/Testimonials.tsx`) stacks every slide in one grid cell, so the height is fixed to the longest quote and nothing shifts. A CSS countdown line (`.animate-testimonial-countdown` in `globals.css`) **is** the rotation timer: its `animationend` advances the slide. Hover, keyboard focus (`:focus-visible` only, so mouse clicks don't freeze it), and the pause button freeze it. Rotation is every 10s.
**Uses page** (`constants/uses.ts` holds the data, `app/uses/page.tsx` the layout):
- Hardware is one flat list (no "for work / for fun" grouping): Daily driver, Minisforum N5 Pro, Custom workstation, then Peripherals and Displays.
- **Daily driver** is the Arch Linux PC (192.168.0.71, Hyprland on Wayland): Ryzen 9 9950X, 64GB DDR5, Radeon Pro W7500, RTX A4500 passed through to a Windows 11 VM viewed with Looking Glass.
- **Custom workstation** is the Proxmox host internally called `pve2` (Proxmox VE 9.2). **Don't use the name "pve2" on the site.** It has a Ryzen 9 5900X, 128GB DDR4, RTX 3090 24GB, and VMs for a GPU server, TrueNAS, a Linux coding-agent worker, and Windows 11.
- The MS-01 was retired and removed. Specs were last gathered 2026-11-24 via `lscpu`, `free`, `lspci`, `pveversion`, and `qm list`. Storage isn't listed, because those commands didn't capture it.
- AI tools: Claude Code, Codex, and OpenCode (coding agents). Claude (chat). Ollama and OpenRouter (models). Paseo and ContextForge (MCP and agents). Paseo replaced Open WebUI, and ContextForge replaced MetaMCP.
## What "done" looks like for v1
@@ -143,3 +177,5 @@ Defaults if no samples found:
- Profile & narrative: `~/Projects/career-ops/config/profile.yml`, `~/Projects/career-ops/modes/_profile.md`
- Proof point details (if exists): `~/Projects/career-ops/article-digest.md`
- Writing samples (if exists): `~/Projects/career-ops/writing-samples/`
- Change history: `docs/changelog.md`
- Hosting, DNS, and the demo stack (Traefik routing, www redirect, DDNS): `~/portfolio-stack/README.md`