anacatalina-cv (Bilingual Personal Site)
My résumé as a bilingual website with dark mode, plus a downloadable PDF generated by printing HTML templates with the browser's headless engine.
The Problem
Many hiring processes still rely on a faithful downloadable PDF alongside a readable website — but pulling in a heavy PDF-generation library (Puppeteer and the like) is a build-time and dependency cost that isn't always worth paying.
The Solution
A bilingual (ES/EN) Astro site with dark mode and scroll animations, plus a script that renders dedicated print-ready HTML templates using the headless Chrome or Edge engine already installed on the machine (--print-to-pdf). It acts as the ecosystem's Single Source of Truth (SSOT) for professional background and technical taxonomy, protected by an automated GitHub Actions CI/CD pipeline, repository activity audits (audit:activity), and CV data integrity checks (audit:integrity).
Key Learnings
- Generating print-ready PDFs from HTML/CSS with
@pagerules, driving the locally installed headless browser instead of pulling in Puppeteer or another PDF library. - Interactive skill lenses: Dynamic faceted filtering across technical skill domains on the professional profile, paired with streamlined print templates.
- Reusing a shared design system (pastel-tech palette with electric violet and crystal aqua, typography, and 3D glass AC monogram) across personal sites speeds up spinning up a new one without redesigning from scratch.
- Single source of truth in TypeScript (
src/data/cv.ts): centralizing all bilingual content in one typed file that powers both the interactive site and the print templates, with a build step that automatically verifies the strict 2-page budget and ATS-parser compatibility before publishing the PDFs. - Data Governance & CI/CD Quality Pipeline: Centralizing career history and technical skills in TypeScript as an upstream formal contract powering the MCP server, with CI gates enforcing dependency lock reproducibility (
npm ci), strict 2-page print layout, and ATS compliance.
A résumé that’s a website, not just a PDF
The site is built with Astro, with bilingual content (i18n.js) and a language/dark-mode toggle, meant to read comfortably on screen rather than simulate a sheet of paper.
- No PDF dependencies: the download button doesn’t use Puppeteer or any library — a build script launches the headless browser (Chrome or Edge) already installed on the machine and prints dedicated HTML templates to
public/ACVC_es.pdf/public/ACVC_en.pdf. - Dedicated print templates: those HTML+CSS templates (
@page, print typography) are independent from the web markup, so each format — screen vs. paper — is optimized on its own. - Shared design system: it shares its pastel-tech palette (electric violet and crystal aqua) and typography with my homepage and with this very portfolio, documented in a common
DESIGN_SYSTEM.md.
