This is a single-page portfolio for YAASH with:
- Dark theme, animated UI
- In-page modals for projects with lazy-loaded images
- Accessible modal basics (focus trap, Escape to close)
- Placeholder images in
assets/
index.html— main siteassets/— placeholder images used by modalsREADME.md— this file
- Unzip the archive.
- Open
index.htmlin your browser.- For full functionality (smooth scrolling, file:// still works for most, but it's recommended to serve via a local server):
# Python 3 python -m http.server 8000 # then open http://localhost:8000
- For full functionality (smooth scrolling, file:// still works for most, but it's recommended to serve via a local server):
- Create a new repository on GitHub and push these files to the
mainbranch. - Go to repository Settings → Pages.
- Under "Source", select the
mainbranch and/ (root). - Save. Your site will be published at
https://<username>.github.io/<repo>/within a minute or two.
- Images inside modals are lazy-loaded: the
srcis set only when a modal opens. - To improve performance further:
- Replace placeholder PNGs with optimised WebP images.
- Serve images from a CDN.
- Use a build step to generate multiple sizes and
srcset.