Project Post

salomonangel.com

Personal website, portfolio, project posts, and Off Market Remarks by Angel Salomon — built with Astro, TypeScript, 14+5 CSS tokens, and Cloudflare Pages.

Stack: Astro · TypeScript · CSS Tokens · Markdown · Cloudflare Pages

Overview

salomonangel.com is a static personal website and publishing platform uniting my portfolio, project posts, and Off Market Remarks without heavy client-side frameworks. Every design and engineering choice optimizes for clarity, fast load times, and zero operational bloat.

Economic & Engineering Tradeoffs

  • Static Generation over Dynamic Runtime: Pre-rendering every route at build time eliminates server cold starts and database overhead while keeping hosting costs near zero on Cloudflare Pages.
  • Zero-Runtime Markdown & Media Pipeline: Plain .md Content Collections validate schemas at build time, while metadata-free .webp assets and click-to-load YouTube facades defer third-party requests until user interaction.

Architecture

  • 14+5 Design Token System: Fourteen core architectural tokens (:root and [data-theme="dark"]) pair with five scoped reading-paper tokens (.reading-sheet synced with global [data-theme]) to maintain WCAG AA+/AAA contrast across every surface.
  • Self-Hosted 5-Font Stack: Five Latin-only WOFF2 font families (Space Grotesk, Plus Jakarta Sans, Dancing Script, IBM Plex Mono, and JetBrains Mono) load locally with zero external font requests.
  • Programmatic ATS Resume: A build-time jsPDF script (pnpm generate:resume) produces a single-page vector PDF at public/resume.pdf synchronized with the portfolio.
  • Cloudflare Pages Resend Contact Function: functions/api/contact.ts validates submissions and dispatches mail through the Resend API using RESEND_API_KEY (and optional RESEND_FROM_EMAIL) configured in Cloudflare Pages environment variables.