Source for souravas.com. Vanilla HTML / CSS / JS built with Vite — no framework. GitHub Actions builds and deploys to GitHub Pages on every push to main.
npm install
npm run dev # dev server on http://localhost:5173
npm run build # production build → dist/
npm run preview # preview the production buildPushes to main are built and deployed automatically via .github/workflows/deploy.yml using actions/deploy-pages. Pull requests run the build only. To trigger a deploy manually, use Run workflow on the Actions tab.
- Local dev: http://localhost:5173
- Production: https://souravas.com
- Page versions:
/serves v1 by default;/v1,/v2, and/v3open each design explicitly - Resume redirects:
/cv,/resume→/assets/resume.pdf
souravas.github.io/
├── v1/ # default design (also served at /)
│ ├── index.html
│ ├── main.js
│ └── style.css
├── v2/ # "Systems Ledger" design, served at /v2
│ ├── index.html
│ ├── main.js
│ ├── style.css
│ └── fonts/
├── v3/ # "Control Room" design, served at /v3
│ ├── index.html
│ ├── main.js
│ ├── style.css
│ └── fonts/
├── public/ # copied verbatim into the build
│ ├── CNAME # custom domain
│ ├── 404.html # static 404 served by GitHub Pages
│ ├── manifest.webmanifest
│ ├── robots.txt
│ ├── cv.html, resume.html # meta-refresh → /assets/resume.pdf
│ ├── fonts/ # v1 fonts
│ └── assets/ # images + resume.pdf
├── vite.config.js # multi-page build, root default copy, CSP hashing, sitemap, dev routes
└── .github/workflows/deploy.yml
- Live site: https://souravas.com
- Repository: https://github.com/souravas/souravas.github.io