Files
portfolio/docs/CLAUDE.md
T
donnyandClaude Opus 5.5 08a250202d 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>
2026-11-24 19:09:58 -07:00

182 lines
15 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Portfolio — Angel Mankel
Personal site at https://angelmankel.com. This is a hiring-funnel artifact, not a blog or playground.
## Who this is for
The reader is a hiring manager or recruiter at one of these companies:
- **Bullseye:** Vercel, Anthropic, Cursor, Cognition, Replit, Sourcegraph, Continue, Linear, Figma
- **Adjacent:** Stripe, Ramp, Notion, Retool, any AI-native product company shipping React-heavy surfaces
They land here from a CV, LinkedIn DM, or referral. They will spend **60-120 seconds** before deciding to reply or move on. Optimize ruthlessly for that window.
## Who Angel is (positioning)
**Headline:** Frontend engineer with deep AI-tooling fluency — ships production React and builds custom Claude Code workflows.
**The wedge:** Most React devs treat Claude Code as a toy. Most AI tinkerers can't ship a real component library. Angel does both.
**Background arc:** Healthcare IT → Salesforce admin → Software Engineer at Village Medical (June 2025 – May 2026; led React + TypeScript redesigns of patient-facing apps and the internal component library) → Technical Solutions Engineer at Vyon Technology (June 2026 – present; workflow automations, integrations, AI tooling). BS Computer Science, WGU (2026). In parallel, heavy day-to-day Claude Code user — custom slash commands, MCP integrations, agent workflows.
**Target roles:** Frontend / Product / AI-Native engineer, remote US, mid-level (1-3 yr SWE, broader IT background). Comp target $90-130K USD, floor $100K.
Full profile lives in `~/Projects/career-ops/config/profile.yml` and `~/Projects/career-ops/cv.md`. Read those before writing any copy.
## Design direction
**Aesthetic reference:** Vercel.com, Linear.app, Anthropic.com, Rauno.me, Paco.me, Brittany Chiang's v4.
**Principles:**
- Minimalist, content-first. Typography does the heavy lifting.
- Dark only. No light theme, no theme toggle. See `palette.html` for the full spec.
- Generous whitespace. Wide line-height. Long-form readable.
- **One** signature interaction detail (subtle cursor effect, scroll-driven element, command palette) — not a museum of effects.
- No hero video, no parallax stacks, no animated SVG mascots, no "Hi I'm Angel 👋" with a waving emoji.
- Monospace accents for technical content (kbd, inline code, metadata) — sparingly.
**What we are NOT building:**
- A WebGL/Three.js showcase. Reads as "junior trying hard" to senior frontend HMs. Angel's graphics range gets one line in About, not a hero.
- A flashy gradient/blob landing page.
- 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.
```
/ → Landing. Name + one-line positioning + 3 case study cards + contact.
/projects → Case study index (same 3-4 cards, expandable).
/projects/[slug] → Individual case study (postmortem format).
/about → Background arc, current role, what Angel is looking for.
/uses → Optional. Tools, editor setup, Claude Code workflow. High signal for AI-native hiring.
```
Skip `/blog`, `/work` (use `/projects`), `/contact` (inline on `/`), and `/resume` (a chrono strip + Download CV link on `/about` covers it without duplicating content).
### What `/about` must include
Beyond the narrative paragraphs:
- **Chronological strip** — 3-4 rows, plain text, format: `year-range · company · role`. No bullets, no descriptions. Source from `~/Projects/career-ops/cv.md`.
- **Download CV (PDF)** — single plain-text link pointing at the PDF generated by career-ops (`generate-pdf.mjs` output). Don't style it as a button or hero CTA — one line, in flow.
## Case study format (CRITICAL)
Each case study reads like an engineering postmortem, not a marketing page. Structure:
1. **One-line summary** — what shipped, who it served, the measurable outcome.
2. **Context** — the constraint or problem. 2-3 sentences.
3. **Decisions** — 3-5 specific technical/design calls and why. Name the alternatives rejected.
4. **Outcome** — measurable result. Numbers when possible. Honest when not.
5. **What I'd do differently** — one paragraph. Signals seniority.
**Do not** include: tech stack badges, "challenges faced" sections, generic "I learned a lot" closers.
### The 3-4 case studies to write
Source material in `~/Projects/career-ops/cv.md` and `~/Projects/career-ops/modes/_profile.md` under "proof_points":
1. **Village Medical patient scheduling redesign** — React + TS rebuild of a patient-facing scheduling app. Lead with scope and UX decisions, not framework name-drops.
2. **Village Medical internal component library** — design-system ownership. This is the bullseye proof point for product/design-engineer roles. Show the API of one component, the migration story, governance model.
3. **Claude Code custom tooling** — slash commands, MCP integrations, agent workflows used day-to-day. This is the AI-native wedge. Show one concrete workflow with before/after time-on-task.
4. **(Optional) Gila River internal Electron apps** — older but quantified (100-150% productivity gains, 70% AD-script speedup). Frame as "how I got into engineering." Skip if it dilutes the frontend narrative; keep if it adds blue-collar engineering credibility.
## Tech stack recommendation
**Default:** Next.js 15 (App Router) + TypeScript + Tailwind v4 + MDX for case studies.
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. 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. **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.
- No CMS. Content lives in MDX files in-repo. Version-controlled, no DB.
## Tone and copy
Read `~/Projects/career-ops/modes/_profile.md` under "Writing Style" if it exists; otherwise extract style from `~/Projects/career-ops/writing-samples/` before drafting any user-facing copy.
Defaults if no samples found:
- First person, active voice. "I led", "I shipped", not "responsible for".
- Short sentences. Mix in a longer one for rhythm.
- 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
- [ ] Site reachable at the domain through Angel's Traefik (deployment infra is his — agent does not touch it)
- [ ] `/` renders Name + positioning line + 3 case study cards + email contact
- [ ] 3 case studies fully written (not lorem ipsum)
- [ ] `/about` written, including chrono strip and Download CV link
- [ ] CV PDF generated via career-ops and served at a stable path (e.g. `/cv.pdf`)
- [ ] Open Graph image + favicon
- [ ] Lighthouse: 100/100/100/100 (this is table stakes for the audience)
- [ ] Site is responsive but designed desktop-first (hiring managers are on laptops)
- [ ] No analytics that block (Plausible or none — definitely not GA)
## What NOT to do
- Do not scaffold a Next.js project until Angel says go on the design direction.
- Do not write case study copy without first reading `~/Projects/career-ops/cv.md` and `~/Projects/career-ops/modes/_profile.md`.
- Do not invent metrics or experience. Pull only from CV + article-digest.md (if present).
- Do not add a "currently learning" or "tech stack" badge wall.
- Do not commit Angel's phone number, address, or any PII beyond name + email + LinkedIn + GitHub.
- Do not generate AI art for the OG image. A clean typographic OG card is the right move.
## Cross-references
- Resume PDF on the site: `public/Angel_Mankel_Resume_2026.pdf` (linked from `/about`). Source files live in `/mnt/local/3 - Personal/Resumes/2026/`; to update, copy the new PDF over this path so the link stays stable, then sync `constants/education.ts` and `constants/timeline.ts`.
- CV (source of truth): `~/Projects/career-ops/cv.md`
- 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`