React + TypeScript app powered by Vite.
Live site: https://prateeksrt.github.io/prateeksrt/
Pushes to main build the app and deploy dist/ to GitHub Pages via .github/workflows/deploy-pages.yml.
- Node.js 20+ (22 recommended)
- npm 10+
npm install
npm run devOpen the URL shown in the terminal (usually http://localhost:5173).
| Command | Description |
|---|---|
npm run dev |
Start the Vite dev server with HMR |
npm run build |
Type-check and build for production |
npm run preview |
Preview the production build locally |
npm run lint |
Run ESLint |
npm run typecheck |
Run the TypeScript compiler without emitting files |
βββ public/ # Static assets
βββ src/
β βββ App.tsx # Root React component
β βββ main.tsx # App entry point
β βββ theme.css # Colors, type, space, motion, reusable classes
β βββ index.css # Reset and page canvas
β βββ App.css # Page layout (hero, about)
βββ index.html
βββ vite.config.ts
βββ tsconfig*.json
Visual language lives in src/theme.css. New pages and sections should use those tokens and classes (.section, .prose, .display, .headline, .lede, .btn, .rise-in) instead of introducing new colors or type styles.
Cursor agents follow this automatically via .cursor/rules/site-theme.mdc and AGENTS.md.
- React 19
- TypeScript
- Vite 8
- ESLint


