Astro-based static portfolio for medical-device test engineering, hardware validation, reliability, and automation work. The production site is built as a validated artifact and deployed to GitHub Pages.
Requirements:
- Node.js 24 or newer
- pnpm 11
pnpm install --frozen-lockfile
pnpm devThe development server is available at http://127.0.0.1:4321 by default.
Project records live in src/content/projects/*.json and are validated by the Astro schema in src/content.config.ts plus scripts/validate-content.ts.
Each project records its role, context, outcome, tools, legacy path, narrative sections, media metadata, and public artifacts. Informative media must include meaningful alternative text. Featured projects additionally use ranks 1 through 5.
Certifications are modeled in src/content/certifications.json. Keep the array empty until a credential has a public name, issuer, issue date, and verification URL. No certification route is generated automatically.
Profile, experience, skills, education, coursework, navigation, and contact content live in src/data/. These files intentionally contain no phone number or location.
Replace only:
public/resume/sitanshu-d-resume.pdf
The URL remains /resume/sitanshu-d-resume.pdf. Keep phone and location details inside the PDF only. Do not parse the PDF into website copy; review and update the typed public content separately.
Deployable media lives under src/assets/media/projects/. Use evidence-owned source material only. Add static AVIF/WebP posters for cards; reserve video for user-initiated playback with a local poster and preload="none".
The Linear Actuator Test Bench uses a semantic HTML/CSS architecture diagram, not generated technical evidence.
pnpm check
pnpm lint
pnpm build
pnpm test:html
pnpm test:links
pnpm test:external-links
pnpm test:e2e
pnpm test:a11y
pnpm lighthousePlaywright covers Chromium, Firefox, and WebKit. The test contract includes responsive widths from 320 to 1,024 pixels, WCAG 2.2 A/AA checks, metadata, legacy routes, the canonical PDF, and zero eager third-party requests.
.github/workflows/ci.yml runs quality gates for pull requests and main. .github/workflows/deploy-pages.yml deploys the exact successful main commit through GitHub's Pages artifact workflow.
Before the first deployment, change the repository's Pages source to GitHub Actions in repository settings. Do not deploy directly from the branch root.
The rollback baseline for this redesign is the local tag pre-astro-redesign-2026-08-12 at commit 27a8fb9.