Personal portfolio site for Adit Singh, built as a static Vite + React + TypeScript site and deployed with GitHub Pages.
Live site: https://AditSingh10.github.io
- Vite
- React
- TypeScript
- Tailwind CSS
- Vitest and Testing Library
- GitHub Actions for Pages deployment
Install dependencies:
npm installStart the local dev server:
npm run devRun tests:
npm testRun lint:
npm run lintBuild the static site:
npm run buildPreview the production build:
npm run previewPortfolio content lives in src/data/portfolio.ts. The current site uses resume-backed content plus public GitHub project links. LinkedIn is used as an outbound link only.
The current resume PDF is intentionally not published because it includes a phone number. To add a public resume later:
- Create a public-safe PDF without private contact details.
- Add it to
public/resume.pdf. - Set
resumeUrl: '/resume.pdf'insrc/data/portfolio.ts. - Run
npm testandnpm run build.
This repository is named AditSingh10.github.io, so GitHub Pages serves it at the user-site root:
https://AditSingh10.github.io
Deployment is handled by .github/workflows/deploy.yml. On every push to main, the workflow:
- Installs dependencies with
npm ci. - Runs
npm test. - Builds the static site with
npm run build. - Uploads
dist/to GitHub Pages.
The Vite base path is /, which is correct for a GitHub Pages user site.