Personal site: Astro static site with hire-first hero, expandable work timeline (content collections), and editorial styling.
| Command | Action |
|---|---|
npm install |
Install dependencies |
npm run dev |
Dev server → localhost:4321 |
npm run build |
Output to dist/ |
npm run preview |
Preview production build |
npm run test |
Vitest (role schema) |
npm run check |
astro check (types + content) |
- Roles:
src/content/roles/*.md— frontmatter must matchsrc/schemas/role.ts(validated at build). - Site copy / links:
src/site.config.ts.
public/resume.pdf— Résumé PDF (links 404 until present).public/images/headshot.jpg(or replace herosrcinsrc/components/Hero.astro) — Swap placeholder SVG for a real photo.public/og-image.svg— Optional: replace with a 1200×630 raster for richer social previews.
Build output is static (dist/). Works on Vercel, Cloudflare Pages, Netlify, etc. Set the production URL in astro.config.mjs (site) and src/site.config.ts (url) if the domain changes.
See docs/plans/2026-03-18-personal-site-redesign-design.md.